I am trying to load and run a very basic extension that blocks all URLs but nothing happens. The MANIFEST.JSON file:
{
"manifest_version": 2,
"name": "Dial2Action",
"description": "This is my description",
"version": "1.0",
"background": {"scripts":["background.js"]},
"permissions": [
"webRequest",
"webRequestBlocking",
"https://app.dial2web.com/"
]
}
and the background.js file:
chrome.webRequest.onBeforeRequest.addListener(
function(details) {
return {cancel: true}; },
{urls: ["<all_urls>"]},
["blocking"]);
I will be glad to get a hint or a reference to a working simple redirect extension.