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

Should add bookmarklet to redirect from Wikipedia #4

Open
jrkolsby opened this issue Oct 31, 2014 · 1 comment
Open

Should add bookmarklet to redirect from Wikipedia #4

jrkolsby opened this issue Oct 31, 2014 · 1 comment

Comments

@jrkolsby
Copy link

I made a bookmarklet that, when viewing an article on wikipedia.org, will to the same article on your website, assuming the URL structure is maintained between the two.

javascript:void((function(){if(document.location.hostname.indexOf('wikipedia.org')!==-1){document.location.href=document.URL.replace('wikipedia.org/wiki','wikipedia.moesalih.com');}else{document.location.href='http://wikipedia.moesalih.com/'}})());

This could be added to the homepage so people could drag it to their bookmarks toolbar.

@jrejaud
Copy link

jrejaud commented Jan 19, 2016

I used Redirector to make this work for me: https://chrome.google.com/webstore/detail/redirector/pajiegeliagebegjdhebejdlknciafen?hl=en-US

I created the following rule:

From: https://en.wikipedia.org/wiki/*

To: http://wikipedia.moesalih.com/

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

2 participants