JubbeArt/removeddit

Bug in the bookmarklet or API

Opened this issue · 3 comments

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

Regards :octocat:

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

Change the bookmarklet to:

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

and it also works on old.reddit.com

AyrA commented

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)