Commit Graph

711 Commits (fb202486dc29a9685f73d3522f0bd40666408140)

Author SHA1 Message Date
Kevin Payravi fb202486dc Apply parentNode to all Google search results
Need to apply to all for consistency between the three interactions (hiding / replacing / re-ordering)
2024-07-23 16:25:53 -07:00
Kevin Payravi b1a3110c70 Adjust logic for checking/applying iwb-detected
Change in logic required due to passing search result container parentNode when replacing Google search results
2024-07-23 03:13:09 -07:00
Kevin Payravi 1affa19c9c Using parent node for Google search results
When hiding or replacing Google search results, we now use the search result container's parentNode. This avoids some UI conflicts and issues, particularly when injecting the replacement button.

For Google search result re-ordering, we still use the original search container w/o the parent node.
2024-07-21 01:40:25 -07:00
Kevin Payravi 1b0fc20eaa Rv recent Google filter adjustments; not reliable
The .MjjYud class is sometimes applied on individual results, and other times for the div surrounding all results on a page.
2024-07-20 03:17:40 -07:00
Kevin Payravi fda94b8be5 Improvements to Google selectors 2024-07-20 02:57:42 -07:00
Kevin Payravi d49b5c7d32 Adding FR Inkipédia 2024-07-19 23:49:24 -07:00
Kevin Payravi 9bc50898a4 Add SV count to README 2024-07-19 03:03:05 -07:00
Kevin Payravi 5a674ffc34 Optimizing favicons 2024-07-19 03:01:28 -07:00
Kevin Payravi cae41892d5 Adding Space Engineers Wiki 2024-07-19 03:00:23 -07:00
Kevin Payravi 66e4b1ae82 Add Bleed Wiki 2024-07-19 02:58:07 -07:00
Kevin Payravi b3c96a6cef Add settingsLangSV to locales 2024-07-19 02:53:20 -07:00
DrWhoFan13 f3e73da8d1
Adding support for Swedish wikis + Swedish Wikisimpsons 2024-07-19 04:49:56 -05:00
Kevin Payravi 1a908257fd Optimizing favicons 2024-07-19 02:48:39 -07:00
Kevin Payravi dbc4ea1d2d Add Summitpedia (Anton) and Medapedia (Medabots) 2024-07-19 02:47:52 -07:00
Kevin Payravi a993538e8b Detect Google container class for search filtering
Adding a check for div.MjjYud when injecting redirect button into Google search results. This helps resolve UI issues with non-traditional search results (like video results).
2024-07-19 01:24:28 -07:00
Kevin Payravi e1096825c5 Fix for outputting search removal notice banner
Broke during the i18n migration
2024-07-19 01:23:01 -07:00
Kevin Payravi e34b1ce5d5 Google re-ordering fix for edge case
Google will insert the user's searches into some of their meta links. If the user does a Google search for a non-indie domain (e.g. mario.fandom.com), that domain can appear in those Google meta links and cause IWB to detect them. By filtering out links that start with /search, we avoid capturing these.
2024-07-18 04:07:14 -07:00
Kevin Payravi ed3f4a371d Syntax and wording fixes 2024-07-18 03:27:43 -07:00
Kevin Payravi b54fd36cd0 Adding destination_host to Paradox wikis 2024-07-18 03:21:31 -07:00
Kevin Payravi 51a82a169d Rework banner description
Re-word to enable easier translations to other languages, by placing the host name later in the message
2024-07-18 03:21:22 -07:00
Kevin Payravi 7960f8ae25 Add destination_host for newer additions 2024-07-18 02:35:46 -07:00
SnorlaxMonster 6cb81fd193
Display all wikifarm hosts in the redirect banner (#737)
Instead of storing the destination wiki's host as a tag, move it to a dedicated "destination_host" property.
2024-07-18 04:32:58 -05:00
SnorlaxMonster 2b14da434b
Remove reliance on platform to construct URLs (#738)
Refactor code that depends on the destination wiki's platform in order
to support generic wiki platforms (e.g. Wikidot).

Redirection to the Main Page now uses the destination_content_path to
send users directly to the destination wiki's main page, rather than
using a different URL depending on the destination wiki's software.

The only remaining code that depends on the destination wiki's software
is the construction of the search path. This code now has a default case
that doesn't add any software-specific path to a constructed search URL.
This allows any wiki, regardless of the software it runs on, to be
added by putting its full search path in the "destination_search_path"
property of the redirect definition.

As a result of these changes, it is now possible to add redirects to
Wikidot wikis, by just defining the full search path in their redirect
entry's "destination_search_path".

Co-authored-by: SnorlaxMonster <snorlaxmonster@users.noreply.github.com>
2024-07-18 04:00:34 -05:00
Kevin Payravi f4c5ca10d2 Add Gimkit Wiki 2024-07-18 01:55:41 -07:00
Kevin Payravi e710e09a0c
Updating Pizza Tower Wiki URL 2024-07-09 02:42:15 -05:00
DrWhoFan13 4d92e7cea9
Added RLCraft wiki.gg 2024-07-07 14:30:52 -05:00
DrWhoFan13 3a97c9fae8
Added Cities Skylines 1 & 2 Wikis, Russian Portal Fandom Redirect and Doctor Who Fandom Redirects 2024-07-03 21:11:38 -05:00
SnorlaxMonster bcbf6e99ed
Add Chibi-Robo! Wiki 2024-07-03 21:09:50 -05:00
Mysthaps 29e7eebf54
Add Limbus Company Wiki (#740) 2024-07-03 07:12:59 +01:00
Dianliang233 4d9243aab7
Allow i18n for the extension (#716) 2024-06-29 05:20:53 -05:00
DrWhoFan13 a27ab02b6e
Added Toontown wiki.gg & additional Baldur's Gate 3 redirect 2024-06-25 22:08:43 -05:00
DrWhoFan13 f99bb686cc
Added Hybrid Animals Wiki.gg 2024-06-24 14:35:43 -05:00
Soydough 40c6a95b28
Add Star Stable Wiki 2024-06-23 19:19:17 -05:00
DrWhoFan13 5a4d839988
Fixed Origin Label for Clash of Clans & deleted Heroes Wiki favicons 2024-06-22 14:33:55 -05:00
DrWhoFan13 546e47e0bb
Added Russian SCP: SL Redirect, Spanish Clash of Clans Wiki.gg, and new Mario Redirects 2024-06-22 01:51:21 -05:00
Pretztea 90350e56ad
Added Poupedia 2024-06-21 09:56:58 -05:00
DrWhoFan13 5fdf117c8b
Added additional Ark wiki.gg redirect, FR & DE Lethal Company redirects, and Animal Well wiki.gg redirect 2024-06-19 02:04:11 -05:00
Kevin Payravi bb156dd10d Optimizing favicons 2024-06-16 17:52:57 -04:00
Kevin Payravi 74f2adcf53 Alphabetizing 2024-06-16 17:52:32 -04:00
Kevin Payravi b848238ce4 Adding SilentBlue 2024-06-16 17:51:56 -04:00
Kevin Payravi 574bddae1d Adding additional origins for RemyWiki 2024-06-16 17:47:57 -04:00
Kevin Payravi 19aed727a6 Add Leviathan Myth Wiki 2024-06-16 16:54:14 -04:00
Kevin Payravi 9c6a7baf8c Add Roblox Pressure Wiki 2024-06-16 16:52:58 -04:00
DrWhoFan13 92410d2e10
Added Russian Rain World & Space Station 14 Redirects 2024-06-14 12:23:40 -05:00
Kevin Payravi 36b34ec55a Wrap article encoding in try-catch
We wrap in a try-catch as decoding can sometimes fail if destination article does have special characters (e.g. %) in the title.
2024-06-11 07:12:42 -04:00
RVxLab 3395aea9e9
Add Plague Inc. wiki 2024-06-11 00:28:46 -05:00
SnorlaxMonster 029dd60a0d
Put search engine CSS in stylesheet
Instead of injecting CSS rules into the original page's stylesheet,
store the IWB styles in a CSS file and add that file to the manifest
scripts.
2024-06-11 00:27:56 -05:00
SnorlaxMonster 4f6d09d832
Share filtering code between search engines
Ensure all search engines use the same code to filter which search results are results for supported non-indie wikifarms. This also fixes an apparent oversight where Qwant was not redirecting Neoseeker search results.
2024-06-08 13:52:50 -05:00
Kevin Payravi 9b82b7e3cd Version 3.8.0 2024-06-07 01:20:25 -04:00
Kevin Payravi f22c435c90 Optimizing favicons 2024-06-07 01:17:53 -04:00