electron/spec/fixtures/extensions/chrome-webRequest/background.js

10 lines
170 B
JavaScript
Raw Normal View History

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