Compare commits
2 Commits
411763ca14
...
ac2db4e352
Author | SHA1 | Date |
---|---|---|
Kevin Payravi | ac2db4e352 | |
Kevin Payravi | 096a870719 |
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "Indie Wiki Buddy",
|
"name": "Indie Wiki Buddy",
|
||||||
"version": "3.7.0",
|
"version": "3.7.1",
|
||||||
"description": "Indie Wiki Buddy helps you discover quality, independent wikis through alerts, redirects, and search filtering.",
|
"description": "Indie Wiki Buddy helps you discover quality, independent wikis through alerts, redirects, and search filtering.",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"storage",
|
"storage",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "Indie Wiki Buddy",
|
"name": "Indie Wiki Buddy",
|
||||||
"version": "3.7.0",
|
"version": "3.7.1",
|
||||||
"description": "Indie Wiki Buddy helps you discover quality, independent wikis through alerts, redirects, and search filtering.",
|
"description": "Indie Wiki Buddy helps you discover quality, independent wikis through alerts, redirects, and search filtering.",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"storage",
|
"storage",
|
||||||
|
|
|
@ -673,7 +673,7 @@ function startFiltering(searchEngine, storage, mutations = null, observer = null
|
||||||
let searchResults = document.querySelectorAll("div[data-hveid] a:first-of-type:not([role='button']):not([target='_self'])");
|
let searchResults = document.querySelectorAll("div[data-hveid] a:first-of-type:not([role='button']):not([target='_self'])");
|
||||||
|
|
||||||
// Remove any matches that are not "standard" search results - this could've been done with :has() but limited browser support right now
|
// Remove any matches that are not "standard" search results - this could've been done with :has() but limited browser support right now
|
||||||
searchResults = Array.from(searchResults).filter((e) => !e.closest('g-section-with-header, div[aria-expanded], div[data-q], div[data-minw], div[data-num-cols]'));
|
searchResults = Array.from(searchResults).filter((e) => !e.closest('g-section-with-header, div[aria-expanded], div[data-q], div[data-minw], div[data-num-cols], div[data-docid], div[data-lpage]'));
|
||||||
|
|
||||||
return await reorderSearchResults(searchResults, 'google', storage);
|
return await reorderSearchResults(searchResults, 'google', storage);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue