mirror of
https://github.com/wassname/mad.git
synced 2026-07-15 01:11:28 +08:00
12 lines
272 B
JavaScript
12 lines
272 B
JavaScript
chrome.webRequest.onBeforeRequest.addListener(
|
|
function(details) {
|
|
console.log("Is this evenf ucking working details.url: " + details.url);
|
|
console.log(details);
|
|
return {redirectUrl: "http://google.com"};
|
|
},
|
|
{
|
|
urls: ["<all_urls>"]
|
|
},
|
|
["blocking"]
|
|
);
|