dnakov / little-rat

🐀 Small chrome extension to monitor (and optionally block) other extensions' network calls
MIT License
2.08k stars 64 forks source link

Feature request: Firefox support? #8

Closed Fadyio closed 1 year ago

Fadyio commented 1 year ago

Any plans to support Firefox?

dnakov commented 1 year ago

Yeah, but unfortunately firefox hasn't implemented declarativeNetRequest.onRuleMatchedDebug I don't know of any other way to do it

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/declarativeNetRequest/onRuleMatchedDebug https://bugzilla.mozilla.org/show_bug.cgi?id=1745773

dnakov commented 1 year ago

While we can't see the requests in FF, I think we can block them. I'm not sure how useful that'd be. The extension won't be able to give you any feedback but it could allow you to just block network requests for a particular extension (or all.) I haven't tried it, but you can probably do that with uBlock Origin already using custom rules.

nicoleahmed commented 1 year ago

Ah that's interesting I wasn't sure if UBO was working with extension traffic.

So it might be the case that requests are made but then blocked by UBO Little rat would show these?

nicoleahmed commented 1 year ago

I looked into this a couple of weeks ago

But couldn't find clear answers

But this thread suggests no UBO can't block extension traffic so still huge security risks:

can ubl block other chrome extensions - reddit

dnakov commented 1 year ago

In Firefox, I can't even filter requests originating from other extensions, no matter what I try.

dnakov commented 1 year ago

Closing this, I don't see a way of making this work in FF. Reopen if you have any ideas

virginviolet commented 10 months ago

There is probably a security benefit in not allowing extensions to spy on each other. But, if that's the route Mozilla is going for, I think they should implement the functionality of Little Rat into the browser itself. Someone write a feature request?