News for hackers. Stuff that matters.
Re:Show HN: Random Wikipedia browser extension by dfsdfklgjljg on Friday March 01, 2019 @03:17AM (#19278768)
can't you just set the new tab page url to the wikipedia random page link?
Re:Show HN: Random Wikipedia browser extension by joaotarla 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 by szatkus on Friday March 01, 2019 @07:44AM (#19280017)
If 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 :/

Re:Show HN: Random Wikipedia browser extension by randomhnuser on Friday March 01, 2019 @04:57AM (#19279179)
Neat idea, but why exactly does it need to read my browsing history?
Re:Show HN: Random Wikipedia browser extension by joaotarla 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 by anowlcalledjosh on Friday March 01, 2019 @07:52AM (#19280077)
That'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).
Re:Show HN: Random Wikipedia browser extension by 1011_1101 on Friday March 01, 2019 @03:46AM (#19278883)
Since 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.

Re:Show HN: Random Wikipedia browser extension by joaotarla 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
Re:Show HN: Random Wikipedia browser extension by Geordi7 on Friday March 01, 2019 @04:13AM (#19278985)
Oddly, the only way to change the new tab page is with an extension.
Re:Show HN: Random Wikipedia browser extension by jwmjj on Friday March 01, 2019 @04:19AM (#19279007)
With Firefox, you can add a link to your new tab page (and everybody else's) just by paying Mozilla a hefty sum!
Re:Show HN: Random Wikipedia browser extension by ericsoderstrom on Friday March 01, 2019 @02:55AM (#19278681)
Your overview page appears to have two copies of the same image.
Re:Show HN: Random Wikipedia browser extension by joaotarla 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 by jwmjj on Friday March 01, 2019 @04:16AM (#19278994)
That really looks like a lot of work, congratulations!