joaotarla
Re:Show HN: Random Wikipedia browser extension
on Friday March 01, 2019 @05:59AM (#19279461)
I'll fix that and add a pretty description, thanks!
Re:Show HN: Random Wikipedia browser extension
on Friday March 01, 2019 @05:56AM (#19279448)
Actually not, the only way to do this is using an extension.
The source code is here: https://github.com/tarla/random-wikipedia-chrome-extension
Re:Show HN: Random Wikipedia browser extension
on Friday March 01, 2019 @05:54AM (#19279435)
It doesn't! the real code is pretty much one line in the background.js here: https://github.com/tarla/random-wikipedia-chrome-extension
the other parts are just to add a donate button that redirects to Wikimedia Foundation page
Re:Show HN: Random Wikipedia browser extension
on Friday March 01, 2019 @05:52AM (#19279429)
actually the source code is here, it is basically one method to override the default new tab behaviour.
https://github.com/tarla/random-wikipedia-chrome-extension