Blocking request in Chrome
I'm trying to block some requests in a Chrome app. I created a JavaScript listener that does this validation: chrome.webRequest.onBeforeRequest.addListener( { urls: ["*://site.com/test/*"] }, ["blocking"] ); But the requests are not blocking. Did I miss something in this code? My manifest: "background": { "scripts": ["listener.js"], "persistent": true }, "permissions": ["tabs", "http://*/*"], "manifest_version": 2,
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.