Commit Graph

49 Commits

Author SHA1 Message Date
Nils 4d86433e0f
fix gallery redirect, closes #72 2023-01-03 15:09:14 +01:00
Tom Watson 7e41360e60 add unique redirect for gallery links
Closes https://github.com/tom-james-watson/old-reddit-redirect/issues/60

A gallery link in the form https://www.reddit.com/gallery/qnjjvh can be
redirected to
https://old.reddit.com/r/OnePiece/comments/qnjjvh/marines_as_shinigami_by_norridzuan_art.
We only have the id to work with, but reddit will actually redirect
https://old.reddit.com/qnjjvh to the full url, so we can just redirect
to that instead.
2021-11-07 10:07:53 +01:00
Tom Watson 92e7ecd25e feat: bump to version 1.5.1 2021-07-12 10:27:31 +02:00
Tom Watson 275331e773
Merge pull request #54 from nelsonblaha/master
Exclude '/community-points' path
2021-07-12 10:26:29 +02:00
Ben Nelson 7b974bd31a
Exclude '/community-points' path
Exclude this path because it 404s in old reddit.
2021-07-09 22:31:46 -05:00
Tom Watson f4f61587a2 feat: bump to version 1.5.0 2021-06-13 12:44:13 +02:00
Tom Watson 4f1da4265c feat: hide problematic elements
This hides the eu cookie notice which contains a problematic redirect
to new.reddit.com. It also hides the "get new" link in the header.

Closes https://github.com/tom-james-watson/old-reddit-redirect/issues/50
Closes https://github.com/tom-james-watson/old-reddit-redirect/issues/51
2021-06-13 12:43:35 +02:00
Tom Watson b1f4153917 add list of redirected/whitelisted domains to readme 2021-01-24 12:16:30 +01:00
Tom Watson 846389b48f add makefile 2021-01-24 12:14:39 +01:00
Tom Watson 621c2b05ee also redirect i.reddit.com
Closes https://github.com/tom-james-watson/old-reddit-redirect/issues/45
2021-01-24 12:08:27 +01:00
Tom Watson 01f71cf361 bump to 1.3.0 2021-01-23 14:46:15 +01:00
Tom Watson 9cacda42f3 don't redirect new.reddit.com
This provides a useful workaround for viewing the new site if there is
something broken on old.reddit.com (e.g. polls), as well as giving a way
to just check something on the new site if you want to.

Closes https://github.com/tom-james-watson/old-reddit-redirect/issues/44
Closes https://github.com/tom-james-watson/old-reddit-redirect/pull/28
Closes https://github.com/tom-james-watson/old-reddit-redirect/pull/27/files
Closes https://github.com/tom-james-watson/old-reddit-redirect/issues/12
2021-01-23 14:42:29 +01:00
Tom Watson 97dfde8fa3 prettier fixes 2021-01-23 14:40:00 +01:00
Tom Watson ea26a03353
Merge pull request #34 from Lachcim/galleries
Collective fix for new Reddit features as of July 2020
2020-07-19 15:09:27 +02:00
Michał Szopiński ce7c67857b Bump version to 1.2.0 2020-07-18 22:01:51 +02:00
Michał Szopiński f481bcdbfb Refactor URL parsing, fix equalities 2020-07-18 22:01:26 +02:00
Michał Szopiński 629926126e Remove unnecessary exceptions 2020-07-17 15:19:05 +02:00
Tom Watson 6b409c3925
Merge pull request #31 from catchcase/issue/30
Add amp.reddit.com as redirected url and manifest permission
2020-07-17 10:38:55 +02:00
Michał Szopiński 2c28b50960 Preserve query string and hash 2020-07-16 18:56:23 +02:00
Michał Szopiński 01a3d69adc Fix indent 2020-07-16 15:01:19 +02:00
Michał Szopiński 790ff84ec9 Make parser const 2020-07-16 14:45:13 +02:00
Michał Szopiński a986d17e84 Bump version 2020-07-16 13:58:24 +02:00
Michał Szopiński 9dc68e9029 Add more exceptions 2020-07-16 13:52:58 +02:00
Michał Szopiński 90181d4125 Add exception system 2020-07-16 13:31:36 +02:00
Michał Szopiński 9f06826bed Replace regex with URL parser 2020-07-16 13:15:38 +02:00
Vincente Campisi 71446f4b60 Add amp.reddit.com as redirected url and manifest permission 2020-05-19 19:29:04 +02:00
Tom Watson 0ea2411903
Merge pull request #24 from h-h-h-h/patch-1
README.md: Removed langage code in link
2019-10-15 14:07:56 +02:00
h-h-h-h 32b82582ca
Update README.md 2019-10-15 14:07:03 +02:00
h-h-h-h 3674f5cdb9
README.md: Removed langage code in link
addons.mozilla.org should figure out the user's language itself.

