8 ms·
sounds great, do you have plans to port it to Firefox? Does anyone know an equivalent that do the same thing on Firefox?
by bluish29 3y ago
sounds great, do you have plans to port it to Firefox?
Does anyone know an equivalent that do the same thing on Firefox?
- npace12 3y agoYeah, I'm going to try this shortly, will post an update.
- distortedsignal 3y agoInteresting. I'll be watching this. Thanks for the project!
- fjfuvucucuc 3y agoWaiting :)
- npace12 3y agoupdate: so far not great... declarativeNetRequest.onRuleMatchedDebug is not available [1] Even though the docs say it's behind a flag [2], it's undefined. [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1745773 https://bugzilla.mozilla.org/show_bug.cgi?id=1745773 [2]: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/declarativeNetRequest#testing https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...
- 123pie123 3y agolooking forward to this
- username135 3y agoSame
- vdfs 3y agoIn most cases, just adding "var chrome = browser;" to the top of each js files would make it work for firefox, which is just a copy of Chrome Extension APIs with slight changes
- lapcat 3y agoFirefox add-ons actually recognize the "chrome" keyword.
- weaksauce 3y agothey actually have a js polyfill that lets you use promise based `browser` keyword in chrome too.
- judge2020 3y agoAccording to mdn[0], Firefox does not support onRuleMatchedDebug so just importing the code likely won't work. 0: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/declarativeNetRequest/onRuleMatchedDebug https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...
- deleted 3y ago[deleted]
- krono 3y agoI believe that these connections should also appear in the browser console[1], otherwise you could always log the traffic[2] or inspect/debug any individual extension[3]. You will be amazed at the obvious extension policy violations Mozilla is letting many of their "recommended" extensions get away with. [1]: https://firefox-source-docs.mozilla.org/devtools-user/browser_console/index.html https://firefox-source-docs.mozilla.org/devtools-user/browse... [2]: https://firefox-source-docs.mozilla.org/networking/http/logging.html https://firefox-source-docs.mozilla.org/networking/http/logg... [3]: https://firefox-source-docs.mozilla.org/devtools-user/about_colon_debugging/index.html#this-firefox https://firefox-source-docs.mozilla.org/devtools-user/about_...
- Modified3019 3y agoAny notable offenders? Seems like something worth reporting.
- krono 3y agoListed some offences and offenders in another comment from last June: https://news.ycombinator.com/item?id=35792605 https://news.ycombinator.com/item?id=35792605 I've reported these and several other extensions again every time they were updated in great technical detail and through various official channels, but stopped bothering when about a year and several extension updates later nothing had changed.
- Modified3019 3y agoGood to know, thank you. If you still happen to have the technical detail you sent off somewhere, that seems like it would be a great reference for starting to learn what to look for. Hell I'm sure HN would appreciate it as a submission (assuming it actually gets eyes and doesn't die in new) I hadn't really cared about this topic, because it adds yet more cognitive overhead and I was relying on mozilla to care. Seems this faith was misplaced.
- krono 3y ago