Commit Graph

30 Commits (cd6e924908f9a1438a8f97eaee2b63d3569e6e16)

Author SHA1 Message Date
Kevin Payravi cd6e924908 Migrating Firefox manifest to v3 / Moving common functions into separate files 2024-01-10 03:21:47 -06:00
Kevin Payravi f711d6f945 Accounting for plus signs in Fextra article names + encoding article titles 2024-01-07 05:57:25 -06:00
Kevin Payravi d30b8434de Removing query params for article name detection 2024-01-07 05:14:10 -06:00
Kevin Payravi 884fe62457 Adding support for content prefixes in origins 2024-01-07 04:27:57 -06:00
Kevin Payravi 6519d31d52 Removing content prefix from main page redirects 2024-01-07 04:18:55 -06:00
Kevin Payravi e314db56c9 Better handling of main page redirection
For main pages, DokuWiki page title is now set to empty string to take the user directly to the main page. In addition, for main pages in search engine results, the button text is cleaner ("Visit X Wiki instead").
2024-01-07 04:01:46 -06:00
Kevin Payravi 8b4b40168a Add option for BreezeWiki banner 2024-01-06 18:12:01 -06:00
Kevin Payravi 5fb980f4da Rm header injection for BreezeWiki / Removing IWB promo + duplicative notices from BreezeWiki 2024-01-04 02:36:26 -06:00
Kevin Payravi b4e17af2a7 In search queries, replace underscores with spaces
Spaces perform better with the default search engines in both MediaWiki and Doku
2023-12-20 02:58:54 -05:00
Kevin Payravi 472c05317f Improvements and fixes for link matching 2023-12-19 04:06:14 -05:00
Kevin Payravi f91d8600e2 Adjusting redirect banner desc based on tags 2023-12-18 00:34:37 -05:00
Kevin Payravi a476c3d8e9 Converting traditional functions to arrow 2023-12-13 04:10:55 -06:00
Kevin Payravi d477317467 Optional chain for BreezeWiki custom host check 2023-12-13 03:41:04 -06:00
Kevin Payravi 7c64890ec1 Searching via search path + capturing main pages
This includes updating all wiki data to include the origin and destination main page names, as well as destination search path
2023-12-12 04:03:31 -06:00
Kevin Payravi 9922585ff1 Adding Russian category + Russian Minecraft Wiki 2023-12-06 19:50:16 -06:00
Kevin Payravi a5cf95a620 Custom BreezeWiki hosts + removing webRequestBlocking
webRequestBlocking was used for adding headers to BreezeWiki requests in Firefox, but is no longer needed as Firefox now supports declarativeNetRequest
2023-11-26 22:00:08 -05:00
Kevin Payravi d439a6f3f2 Fix location detection for Chrome + error handling 2023-11-18 02:39:04 -05:00
Kevin Payravi 61536a5af9 Split repeat BreezeWiki code into new function 2023-11-18 00:34:26 -05:00
Kevin Payravi 825cc8d67d Adding Ukrainian Minecraft Wiki 2023-11-16 04:34:18 -06:00
Kevin Payravi 46e749663e Updating lang arrays across JS files 2023-11-16 04:30:56 -06:00
Kevin Payravi f8b085ced1 More robust setting checking for banners 2023-11-06 01:20:33 -06:00
Kevin Payravi 333ebd71e7 Adding ability to redirect non-EN Fandom wikis to EN / Quick fix for pre-rendered webRequests 2023-11-05 00:52:22 -05:00
Kevin Payravi fe9a4a134b Simplify and fix siteSetting instantiation 2023-11-04 13:50:10 -05:00
Kevin Payravi f3ecae7a83 Splitting data into two separate items + adding migration to settings.js
The reason for splitting the data into two items is that Chrome limits each item's sync storage to just 8 kb.
2023-11-04 02:54:41 -05:00
Kevin Payravi e26e8b39c2 Check that banner isn't already in DOM before adding 2023-09-21 01:44:50 -05:00
Kevin Payravi b9a19ed65e Rework banner insertion and removing event listener 2023-09-21 01:37:17 -05:00
Kevin Payravi e804c8c18f Replacing + with _ for Fextralife wikis 2023-09-07 01:27:07 -05:00
Kevin Payravi a9b887eece innerText -> textContent 2023-08-07 02:44:21 -04:00
Kevin Payravi 3bc9dd088b Adding new BreezeWiki host 2023-07-26 13:04:29 -05:00
Kevin Payravi 4ad90da8bf Splitting content.js (one file for search filtering, other for banners) 2023-07-25 01:17:46 -05:00