News for hackers. Stuff that matters.
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).