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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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']
);