mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-09 04:06:27 -04:00
Revert "Do not treat static resources from mozilla as unwanted"
This reverts commit 754a722cdab46004517ef7b0b53ea435ebe9a5e7.
This commit is contained in:
parent
0a6b064dd4
commit
954cd5d192
@ -59,7 +59,7 @@ function filterReplayFiles (dirEntry) {
|
||||
params.isLandingPage && /^(A\/)?index\.html(?:[?#]|$)/.test(dirEntry.url)) {
|
||||
dirEntry.inspect = true;
|
||||
}
|
||||
if (/(?:\bload\.js|\bsw\.js|analytics.*\.js|update\.googleapis|play\.google.*(?:stats|logs)|youtube\.com.*\/stats|google\.internal|syndication|survey\.js|yuiloader\.js|doubleclick|play\.google\.)(?:[?#]|$)/i.test(dirEntry.url)) {
|
||||
if (/(?:\bload\.js|\bsw\.js|analytics.*\.js|update\.googleapis|play\.google.*(?:stats|logs)|youtube\.com.*\/stats|google\.internal|syndication|survey\.js|yuiloader\.js|doubleclick|play\.google\.|developer\.mozilla\.org\/static\/js\/main\..+\.js)(?:[?#]|$)/i.test(dirEntry.url)) {
|
||||
dirEntry.nullify = true;
|
||||
}
|
||||
return dirEntry;
|
||||
|
Loading…
x
Reference in New Issue
Block a user