Commit Graph

606 Commits

Author SHA1 Message Date
Ngô Ngọc Đức Huy 044086d4e7
Restore accidentally deleted lines 2021-11-06 17:33:58 +07:00
Ngô Ngọc Đức Huy 9383a66882
Add locale for scribe 2021-10-29 20:55:33 +07: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 bafc445a5b
Remove trailing slash 2021-10-14 22:28:03 +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
MonsieurBibo 97d186e272
Fixed french typo in store.md 2021-08-15 17:26:27 +02:00
Elaborendum 11819843f4
Update messages.json 2021-07-26 17:53:03 -05:00
SimonBrazell b31c5bf75a Disable Wikiless redirects by default, add "New" tag (#232). 2021-07-25 14:56:28 +10:00
Simon Brazell 6b26f27f9a
Merge pull request #263 from git-bruh/master
add libreddit instance
2021-07-25 14:34:30 +10:00
Simon Brazell 20aafaaa17
Merge pull request #257 from Kotuklion/master
Add Wikiless support
2021-07-25 14:33:02 +10:00
git-bruh fe98d5a798
add libreddit instance 2021-07-17 12:45:14 +05:30
Simon Brazell a2405b44b4
Merge pull request #259 from unixfox/invidious.fdn.fr
removing invidious.fdn.fr
2021-07-16 23:10:23 +10:00
Simon Brazell a42fe58b1d
Merge pull request #256 from unbranched/patch-3
Italian translation fix
2021-07-16 23:09:45 +10:00
Emilien Devos ee6a96ec0a removing invidious.fdn.fr 2021-07-14 00:36:40 +02: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
unbranched 1ef8f02372
Italian translation fix
Title fix
2021-07-11 08:39:59 +00:00
Tim Hårek Andreassen 2f903e056b
Add redirect for Norwegian Google Translate
Signed-off-by: Tim Hårek Andreassen <tim@harek.dev>
2021-07-10 15:34:29 +02:00
SimonBrazell 8a21b62478 Bump version & update dependencies. 2021-07-10 09:47:41 +10:00
SimonBrazell 20a6692e4c Closes #242: remove "new" tag from SimplyTranslate. 2021-07-10 09:44:23 +10:00
Simon Brazell c1b446ced1
Merge pull request #248 from FantasyCookie17/master
Add reddit.artemislena.eu
2021-06-17 22:09:55 +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
Simon Brazell ebd09086b6
Merge pull request #243 from unbranched/patch-1
Add Italian translation
2021-06-16 22:52:34 +10:00
Simon Brazell 278714033d
Merge pull request #244 from unbranched/patch-2
Add italian translation
2021-06-16 22:52:21 +10:00
Simon Brazell 2c9be901ee
Merge pull request #234 from austinhuang0131/patch-1
Update various instances
2021-06-16 22:38:14 +10:00
SimonBrazell 061dfc0904 Redirect Twitter "video" subdomain & update dev dependencies. 2021-06-16 22:22:53 +10:00
FantasyCookie17 b8a6ec89c9
Added reddit.artemislena.eu 2021-06-16 01:19:47 +02:00
bopol 8e88786dc2 Only append autoplay parameter if necessary 2021-06-12 19:07:37 +02:00
unbranched 6875ad6dbb
Italian translation 2021-06-06 10:05:16 +00:00
unbranched 7d9ad32ac6
Italian translation 2021-06-06 09:54:49 +00:00
Austin Huang 8a8fe35b6b
update nitter instances (2) 2021-05-11 10:27:07 -04:00
Austin Huang a9e6411ca2
update nitter instances (1) 2021-05-11 10:26:02 -04:00
Austin Huang cfd7c15306
update bibliogram instances
closes #233
2021-05-11 10:23:31 -04: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
Jason Kim 68a89b1c0c feat: add redd.it to reddit targets
Although it doesn't work for teddit, add redd.it to the list of URLs to
redirect.
2021-04-22 21:00:52 -07:00
TotalCaesar659 2a247f4772
Update Russian translation 2021-04-16 16:31:25 +03:00
SimonBrazell 32dc9b1601 Update translations 2021-04-16 14:16:40 +10: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
Simon Brazell 46593ef565
Merge branch 'master' into master 2021-04-16 09:33:04 +10:00
Simon Brazell 0ba8546292
Merge pull request #214 from cloudrac3r/patch-1
Update Bibliogram instances list
2021-04-16 09:31:27 +10:00
Simon Brazell 0135202682
Merge pull request #206 from Camille019/master
Add Ecosia search engine
2021-04-16 09:26:51 +10:00
Simon Brazell 9c34dc5c5b
Merge branch 'master' into master 2021-04-16 09:25:29 +10:00
Simon Brazell 13884fa6c3
Merge pull request #198 from fattalion/add-simply-translate-support
Add SimplyTranslate support
2021-04-16 09:24:06 +10:00
Simon Brazell 6d4d070523
Merge pull request #193 from tenpura-shrimp/master
add invidious instance
2021-04-16 09:23:39 +10:00
Simon Brazell 35f2b4bb70
Merge pull request #188 from Elaborendum/master
Add spanish translation
2021-04-16 09:23:24 +10:00
alefvanoon 5bdd9cd914 remove nitter.weaponizedhumiliation.com 2021-04-10 15:16:19 +04:30
alefvanoon 4565c23f19 add bird.trom.tf 2021-04-10 15:05:01 +04:30
alefvanoon aeb94f5835 add insta.trom.tf 2021-04-10 15:03:23 +04:30
alefvanoon cc21902cb0 add search.trom.tf 2021-04-10 14:56:35 +04:30
alefvanoon a2dcb2de56 add searx.silkky.cloud 2021-04-09 23:55:14 +04:30
alefvanoon 12fa39e8b0 add libreddit.silkky.cloud 2021-04-09 23:50:37 +04:30
alefvanoon f76ef21294 add some invidious ins 2021-04-09 23:43:29 +04:30
alefvanoon 0c2a0ed64f add some invidious ins 2021-04-09 23:34:57 +04:30
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
Jason Kim 0799b93000 feat: add i.redd.it to reddit targets
Add "i.redd.it" to list of urls to redirect for Reddit.  Although the
redirect works, the link should be invalid because it still needs an
"img" path prefix.
2021-04-08 22:30:41 -07:00
Cadence Ember 6446da6e4c
Update Bibliogram instances list
Set it to match the list of actually working instances.

https://git.sr.ht/~cadence/bibliogram-docs/tree/master/docs/Instances.md
2021-04-07 22:14:47 +12:00
Harsh Barsaiyan b5920f052a
Update manifest.json 2021-04-05 02:46:50 +05:30
Harsh Barsaiyan 0b9f5062a0 Add ViewTube 2021-03-30 23:48:05 +05:30
Camille019 2d2ef8f1f2 Add Ecosia search engine 2021-03-20 11:13:23 +01:00
Harsh Barsaiyan 280064310d Add Whoogle Search 2021-03-11 09:21:56 +00: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
Andrew Zhao fd37caecf1 add invidious instance 2021-02-24 12:04:52 -08:00
Elaborendum dfc91d4aaf
Create store.md 2021-02-20 01:09:20 -05:00
Elaborendum 7d21a5a15d
Create messages.json 2021-02-20 01:09:01 -05:00
obeho 1f7e58ede4
Update reddit.js
Added instance libreddit.himiko.cloud
2021-02-14 18:50:17 +05:30
Simon Brazell a76ea4f66e
Merge pull request #176 from mmatous/add-presearch
Add Presearch search engine
2021-02-10 09:47:55 +11:00
Martin Matous f42ccd8891
Add Presearch search engine 2021-02-01 08:10:01 +01:00
howoz 1d120b2165 tr translation done 2021-01-30 06:42:15 +03:00
howoz ed0ddd7575 start of tr translation 2021-01-30 02:41:20 +03:00
Youssif Shaaban Alsager bf1bc849ba
invidious: Add invidious.tube to instances 2021-01-16 22:38:00 +02:00
TotalCaesar659 a12ec9dc55
Update Russian translation 2021-01-13 03:40:42 +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
TotalCaesar659 5efbc6eabc
Update messages.json 2021-01-11 19:00:26 +03:00
TotalCaesar659 43fe0c3aea
Update Russian translation 2021-01-11 18:57:30 +03:00
SimonBrazell 96b3d77ee0 Fix typo 2021-01-11 17:53:37 +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