An alternative would be `...org/firefox...` instead of `...org//firefox...`, but, I guess, it will check whether `firefox` is a language code instead of an empty string. (Both work.)
2019-10-15 01:40:32 +02:00
Tom Watson 09a84edfc5
Merge pull request #20 from SSyl/patch-1
Remove pay.reddit.com from permissions
2019-09-12 08:23:24 +02:00
SSyl dd56b9f10d
Remove pay.reddit.com from permissions
pay.reddit.com was removed as a redirect from background.js but the url was left in the permission. This commit removes that.
2019-09-11 15:01:44 -05:00
Tom Watson e400b88e4b remove pay.reddit.com as a redirected url
This seems to have tripped some check google has as they are sending me
emails telling me I need to add a privacy policy as my extension deals
with sensitive user data such as payment details. Apparently the
extension will be taken down if this is not dealt with.

I'm hoping simply removing this line will be enough.
2019-01-10 12:57:54 +01:00
Tom Watson 77fed12f15
Merge pull request #13 from TerryAg/master
Escaped period in www.
2019-01-09 09:54:51 +01:00
Terry Agapitos 8a2c656379 Escaped period in www. - also used prettier to format document and fix minor issues (eg missing semi-colons) 2019-01-09 16:29:22 +11:00
Tom Watson 9e9102c45d bump version 2018-12-06 15:58:54 +01:00
Tom Watson 3824a95058 linting fixes 2018-12-06 15:58:41 +01:00
Tom Watson eb008c724d
Merge pull request #10 from zamicol/master
add support for poll pages
2018-12-06 15:58:14 +01:00
Zamicol fb325a7ae4 add support for poll pages 2018-11-19 23:59:07 -07:00
Tom Watson 11c3c4b114 fix redirect for pay.reddit.com 2018-06-12 11:21:54 +02:00
Tom Watson 8f1d57f9c3
Merge pull request #3 from purpleidea/feat/add-prefix
add redirect for pay.reddit.com as well
2018-06-12 11:20:34 +02:00
James Shubin 146a773f60 add redirect for pay.reddit.com as well
This is another prefix that is commonly used across reddit.
2018-06-12 03:28:53 -04:00
Tom Watson bc54bb53d9 ensure permissions let np. and new. redirects work 2018-05-03 15:14:04 +02:00
Tom Watson d504ef268c also redirect for new.reddit.com links 2018-05-03 15:10:45 +02:00
Tom Watson 86902fd56d expand readme 2018-04-25 17:52:09 +02:00
Tom Watson b80019b155 update README with links to extensions 2018-04-25 17:16:37 +02:00
Tom Watson fc8908d0e3 add screenshot 2018-04-25 17:07:47 +02:00
Tom Watson c2f3aa7b7d use https for redirect 2018-04-25 17:07:44 +02:00
Tom Watson d30dcc5dcc improve readme 2018-04-25 16:43:58 +02:00
Tom Watson 93e78faa98 initial commit 2018-04-25 16:43:21 +02:00