Kevin Payravi
ecc764ddf7
Fix for Yandex filtering
...
uBlock Origin seems to change class names, so adding a new selector that relies on elements+attribute
2024-04-18 20:36:51 +02:00
Kevin Payravi
de130b1a79
Check for removal of new link
...
Qwant can sometimes remove the new link button but leave the ancestor iwb-detected class intact.
2024-04-18 20:31:22 +02:00
Kevin Payravi
c3e7339019
Update function names
...
Removing underscores; I'm fine with marking private functions, but I'd like to make it consistent across the codebase
2024-04-18 20:27:00 +02:00
Kevin Payravi
97e7a8283b
Update comment
2024-04-18 20:25:11 +02:00
Kevin Payravi
b72ae4e5c1
main -> startFiltering
2024-04-18 20:24:58 +02:00
Kevin Payravi
3f1efe7e06
Remove logs
2024-04-18 20:24:11 +02:00
Kevin Payravi
618837099e
Fix callback for MutationObserver
2024-04-18 20:23:33 +02:00
Kevin Payravi
998bb7b8eb
Update search engine toggle / Fix storage
...
Need to wrap storage retrieval in a promise for Firefox manifest v2. Also setting API variable based on browser.
2024-04-18 19:46:27 +02:00
Kevin Payravi
1c4ae5ff8f
More reliable element detection for search result re-ordering
2024-03-22 03:23:50 -05:00
Jayden
39e44da293
Re-order indie wiki results in Google
2024-03-21 00:09:18 -05:00
James McKee
052bb27887
Support custom search engine URLS, currently SearXNG and Whoogle
2024-03-18 03:03:37 -05:00
Kevin Payravi
cd7c4df9a7
Support for destination suffixes
...
A suffix that is added to the end of article names before performing a search on the destination wiki. This is typically used when a multilingual wiki separates its languages by suffixes (e.g. /es, /pt, etc.). Team Fortress Wiki is an example that uses this.
2024-03-13 03:01:41 -05:00
Kevin Payravi
59b6e17e69
Formatting files
2024-02-27 03:43:55 -06:00
Kevin Payravi
a66f3c91a8
Removing Object.prototype functions
...
Improve compatibility across browsers + not a best practice
2024-02-27 02:55:41 -06:00
Autumn McKee
cee24440b7
Also filter URLs in "Quick Peek" section
2024-02-22 02:32:03 -06:00
Autumn McKee
4ca39ec1c3
Search filtering for Kagi
2024-02-22 02:32:03 -06:00
Kevin Payravi
4110506c8a
Removing console log
2024-02-18 01:59:38 -06:00
Kevin Payravi
851b7167ac
Accounting for tracking links for Yahoo filtering
...
Yahoo search results sometimes have tracking URLs (r.search.yahoo.com/). This commit extracts the embedded original URL as needed.
2024-02-18 01:57:59 -06:00
Kevin Payravi
d309be7410
Also filtering image result links in Yandex
2024-02-18 01:06:03 -06:00
Kevin Payravi
47b42b8af5
Adding support for alternative Yandex domains
2024-02-18 00:59:11 -06:00
Kevin Payravi
dff009d2ff
Implementing search filtering on Yandex
2024-02-18 00:41:06 -06:00
Kevin Payravi
27f66f17c0
Adding checks
2024-02-17 14:32:12 -06:00
Kevin Payravi
46f3b88a9d
Qwant search filtering support
...
Co-authored-by: Snootiful <denniskok@fastmail.com>
2024-02-17 02:16:30 -06:00
Kevin Payravi
fbc48e58cf
More specific domain selectors in search filtering
2024-02-17 01:22:08 -06:00
Kevin Payravi
3b2e354639
Updating code and manifests to include Neoseeker
2024-02-16 23:51:16 -06:00
Kevin Payravi
77d68b0c3e
Tuning Bing filtering to avoid capturing too much
...
A single Bing search result can often contain links to many different websites. Before, if any one of these links was a link to Fandom, the entire result would be disabled (even if the top-level result was an indie wiki). With this commit, only top-level (header) links are captured, and disabling CSS is not applied to "explore further" links.
2024-02-12 02:04:20 -06:00
Kevin Payravi
ac91d586b8
Compressing wiki settings
...
Browser sync storage has a 8kb limit per item, which we are quickly approaching. Compressing our wiki settings JSONs reduces storage from ~7.3kb to ~2.4kb.
2024-02-08 02:34:53 -06:00
Kevin Payravi
356363d4a0
Improve search filtering, esp. on Google and Bing
...
For Google, fixed issue with filtering on Google's country-TLDs, and improved selectors for identifying link results. This includes a function to identify the closest possible result container. For Bing, fixed an issue for when anchor tags don't have an href attribute.
2024-02-04 04:19:09 -06:00
Kevin Payravi
237840c115
In search, replace plus signs in Fextra results with spaces
2024-01-29 00:37:33 -07:00
Kevin Payravi
3d35c31d77
In Bing, use decoded obfuscated URL for filtering
2024-01-26 04:10:23 -07:00
Kevin Payravi
8242e203e4
Fixes and improvements for Bing filtering
...
Resolves issue with Bing truncating links
2024-01-24 03:18:19 -07:00
Kevin Payravi
551c36d06f
Prop name fixes in search filtering
2024-01-11 20:02:09 -06:00
Kevin Payravi
6b5c593f46
Rm unused constants
2024-01-11 03:01:15 -06:00
Kevin Payravi
9992d2ccf1
Query param handling fixes + other cleanup
2024-01-11 02:53:30 -06:00
Kevin Payravi
3919fbc913
Moving more common functions into shared file
2024-01-10 23:40:59 -06:00
Kevin Payravi
8f54b122e7
Moving pages and scripts into subfolders
2024-01-10 22:27:23 -06:00