Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in the bookmarklet or API #4

Open
mikhoul opened this issue Nov 18, 2018 · 3 comments
Open

Bug in the bookmarklet or API #4

mikhoul opened this issue Nov 18, 2018 · 3 comments

Comments

@mikhoul
Copy link

mikhoul commented Nov 18, 2018

When you use "old.reddit.com" the bookmarklet don't work because it return ""https://old.removeddit.com/" which don't exist...

Regards :octocat:

@rhaksw
Copy link

rhaksw commented Nov 30, 2018

Hey, you can try using revddit.com instead. old.revddit.com and new.revddit.com links work there

@Splamy
Copy link

Splamy commented Mar 25, 2019

Change the bookmarklet to:

javascript: document.location = document.URL.replace(/(old\.)?reddit.com/,'removeddit.com');

and it also works on old.reddit.com

@AyrA
Copy link

AyrA commented Aug 4, 2019

You can also replace the bookmark with javascript:location.hostname='removeddit.com';

Setting location properties will navigate automatically if necessary. This makes the bookmark work regardless of where you are (for example on non-participation URLs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants