[noTrack] Blocking improvements (#108)

* [noTrack] Also block metrics call

* [noTrack] Wildcard api version for science call
pull/131/head
alsoGAMER 1 year ago committed by GitHub
parent c2cd5449bd
commit 40b27dd1b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
src/bootstrap.js vendored

@ -75,7 +75,8 @@ const startCore = () => {
const startUpdate = () => {
const urls = [
oaConfig.noTrack !== false ? 'https://*/api/v9/science' : '',
oaConfig.noTrack !== false ? 'https://*/api/*/science' : '',
oaConfig.noTrack !== false ? 'https://*/api/*/metrics' : '',
oaConfig.noTyping === true ? 'https://*/api/*/typing' : ''
].filter(x => x);

Loading…
Cancel
Save