There was an error while loading. Please reload this page.
1 parent a6bd665 commit 1f0ac0fCopy full SHA for 1f0ac0f
src/bootstrap.js
@@ -75,9 +75,9 @@ const startCore = () => {
75
};
76
77
const startUpdate = () => {
78
- session.defaultSession.webRequest.onBeforeRequest({ urls: [
79
- oaConfig.noTrack ? 'https://*/api/v9/science' : '',
80
- oaConfig.noTyping ? 'https://*/api/*/typing' : ''
+ session.defaultSession.webRequest.onBeforeRequest({ urls: [ 'https://a.invalid/a',
+ oaConfig.noTrack !== false ? 'https://*/api/v9/science' : '',
+ oaConfig.noTyping === true ? 'https://*/api/*/typing' : ''
81
].filter(x => x) }, (e, cb) => cb({ cancel: true }));
82
83
const startMin = process.argv?.includes?.('--start-minimized');
0 commit comments