google / tamperchrome

Tamper Dev is an extension that allows you to intercept and edit HTTP/HTTPS requests and responses as they happen without the need of a proxy. Works across all operating systems (including Chrome OS).
https://tamper.dev
Apache License 2.0
4.19k stars 219 forks source link

Add support for Firefox #71

Open sirdarckcat opened 3 years ago

sirdarckcat commented 3 years ago

Chrome extensions are supported in other browsers (Firefox, Edge, Opera).

https://extensionworkshop.com/documentation/publish/submitting-an-add-on/ https://microsoftedge.microsoft.com/addons/category/Edge-Extensions https://addons.opera.com/extensions

This might require a name change.

sirdarckcat commented 3 years ago

Firefox doesn't support the debugger API.

sirdarckcat commented 3 years ago

For firefox, the WebRequestBlocking API supports asynchronous responses.

sirdarckcat commented 3 years ago

Removing from v2.1.0 launch. The other browsers will be later.

sirdarckcat commented 3 years ago

Edge and Opera have 2.0.7 under review. Other Chromium-based browsers (Brave/Vivaldi) allow installation from the CWS.

Firefox is the only remaining one, and that one is hard, as it requires changes to the background page to use webRequestBlocking.

ankushduacodes commented 3 years ago

Hi @sirdarckcat I would love to take a stab at this but I may need some guidance along the way as I am new to this repo. I do know basic of extension building but I wouldn't say I am a pro as I only know basic structure of an extension on Firefox or Chrome.

sirdarckcat commented 3 years ago

Hi, that's great!

I think you should be able to install angular cli (angular.io) and that should install all dependencies you will need.

Then just go to the v2 directory and run "make". If that works for you, then it would be a good start. We can chat on Discord if you want.

ankushduacodes commented 3 years ago

For Sure!... I will update you soon on how it goes. Thank you for the swift response @sirdarckcat 🚀

ankushduacodes commented 3 years ago

Hi @sirdarckcat, 'make' worked without any errors, Could you please guide me with whats next step here? Also you did talk about chatting on discord, I think that's a great idea, send me invite to your server.

Thanks

ankushduacodes commented 3 years ago

Sent @sirdarckcat

ghost commented 3 years ago

Hi Any update regard making this extension support Firefox?

ankushduacodes commented 3 years ago

Hi @Shen897, I was going to work on the issue but things kept coming up and never got a chance to get started on this. If you want to work on it, you are welcome, from my side, to take on this issue. :)

ghost commented 3 years ago

I'm not knowledgeable enough of javascript to give this project a try, to be honest it's out of my league. I was hoping the Maintainers add support for Firefox since it's now already supports multiple browsers [1]

About Tamper Dev: This is the new version of the extension previously called Tamper Chrome, but now supports multiple browsers, and does not require an auxiliary app. This extension provides functionality similar to Burp Proxy, MITM Proxy, OWASP ZAP, Tamper Data, and Postman Proxy, but without the need of additional software, with full support of HTTPS connections, and trivial to set-up (just install).

[1](https://tamper.dev/)

sirdarckcat commented 3 years ago

The code is setup to allow for Firefox integration, but it's still some work as it uses a completely different API.