Commit Graph

717 Commits (7e1beaa21cf3b43af8e6f965749c8e33b4698acb)

Author SHA1 Message Date
Kevin Payravi 7e1beaa21c
Rename crowdin.yml to .crowdin.yml 2024-07-24 05:47:39 -05:00
Kevin Payravi 25782460dc Using ellipsis instead of three dots 2024-07-24 02:40:29 -07:00
Kevin Payravi 76cbfeab06 Move banner text icon from translation file 2024-07-24 01:53:07 -07:00
Kevin Payravi 67c46920fa Move banner text icons from translation file 2024-07-24 01:41:49 -07:00
Kevin Payravi 8646f301c0 Update Crowdin configuration file 2024-07-24 05:58:18 +01:00
Kevin Payravi 2221d98dc9 Moving change observer to beginning of filtering
Adding the change observer after the initial filter occurs seems to be able to cause race conditions, particularly on Startpage. This commit moves the change observer addition to the beginning of the filtering function. The downside is that adding the change observer before filtering starts isn't ideal, since filtering manipulates the DOM and can trigger a re-check.
2024-07-23 17:02:19 -07:00
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