Commit Graph

24 Commits (31593453491ca76ce3e31a6f10d9f006dbbf6ef9)

Author SHA1 Message Date
Kevin Payravi 383c73ec5b Reword re-enable button for search engine filter 2023-11-02 03:41:33 -05:00
Kevin Payravi 6915cef4ad Adding link to re-enable replaced results 2023-11-02 03:35:34 -05:00
Kevin Payravi 32c9ea5f1b Adding per-wiki search engine settings / Revamping settings UI 2023-11-02 03:12:35 -05:00
Kevin Payravi 7c091198ca Adding new search filtering experience
For search engines, non-indie wiki results are now disabled, and a button to the indie wiki is inserted above it. The option to completely hide non-indie results is still available as an option.
2023-10-16 01:47:02 -04:00
Kevin Payravi 091d36b1a7 More robust search filtering on mobile Google 2023-09-24 23:09:55 -06:00
Kevin Payravi e9a817485c In search banner, rm excess CSS + adjust button font size 2023-09-18 02:41:42 -05:00
Kevin Payravi 3af0d6c1f8 Updating Brave search filtering selectors 2023-09-18 02:04:31 -05:00
Kevin Payravi 2640482aab Add check for Google images 2023-09-03 12:54:57 -06:00
Kevin Payravi 8c1405a43a More reliable Google filtering
Some Google text results had jsactions; to avoid filtering image results, ignore links with button role or target
2023-09-01 00:04:15 -06:00
Kevin Payravi fb86cc1f18 Adjust search filter URL matching
Need to check for exact match on base URL to account for Bing, which strips the path
2023-08-31 23:05:03 -06:00
Kevin Payravi e0a0656e10 Fix for hidden search results class names
Only allow alphanumeric characters
2023-08-30 23:16:15 -06:00
Kevin Payravi 7f505babbe For search engine filtering, attempt to match content path 2023-08-30 23:12:59 -06:00
Kevin Payravi 9cc7a41281 Adjust Google selector to fix image results issue 2023-08-17 00:38:52 +08:00
Kevin Payravi 68fc3bb225 Adding language for non-EN search filter banners 2023-08-09 02:06:50 -05:00
Kevin Payravi 08d9b3ff65 Adjusting Yahoo filtering to ignore img galleries 2023-08-09 02:02:12 -05:00
Kevin Payravi e79091df8e Bug fixes for search engine filtering
Fixed URL matches on encoded links, and fixed issue displaying wikis that have multiple origins
2023-08-09 01:57:43 -05:00
Kevin Payravi f526bfe862 Adding support for Yahoo search filtering 2023-08-08 01:33:23 -05:00
Kevin Payravi 9d76bb3dcc Clear stray logs 2023-08-07 02:49:24 -04:00
Kevin Payravi 83643a5fff Removing commented code + reload link 2023-08-07 02:43:54 -04:00
Kevin Payravi 451bb15446 Improving search filter syntax, styling, and text 2023-08-07 02:43:23 -04:00
Kevin Payravi 39b509e956 Revamping search engine filtering
Instead of replacing non-index results with text, the results are now completely hidden. A banner at the top of the page informs the user of the filtering. Users can click buttons to reveal the non-indie results or disable search filtering for that wiki.

Also fixed issue with Ecosia filtering that would conflict with Ecosia's own JavaScript.

Also did some code cleanup and improvements to listeners.
2023-08-04 01:50:12 -04:00
Kevin Payravi c09b8958a2 Adjusting search filter regex
Resolves issue with filtering results in HTML DuckDuckGo
2023-07-26 12:53:16 -05:00
Kevin Payravi 1f58ab80f2 Adding check for interactivity on search filtering 2023-07-25 03:47:22 -05:00
Kevin Payravi 4ad90da8bf Splitting content.js (one file for search filtering, other for banners) 2023-07-25 01:17:46 -05:00