Skip to content

Commit 637ed55

Browse files
committed
Fix CDN detection and update app icon
Remove 'type: module' from manifest.json background scripts. ES modules have isolated scope, preventing constants.js variables from being accessible in background.js. Classic scripts share global scope, which is what we need. Also update app icon to new design with cloud and HIT badge.
1 parent 75d1479 commit 637ed55

18 files changed

Lines changed: 1 addition & 2 deletions
10.2 KB
Loading
109 Bytes
Loading
613 Bytes
Loading
592 Bytes
Loading

CF Cache Status/CF Cache Status Extension/Resources/manifest.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
}
2020
},
2121
"background": {
22-
"scripts": ["constants.js", "background.js"],
23-
"type": "module"
22+
"scripts": ["constants.js", "background.js"]
2423
},
2524
"content_scripts": [
2625
{
10.2 KB
Loading
37.8 KB
Loading
109 Bytes
Loading
613 Bytes
Loading
37.8 KB
Loading

0 commit comments

Comments
 (0)