10 lines
170 B
JavaScript
10 lines
170 B
JavaScript
|
/* global chrome */
|
||
|
|
||
|
chrome.webRequest.onBeforeRequest.addListener(
|
||
|
(details) => {
|
||
|
return { cancel: true };
|
||
|
},
|
||
|
{ urls: ['*://127.0.0.1:*'] },
|
||
|
['blocking']
|
||
|
);
|