Commit Graph

15 Commits (fb86cc1f18c7a124f7d92a5a2d66c1fe09ad757c)

Author SHA1 Message Date
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