summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-04-24Merge pull request #224 from fattalion/add-simplytranslate-to-readmeSimon Brazell
Add SimplyTranslate to README
2021-04-22fix: add comments prefix for /foo/Jason Kim
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-22fix: add comments prefix if no nested pathJason Kim
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-22fix: add "/comments" prefix only if it's missingJason Kim
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-22feat: support teddit by adding /comments hintJason Kim
Redirecting tedd.it links to teddit instances works when the link starts with "/comments". Add "/comments" to the path for teddit.
2021-04-22note: explain why redirect is needed for redd.itJason Kim
If you try visiting a redd.it site like <https://redd.it/1fwqjw> (first link that came up when searching "site:redd.it"), you may think that the redirect works because it goes to your configured instance. However, there's a leak: redd.it is a redirect to a www.reddit.com site, and that's when the redirect to instance happens. If you observe the network traffic, you'll see that a GET request goes to redd.it, and redd.it returns HTTP code 302 and location https://www.reddit.com/... Let's not do that. Redirect at redd.it so that requests don't hit reddit servers. This does not seem to work for teddit instances, so don't redirect for them.
2021-04-22fix: don't redirect redd.it for tedditJason Kim
redd.it redirects don't work for teddit, so don't do it.
2021-04-22feat: add redd.it to reddit targetsJason Kim
Although it doesn't work for teddit, add redd.it to the list of URLs to redirect.
2021-04-20Add SimplyTranslate to READMEfattalion
2021-04-18Merge pull request #222 from TotalCaesar659/patch-1Simon Brazell
Update Russian translation
2021-04-16Update Russian translationTotalCaesar659
2021-04-16Update translationsSimonBrazell
2021-04-16Fixes #146 - OSM redirect breaks Google Earthv1.1.47SimonBrazell
2021-04-16Fixes #135 - Handle Twitter usernames with "tweets" in them.SimonBrazell
2021-04-16Fixes #173 - Instance list clicking issue.SimonBrazell
2021-04-16Prepare for release 1.1.47SimonBrazell
2021-04-16Merge pull request #219 from jaki/handle-reddit-imgSimon Brazell
Redirect reddit images for libreddit instances
2021-04-16Merge pull request #216 from alefvanoon/masterSimon Brazell
add some instance
2021-04-16Merge branch 'master' into masterSimon Brazell
2021-04-16Merge pull request #214 from cloudrac3r/patch-1Simon Brazell
Update Bibliogram instances list
2021-04-16Merge pull request #206 from Camille019/masterSimon Brazell
Add Ecosia search engine
2021-04-16Merge pull request #202 from hbarsaiyan/masterSimon Brazell
Add Whoogle Search
2021-04-16Merge branch 'master' into masterSimon Brazell
2021-04-16Merge pull request #198 from fattalion/add-simply-translate-supportSimon Brazell
Add SimplyTranslate support
2021-04-16Merge pull request #193 from tenpura-shrimp/masterSimon Brazell
add invidious instance
2021-04-16Merge pull request #188 from Elaborendum/masterSimon Brazell
Add spanish translation
2021-04-16Merge pull request #182 from obeho/patch-1Simon Brazell
Update reddit.js
2021-04-10remove nitter.weaponizedhumiliation.comalefvanoon
2021-04-10add bird.trom.tfalefvanoon
2021-04-10add insta.trom.tfalefvanoon
2021-04-10add search.trom.tfalefvanoon
2021-04-09add searx.silkky.cloudalefvanoon
2021-04-09add libreddit.silkky.cloudalefvanoon
2021-04-09add some invidious insalefvanoon
2021-04-09add some invidious insalefvanoon
2021-04-09refactor: drop teddit image redirect supportJason Kim
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-09fix: don't redirect for rest of instancesJason Kim
Unbreak old.reddit.com and i.reddit.com by ignoring image redirects for them.
2021-04-08fix: redirect teddit differentlyJason Kim
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-08feat: add img prefix for i.redd.itJason Kim
"i.redd.it/<imgfile>" redirects "libredd.it/<imgfile>". Make it redirect to "libredd.it/img/<imgfile>". Tested only for "libredd.it".
2021-04-08feat: add i.redd.it to reddit targetsJason Kim
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-07Update Bibliogram instances listCadence Ember
Set it to match the list of actually working instances. https://git.sr.ht/~cadence/bibliogram-docs/tree/master/docs/Instances.md
2021-04-05Update manifest.jsonHarsh Barsaiyan
2021-03-30Add ViewTubeHarsh Barsaiyan
2021-03-20Add Ecosia search engineCamille019
2021-03-11Add Whoogle SearchHarsh Barsaiyan
2021-03-02Disable SimplyTranslate redirects by defaultfattalion
2021-02-25Add SimplyTranslate supportfattalion
2021-02-24add invidious instanceAndrew Zhao
2021-02-20Create store.mdElaborendum
2021-02-20Create messages.jsonElaborendum