4 ms·
Show HN: Random Wikipedia browser extension
- ericsoderstrom 8y agoYour overview page appears to have two copies of the same image.
- joaotarla 8y agoI'll fix that and add a pretty description, thanks!
- dfsdfklgjljg 8y agocan't you just set the new tab page url to the wikipedia random page link?
- joaotarla 8y agoActually not, the only way to do this is using an extension. The source code is here: https://github.com/tarla/random-wikipedia-chrome-extension https://github.com/tarla/random-wikipedia-chrome-extension
- szatkus 8y agoIf my memory is right it was possible in old versions of Chrome. I see it's possible in current Firefox, but only for new windows :/
- 1011_1101 8y agoSince the sole feature of this extension is pretty trivial and can be easily replaced with a bookmark, I would be honestly worried about some "hidden features". The barely two sentence description and low resolution preview picture also don't inspire much confidence.
- Geordi7 8y agoOddly, the only way to change the new tab page is with an extension.
- jwmjj 8y agoWith Firefox, you can add a link to your new tab page (and everybody else's) just by paying Mozilla a hefty sum!
- joaotarla 8y agoactually 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 https://github.com/tarla/random-wikipedia-chrome-extension
- jwmjj 8y agoThat really looks like a lot of work, congratulations!
- randomhnuser 8y agoNeat idea, but why exactly does it need to read my browsing history?
- joaotarla 8y agoIt doesn't! the real code is pretty much one line in the background.js here: https://github.com/tarla/random-wikipedia-chrome-extension https://github.com/tarla/random-wikipedia-chrome-extension the other parts are just to add a donate button that redirects to Wikimedia Foundation page
- anowlcalledjosh 8y agoThat's from the "tabs" permission; I'm not sure why the extension requests it, as it doesn't appear that it's required by the code (the chrome.tabs API does not require it, you only need the permission if you're reading the URL/title/favicon of existing tabs AFAIK).