Commit Graph

428 Commits

Author SHA1 Message Date
ManeraKai 6ca48a6051
Removed cloudflare instances & disabled YT Music by default #218 2022-05-04 22:46:21 +03:00
ManeraKai a28cccfde0
Simplified code. Removed pixivMoe, old.reddit.com #239 2022-05-04 13:59:37 +03:00
ManeraKai a78d6cdd04 Restructuring and simplifying code #229 2022-05-03 16:45:29 +03:00
ManeraKai 933a37bd90
Fix cookies not creating on incognito windows #153 2022-04-30 12:34:38 +03:00
ManeraKai 0e817629d3 Removed startpage as it has an extension #222 2022-04-27 20:51:07 +03:00
ManeraKai eb1d01b063
Added proxiTok settings #197 2022-04-27 19:51:34 +03:00
ManeraKai cd0596c2eb
Improving code structure. Added libreddit settings #192 2022-04-25 18:48:39 +03:00
ManeraKai 1c5ff30f26
Modified some regex. Removed yahoo, ecosia #199 2022-04-18 18:41:56 +03:00
ManeraKai 8b88d53dee
Added support for yahoo, bing, yandex, ecosia #199 2022-04-18 11:32:20 +03:00
ManeraKai b657b1ae2b
Adding Raw Link Copy feature #165 2022-04-18 10:25:50 +03:00
ManeraKai 0c60dac4c6 Opening the offline redirection page if redirection failed 5 times #201 2022-04-18 08:06:33 +03:00
ManeraKai f17463a9ea
Added latency test #134 2022-04-17 15:27:21 +03:00
ManeraKai 182fe4e304
Finished Pug structure 2022-04-15 17:27:31 +03:00
ManeraKai 7cc326eb65 Still makin Pug structure. Finished adding LibreSpeed #170 2022-04-15 00:26:11 +03:00
ManeraKai 0f30806ef5 Adding speedtest #170. Adding Pug templates structure
Signed-off-by: ManeraKai <manerakai@protonmail.com>
2022-04-14 17:13:41 +03:00
ManeraKai a2c9d1f50c
Fix contextMenus not working on chromium 2022-04-14 02:53:47 +03:00
ManeraKai 61b2cc990f
Added 502 for auto redirecting #99 2022-04-13 23:51:23 +03:00
ManeraKai d207ff2a34
Added seperated theme setting for Piped #147 2022-04-13 23:20:55 +03:00
ManeraKai 1b6d6fa802 Added more invidious settings #142 #147 2022-04-13 22:59:36 +03:00
ManeraKai efc52079a1
Added custom instance to FacilMap #139 2022-04-13 21:35:09 +03:00
ManeraKai 7123f7fe27 Merge branch 'master' of https://github.com/libredirect/libredirect 2022-04-13 20:21:51 +03:00
ManeraKai 12e352b6b3
Added Nitter settings #138 2022-04-13 20:21:32 +03:00
BobIsMyManager f05e1b996a
I2P support for search, Imgur and Wikipedia (#189) 2022-04-13 17:51:36 +03:00
ManeraKai 5d4377c081
Restructuring Settings Structure 2022-04-12 02:27:39 +03:00
ManeraKai cb5ce455f0
Fixed typo in get_instances.py. Fixed settings page width #163 2022-04-10 20:44:07 +03:00
ManeraKai 6de0504132
Uncommented a code for fetching from data.json in sendTargets #174 2022-04-10 20:11:52 +03:00
ManeraKai d731d94a2d
Seperated SearX and SearXNG in code #120 2022-04-03 22:20:26 +03:00
ManeraKai a64f91b1f7
Tweaked a thing #164 #161 2022-04-03 15:23:52 +03:00
ManeraKai 0e889c2d42
Restructured exceptions to behave in another way #164 #161 2022-04-03 13:55:54 +03:00
ManeraKai 5a2d4009cb Fixed some branch merging issues. Bump version => 1.6.2 2022-04-02 19:59:49 +03:00
ManeraKai d7099041b2
Fixed some typos. Tweaking 2022-04-02 18:42:20 +03:00
ManeraKai 96a9083695
Merged branches 2022-04-02 18:35:15 +03:00
ManeraKai fb6746d3df
Tweaked design #60 2022-04-02 18:33:03 +03:00
Pixelcode ad806c6808
Add i18n
* add i18n for translation
* German translation
* Arabic translation
* RTL support
2022-04-02 18:23:43 +03:00
ManeraKai 2bf971212d
Adding main_frame exception for redirecting of offline instances #157 #159 2022-03-31 06:19:51 +03:00
ManeraKai 82a75b7af1 Merge branch 'master' of https://github.com/libredirect/libredirect 2022-03-30 20:26:05 +03:00
ManeraKai f252a8b432
Added text-wrap to urls #143 2022-03-30 20:25:39 +03:00
Dyras b2fc2a0ac0
Fixes typo on the Search page (#145) 2022-03-30 18:55:35 +03:00
ManeraKai 9547cc95fd
Removed x-frame-options header on iframes from Nitter instances #20 2022-03-23 13:50:51 +03:00
ManeraKai 1079e64f0d
Triggering AutoRedirect on Unknown Host and other Internet connectivity errors #127 2022-03-22 21:57:01 +03:00
ManeraKai 2474df3877
Improving on FacilMap, OSM 2022-03-22 20:23:40 +03:00
ManeraKai 85b01ef890
Fixed a typo with Spotify page #128 2022-03-21 22:25:45 +03:00
ManeraKai 5d3b9b583c
Improving maps code. Preparing for new Maps #70 #116 2022-03-20 23:10:22 +03:00
ManeraKai 2262a1c15e
Readded Soju #109. Readded strict_min_version #119. Improved install_chromium README 2022-03-19 13:33:51 +03:00
ManeraKai d333b96602
Added buttons to the browser_action menu 2022-03-19 01:19:46 +03:00
ManeraKai 9de383439e
Restricted auto redirection to only 503, 504. Added a 'Cancel Redirection' btn 2022-03-19 00:36:18 +03:00
ManeraKai a6ceacee90
Fixed typo 2022-03-17 18:16:30 +03:00
ManeraKai d194ace643
Fixed bugs 2022-03-17 13:24:03 +03:00
ManeraKai 439c9e49c4
Disabled soju in code as you can access songs through embeds #109 2022-03-17 10:58:05 +03:00
ManeraKai e6e1c64122
Fixed <title> typos 2022-03-16 23:26:54 +03:00
ManeraKai 3aad419dc2
Added Soju #109 2022-03-16 19:58:55 +03:00
ManeraKai c89f9cd785
Added librarian #78 2022-03-16 10:59:34 +03:00
ManeraKai 5582bde76b
Implemented changeInstance shortcut in a different way #112 2022-03-15 21:55:03 +03:00
ManeraKai 3950812dd9
Added a shortcut for chaning instance ALT+SHIFT+L #112 2022-03-15 16:16:17 +03:00
ManeraKai 1e1ed7bd7f
Readded medium custom domin names #94 2022-03-15 14:48:36 +03:00
ManeraKai cd836df62f
Added simpleertube #78 2022-03-15 01:30:30 +03:00
ManeraKai c50b4bbb08
Added almost all Piped-Material settings 2022-03-14 22:10:08 +03:00
ManeraKai 9bb910af94
Added almost all Piped settings 2022-03-14 18:17:58 +03:00
ManeraKai 6e2c2ae607 changed from .onion to .invalid as they're fake domains #108 2022-03-13 22:46:27 +03:00
ManeraKai fbbc82d0f2
Added a button for enabling cookies #104 2022-03-13 18:06:53 +03:00
ManeraKai d26d4211b6
Fixed Piped-Material settings not working #86 2022-03-13 14:18:06 +03:00
ManeraKai ea8567937a
Fixed an error in Brave browser 2022-03-13 11:44:05 +03:00
ManeraKai 1deb226c8a
Refined some styling. Bump version to 1.5.2 2022-03-13 01:59:27 +03:00
ManeraKai a8ae61c32b
Added almost all invidious settings #104 2022-03-13 00:32:25 +03:00
ManeraKai 57d3517b75
Added links on icons in the popup #103 2022-03-10 19:41:00 +03:00
ManeraKai 76c1f3ff18
Removed embed support for ProxiTok #102 2022-03-10 15:34:09 +03:00
ManeraKai 77e63148c3
Refined some things. Added an info for the Default Search Engine #101 2022-03-10 14:59:01 +03:00
ManeraKai 406eef83e0
Added theme support to many frontends #80. Fixed bugs 2022-03-10 14:22:23 +03:00
ManeraKai 09c9a67337
Refining Send support #67 2022-03-10 11:38:03 +03:00
ManeraKai 519f9e9594
Added startpage #52 2022-03-10 10:57:10 +03:00
ManeraKai d3df133f4e
Added send, fixed a bug in #89 2022-03-10 10:30:23 +03:00
ManeraKai 3d579dc163 Fixed invidious settings #97. Changed a text in #84 2022-03-10 05:45:58 +03:00
ManeraKai 04fcac3920
Added autoRedirect off offline instances option 2022-03-09 22:52:58 +03:00
ManeraKai 619f675114 Fixed alwaysUsePreferred bug #96. Added way to customize Popup. Added oldReddit to targets 2022-03-09 21:05:39 +03:00
ManeraKai 7ab3b665dc
Added warning to pixivMoe as it's not a truly privacy friendly frontend #84 2022-03-09 19:12:31 +03:00
ManeraKai b1bd8544ac
Added pixivMoe #84 2022-03-08 19:12:09 +03:00
ManeraKai d99c0c4141
Added t.co for twitter 2022-03-08 06:36:11 +03:00
ManeraKai 926ed4bb5c
Added partial FacilMap support #70 2022-03-07 06:37:58 +03:00
ManeraKai 8613d52c40 Disabled Piped-Material preferrences temprorarly 2022-03-06 14:18:41 +03:00
ManeraKai adb3db99c6
Fixed Bypass Read on Twitter bug 2022-03-06 13:40:28 +03:00
ManeraKai 0c705e0593
Fixed instagram targets. Changed font to Inter. Fixed a bug 2022-03-05 19:37:16 +03:00
ManeraKai a1b0d078d7
Added Bibliogram settings and theme support #80 2022-03-05 14:16:58 +03:00
ManeraKai 5619a96b4a
Adding more settings and combining theme in the general page #80 2022-03-05 11:44:59 +03:00
ManeraKai 3ef2aa7cc1
Added Piped-Material #51 2022-03-03 22:13:17 +03:00
ManeraKai a15ba98b56
Changed changeInstance() structure 2022-03-03 19:38:37 +03:00
ManeraKai 01020800a2
Added alwaysUsePreferred to Twitter and Reddit 2022-03-03 00:46:29 +03:00
ManeraKai 40e15e3570 Added a bypass watch on twitter button. Renamed some things 2022-03-02 07:10:13 +03:00
ManeraKai feb20fe96c
Fixed bypass to twitter bug #71 2022-03-01 22:42:48 +03:00
ManeraKai 082016dcde
Removed invidious cookies as it's not working 2022-03-01 20:53:45 +03:00
ManeraKai e18cb56d61
Fixed settings not being applied to Piped 2022-03-01 18:37:28 +03:00
ManeraKai b99392d2d6
Fixed some bugs in export import settings 2022-02-28 07:21:23 +03:00
ManeraKai fe7b433718 Resorted icons #60 2022-02-28 07:17:42 +03:00
ManeraKai 92d8d683c8
Fixed settings for youtube #69 2022-02-27 23:34:40 +03:00
ManeraKai a6fb964e99
Refined design. Bump version to 1.4.4 2022-02-27 20:19:09 +03:00
ManeraKai d488aff7b3
Fixed a bug in exceptions 2022-02-27 20:12:23 +03:00
ManeraKai 587b16e107
Fixed bugs 2022-02-27 17:59:40 +03:00
ManeraKai 16d8069191
Updated Wikipedia, Medium, and Maps icons 2022-02-27 17:20:41 +03:00
ManeraKai 795c760d8e
Improving the design #60 2022-02-27 16:18:21 +03:00
ManeraKai e26942a9bd
Fixed typo #57 2022-02-26 23:45:52 +03:00
ManeraKai fba94d845e
Added reset btn #58 2022-02-26 22:50:33 +03:00
ManeraKai 8f0be7fb1a
Added export and import settings #58 2022-02-26 21:28:30 +03:00
ManeraKai 3246d6fd69
Added bypass on reddit option 2022-02-26 18:28:19 +03:00
ManeraKai f4d07c15ac Added bypass to WatchOnYoutube and made invidious as default #56 2022-02-26 15:38:32 +03:00
ManeraKai e6fe9fb1cb
Added engine setting for SimplyTranslate #63 2022-02-26 01:58:35 +03:00
ManeraKai a5415d34bc Added Old Reddit #61 2022-02-26 01:45:33 +03:00
ManeraKai 41e145bf7a
Made auto changing instances manual #59 2022-02-26 01:31:48 +03:00
ManeraKai 6ca6689936
Added youtube embed exceptions #46 2022-02-25 19:43:10 +03:00
ManeraKai 41ccec4783
Added yatte #57 2022-02-25 18:04:50 +03:00
ManeraKai 344c2865d2
Refining and fixing typos #30 2022-02-24 23:07:15 +03:00
ManeraKai 0e02b69dec
Added Beatbump to options #30 2022-02-24 00:19:09 +03:00
ManeraKai 39ee723245
Added the base code for Beatbump #30 2022-02-23 23:45:22 +03:00
ManeraKai c5ef434b28
Added imgur, tiktok tor support #32 2022-02-23 20:21:19 +03:00
ManeraKai ae29c4c70a
Added translate tor support #32 2022-02-23 19:48:04 +03:00
ManeraKai 2acbcca30c
Added medium tor support #32 2022-02-23 07:19:56 +03:00
ManeraKai 2570cd8d32
Added wikipedia tor support #32 2022-02-22 23:52:38 +03:00
ManeraKai 0caf899239
Added reddit tor support #32 2022-02-21 23:44:42 +03:00
ManeraKai a5a54d0f87
fix libredirect not working at all #55 2022-02-21 21:38:52 +03:00
ManeraKai 384950d348
Completing on supporting tor #32 2022-02-20 22:47:13 +03:00
ManeraKai 1a1e0c988c
Completing on supporting tor #32 2022-02-20 19:00:12 +03:00
ManeraKai a643c6594d Merge branch 'master' of https://github.com/libredirect/libredirect 2022-02-20 00:49:17 +03:00
ManeraKai ef222d2ca5
Adding tor to twitter and youtube #32 2022-02-20 00:48:51 +03:00
SD745 3438db741c
Fixing Some Presentational Issues (#49)
* Changing YouTube Heading

* Changing Page Title and YouTube Link

* Fixing Page Title and YouTube Link

* Changing Page Title and YouTube Link

* Fixing Page Title and YouTube Link

* Changing Page Title and YouTube Link

* Fix Presentational Issues

* Fixing Page Title and YouTube Link

* Fixing Page Title and YouTube Link

* Fixing Page Title and YouTube Link

* Fixing Page Title and YouTube Link

* Fixing Page Title and YouTube Link

* Fixing Page Title and YouTube Link
2022-02-19 20:15:32 +03:00
ManeraKai f0d70837fc Fixed cookies not working in invidious #44 2022-02-19 15:48:35 +03:00
ManeraKai 83db3d13ad
Fixed url params not applying #44 2022-02-19 13:04:10 +03:00
ManeraKai 07cd02d356
Fixed always preferred bug in youtube 2022-02-19 01:14:26 +03:00
ManeraKai e9cfde7880
Added embeddedFrontend option to freetube #40 2022-02-16 23:35:57 +03:00
ManeraKai ea092ab7f9
Fixed a duplicating url parameters bug + typo 2022-02-16 22:23:22 +03:00
ManeraKai b157cc8f27
Cleaning code 2022-02-16 06:41:24 +03:00
ManeraKai 8db3a300fe Adding langFrom, langTo to settings translation. changing naming schemes 2022-02-15 20:19:27 +03:00
ManeraKai 658d0c2676
fixed title of option 2022-02-14 23:00:26 +03:00
ManeraKai 2d4b21772a
Added onlyNotEmbedded feature #37 2022-02-14 22:54:33 +03:00
ManeraKai 2a1c3ea554
Added feature request #35 2022-02-14 22:32:30 +03:00
ManeraKai bbe6fcdef7
Fixed a bug in reddit options page 2022-02-13 22:04:44 +03:00
ManeraKai bdfa63acef Redirect only for Server Error Responses #6 2022-02-13 17:41:05 +03:00
ManeraKai f2a3e2c608
Added chrome support #18 2022-02-12 22:28:36 +03:00
ManeraKai 531e7c5fb4
Rewrote Exceptions logic and design #29 2022-02-12 20:40:36 +03:00
ManeraKai 9b73898584 Added redirecting feature #6, will improve it 2022-02-12 12:30:34 +03:00
ManeraKai 7ee2539969
Fixed bugs. Added icons 2022-02-10 20:16:48 +03:00
ManeraKai 23ae536550
Added ProxiTok #22 2022-02-10 00:04:00 +03:00
ManeraKai 6fb346569f
Added rimgo will improve on it #24 2022-02-08 23:04:18 +03:00
ManeraKai b715e43553
Fixing colors and some bugs #27 2022-02-08 20:30:50 +03:00
ManeraKai 343ab3bbc0 Added the same regex as in the faq page in scribe #19 2022-02-08 19:17:33 +03:00
ManeraKai 30421fa685
Finished adding default & custom instances 2022-02-06 17:24:39 +03:00
ManeraKai 5cc8ed3f60
Combined the instances methods to one function 2022-02-06 08:45:12 +03:00
ManeraKai 85aadc0eb6
Added default and custom instances to piped 2022-02-06 07:51:18 +03:00
ManeraKai 2876cb24b3
Cleaning code 2022-02-06 05:58:42 +03:00
ManeraKai d4f82a7fc5 readded default and custom instances. Needs some work 2022-02-06 03:55:59 +03:00
ManeraKai 0f2dff5330 combining some of piped and invidious settings #14 2022-02-05 18:45:48 +03:00
ManeraKai 23be155b20
Added hard cancel requests, will be more improved 2022-02-05 15:49:12 +03:00
ManeraKai cd9a3b195c
Fixed icon theme #25 2022-02-05 14:08:10 +03:00
ManeraKai e08baa1431
Fixed issue #25 2022-02-05 13:24:29 +03:00
ManeraKai 236f839eac
Refining code and design 2022-02-04 23:07:47 +03:00
ManeraKai a9f95b3d1d
Cleaning and refining settings 2022-02-04 18:48:24 +03:00
ManeraKai b4fcdf26ea Added Piped, cleaned code
Signed-off-by: ManeraKai <manerakai@protonmail.com>
2022-02-04 04:49:39 +03:00
ManeraKai eb6e58af52
Cleaning and updating the updateInstance func 2022-02-04 02:13:37 +03:00
ManeraKai 933cd7b908
changing from || to ?? 2022-02-03 17:33:24 +03:00
ManeraKai 4b983d03ce
changing redirects from const to let, cleaning 2022-02-03 13:41:23 +03:00
ManeraKai 53d93f5e86
Changing variable names 2022-02-03 13:16:34 +03:00
ManeraKai 3394aec204
renaming some files 2022-02-02 21:22:34 +03:00
ManeraKai 84333daede
Added Lingva #16 2022-02-02 19:13:44 +03:00
ManeraKai 40c0ff58c7
Changing way of handling variables and settings 2022-02-02 17:46:14 +03:00
ManeraKai 41c1c6effa
Changing data handling 2022-02-01 21:37:43 +03:00
ManeraKai c9728f754e
Fixed theme issue 2022-01-31 22:47:59 +03:00
ManeraKai 540b41ef0a Refining code. Adding frontend option to search 2022-01-31 21:01:24 +03:00
ManeraKai 9addc51b02
Updating RandomPools 2022-01-31 03:05:50 +03:00
ManeraKai fbdfe07425
Cleaning code and changing naming schemes 2022-01-30 23:36:07 +03:00
ManeraKai 376f9b83ae
Activating reddit frontend btn. Excluding medium.com #19 2022-01-30 20:28:29 +03:00
ManeraKai d1ec4ac2af
Splitted options.js 2022-01-30 15:38:55 +03:00
ManeraKai a36e4a7041
Updating options UI 2022-01-30 13:20:34 +03:00
ManeraKai aeef1b7778
Updating options.html design 2022-01-30 01:34:33 +03:00
ManeraKai 0abec33eff Fixed bug in pageAction 2022-01-29 21:01:55 +03:00
ManeraKai 208d93982e updated instances get function 2022-01-29 14:00:37 +03:00
ManeraKai a42db700ac
trying to fix medium targets 2022-01-28 20:05:56 +03:00
ManeraKai 05453901f2
Hiding pageAction btn when not in instances 2022-01-28 00:23:47 +03:00
ManeraKai 155eddbf07
Updating and Cleaning UI #9 2022-01-27 14:58:10 +03:00
alefvanoon 1670409428
Fix UI problem 2022-01-26 05:36:47 +01:00
hkalbasi 37dcaa074e use updated list in autocomplete 2022-01-03 19:06:35 +03:30
hkalbasi 37316c1687 set pools in update 2021-12-26 03:04:50 +03:30
hkalbasi cf68ac848f add update instance button 2021-12-22 02:19:27 +03:30
rimthekid 03041aea65 libredirect popup icon update 2021-12-07 14:35:00 +04:00
alefvanoon 6078a7ab60
Update popup.html 2021-12-06 20:47:26 +01:00
Farbod 1cbfe3c6ef updated the name and button not showing in firefox 2021-12-05 13:31:21 +04:00
alefvanoon 5fa9ff1de3
Merge pull request #3 from ManeraKai/change-instance-btn
Change instance btn
2021-12-04 20:37:50 +01:00
Ngô Ngọc Đức Huy b0da859852
Detect setting change for scribe redirect 2021-10-29 20:55:16 +07:00
Ngô Ngọc Đức Huy 263626d7d1
Remove default scribe instance 2021-10-29 20:35:33 +07:00
ManeraKai 97d3d19b7d
Preserved url's path. Only the domain will change now. 2021-10-27 10:18:05 +03:00
ManeraKai 398b122ec6 Added Change Instance btn to address-bar 2021-10-21 20:37:28 +03:00
Ngô Ngọc Đức Huy 03d5354430
Add data attributes for scribe random pool
This fixes random pool dropdown brokeness
2021-10-17 20:03:02 +07:00
Ngô Ngọc Đức Huy 2a0d842a4b
Add missing scripts for Scribe in popup
Also fix Wikipedia's typo
2021-10-17 19:45:16 +07:00
Ngô Ngọc Đức Huy e9f957f7d5
Add "New" badge for Scribe 2021-10-17 19:30:51 +07:00
Ngô Ngọc Đức Huy 4dc7fb4cce
Fix copying mistake 2021-10-17 19:30:20 +07:00
Ngô Ngọc Đức Huy 9acdf59099
Restore the mistakenly removed line
Bibliogram randomization would be removed if that removal were merged.
2021-10-13 15:59:42 +07:00
Ngô Ngọc Đức Huy 362bef8658
Fix copy-and-replace mistakes
- Change scribe's default input to 'Random instance (none selected)'
- Add random pool variables and functions for scribe
2021-10-12 15:24:16 +07:00
Ngô Ngọc Đức Huy df07b8a7f4
Add redirect from Medium to Scribe
Multiple Medium domains would be redirected to two known Scribe
instances:

scribe.rip
scribe.nixnet.services
2021-10-11 10:04:25 +07:00
SimonBrazell b31c5bf75a Disable Wikiless redirects by default, add "New" tag (#232). 2021-07-25 14:56:28 +10:00
Kotuklion 033dad74bc cleanup 2021-07-12 23:08:08 +02:00
Kotuklion 9d92671692 better GET processing 2021-07-12 23:02:56 +02:00
Kotuklion 010d19aff9 check host instead of the whole href for occurence of wikipedia.org 2021-07-12 18:48:52 +02:00
Kotuklion 058ca7b6e0 left some unnecessary spaces here and there 2021-07-12 18:30:54 +02:00
Kotuklion cf7575f33b fix minor typos 2021-07-12 18:24:45 +02:00
Kotuklion 60be141050 add Wikiless support 2021-07-12 18:16:23 +02:00
SimonBrazell 20a6692e4c Closes #242: remove "new" tag from SimplyTranslate. 2021-07-10 09:44:23 +10:00
SimonBrazell 1e1fb22302 Merge branch 'master' of github.com:SimonBrazell/privacy-redirect 2021-06-16 23:32:24 +10:00
SimonBrazell 0bd8507fb8 Fixes #238 2021-06-16 23:31:21 +10:00
Simon Brazell 4f9c130396
Merge pull request #246 from B0pol/autoplay
Only append autoplay parameter if necessary
2021-06-16 22:53:44 +10:00
SimonBrazell 061dfc0904 Redirect Twitter "video" subdomain & update dev dependencies. 2021-06-16 22:22:53 +10:00
bopol 8e88786dc2 Only append autoplay parameter if necessary 2021-06-12 19:07:37 +02:00
Jason Kim 8e11c48850
fix: add comments prefix for /foo/
Links that end in trailing slash but don't have "/comments/" should add
"/comments" prefix but don't because the regex match succeeds.  Fix the
regular expression to be more robust and add prefix for paths like

- /foo/
- /////foo
- /foo/////
- ////foo////

and not add prefix for paths like

- /comments/foo
- /////comments/foo
- /comments/////foo
- ////comments////foo
- ////comments////foo/////
2021-04-22 23:32:31 -07:00
Jason Kim e3df6c4333
fix: add comments prefix if no nested path
The previous fix failed to consider links like
"redd.it/r/.../comments/...".  Those don't really exist in the wild, and
they don't work (when redirects are turned off).  Still, play it safe
and don't add "/comments" prefix unless the path has height 1.

Now, redirects should work for

- redd.it/foo
- redd.it/comments/foo
- redd.it/r/bar/comments/foo

even though the only kind of native link that works is

- redd.it/foo
2021-04-22 23:01:54 -07:00
Jason Kim 21ee6b8542 fix: add "/comments" prefix only if it's missing
Although I have never seen it in the wild, it is possible to navigate to
"redd.it/comments/...".  This should redirect to
"teddit.net/comments/..." in the case of instance teddit.net.  However,
the current code redirects it to "teddit.net/comments/comments/...".
Fix it by avoiding adding the prefix if it's already there.
2021-04-22 23:00:09 -07:00
Jason Kim bb6894cec5 feat: support teddit by adding /comments hint
Redirecting tedd.it links to teddit instances works when the link starts
with "/comments".  Add "/comments" to the path for teddit.
2021-04-22 23:00:08 -07:00
Jason Kim 9fc3fccf65 fix: don't redirect redd.it for teddit
redd.it redirects don't work for teddit, so don't do it.
2021-04-22 21:12:16 -07:00
SimonBrazell 972ad1299e Fixes #146 - OSM redirect breaks Google Earth 2021-04-16 13:10:19 +10:00
SimonBrazell f714c666d9 Fixes #135 - Handle Twitter usernames with "tweets" in them. 2021-04-16 13:02:18 +10:00
SimonBrazell 01e986fce3 Fixes #173 - Instance list clicking issue. 2021-04-16 12:27:39 +10:00
SimonBrazell 7640e5c6bc Prepare for release 1.1.47 2021-04-16 10:45:15 +10:00
Simon Brazell a45e7def92
Merge pull request #219 from jaki/handle-reddit-img
Redirect reddit images for libreddit instances
2021-04-16 09:34:39 +10:00
Jason Kim 905abce8f7
refactor: drop teddit image redirect support
No longer redirect image links for teddit instances.  Add a comment
detailing the two issues I found.  Now, the feature should be stable.
2021-04-09 00:16:05 -07:00
Jason Kim e86895b008 fix: don't redirect for rest of instances
Unbreak old.reddit.com and i.reddit.com by ignoring image redirects for
them.
2021-04-09 00:00:42 -07:00
Jason Kim 123cca4e5c fix: redirect teddit differently
Teddit image urls are different from libreddit.  Handle each separately.
Test manually:

- libredd.it: pass
- libreddit.spike.codes: pass
- libreddit.kavin.rocks: pass
- libreddit.insanity.wtf: fail (site doesn't work in general)
- libreddit.dothq.co: pass
- teddit.net: mostly fail
- teddit.ggc-project.de: mostly fail
- teddit.kavin.rocks: mostly fail
- old.reddit.com: fail
- i.reddit.com: fail
- snew.notabug.io: fail (site doesn't work in general)

Teddit image urls have two issues.  First, the links almost never work
(404) if the image url is visited directly before visiting the main
page.  Once the main page is visited, however, the image url starts
working.  I'm guessing this is an issue with teddit instances not
fetching images unless the main page is accessed.  Second, some image
links are different/incompatible for some reason.  For example,
<https://i.redd.it/htg3owj12ok21.png> turns into
<https://teddit.net/pics/w:null_TpEyuHnjif6578pV0lBuM-kNW1bXqxbvqbOHjhRZVr0.png>.
Libreddit seems to not have this issue.
2021-04-08 23:37:43 -07:00
Jason Kim 397fd8cffb feat: add img prefix for i.redd.it
"i.redd.it/<imgfile>" redirects "libredd.it/<imgfile>".  Make it
redirect to "libredd.it/img/<imgfile>".  Tested only for "libredd.it".
2021-04-08 22:38:52 -07:00
fattalion 7ab37d80de Disable SimplyTranslate redirects by default 2021-03-02 20:55:37 +03:00
fattalion 2bb90f8f41 Add SimplyTranslate support 2021-02-25 18:24:37 +03:00
SimonBrazell fbc16cbb89 Fixes #160 - Disable search redirects by default (sorry... 🙂) 2021-01-13 10:34:49 +11:00
SimonBrazell bd783485a8 Translate "Random instance (none selected)" (#158) 2021-01-12 20:29:26 +11:00
SimonBrazell 223d7cd0ac CLoses #130 changed to GPLv3, added SearX instances (#16), fixed instance selects. 2021-01-11 17:46:00 +11:00
SimonBrazell f56fc68188 Fix for https://github.com/mozilla/addons-linter/issues/3541#issue-782801439 2021-01-11 12:39:26 +11:00
SimonBrazell 944f2e6ef0 Restructure code with helper modules, add search engine settings, & advanced settings collapsibles. 2021-01-10 22:04:03 +11:00