bootstrap: tweak webRequest handling

pull/88/head
CanadaHonk 2 years ago
parent 5c68a2a78f
commit 3314bc9c28

2
src/bootstrap.js vendored

@ -78,7 +78,7 @@ const startUpdate = () => {
session.defaultSession.webRequest.onBeforeRequest({ urls: [
oaConfig.noTrack ? 'https://*/api/v9/science' : '',
oaConfig.noTyping ? 'https://*/api/*/typing' : ''
].filter(x => x) }, async (e, cb) => cb({ cancel: true }));
].filter(x => x) }, (e, cb) => cb({ cancel: true }));
const startMin = process.argv?.includes?.('--start-minimized');

Loading…
Cancel
Save