Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension : browser.webRequest is undefined #143

Open
sam-deepweb opened this issue Jul 11, 2020 · 1 comment
Open

Extension : browser.webRequest is undefined #143

sam-deepweb opened this issue Jul 11, 2020 · 1 comment

Comments

@sam-deepweb
Copy link

sam-deepweb commented Jul 11, 2020

I'm using webRequest in my extension but I got this error when I run it in the GeckoView :

Untitled

I don't know why javascript engine doesn't know the webRequest module in GeckoView while there is no problem in Firefox desktop ?

As of this page
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest
Firefox for Android supports webRequest but I'm confused why it gives error ?

@coxato
Copy link

coxato commented Nov 13, 2020

@sam-deepweb same problem, I use this example https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Intercept_HTTP_requests

and is not working, if I write console.log(browser.webRequest) is undefined. did you solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants