Skip to content

Commit 16675d6

Browse files
committed
disable extension on clickup (does trigger NS_ERROR_CORRUPTED_CONTENT) on cloudfront urls
1 parent c737629 commit 16675d6

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

packages/extension/babel.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"presets": ["@babel/preset-env"]
2+
"presets": [["@babel/preset-env", { "targets": "defaults" }]]
33
}

packages/extension/extension/manifest.json

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,9 @@
77
"minimum_chrome_version": "88.0",
88
"content_scripts": [
99
{
10-
"matches": [
11-
"http://*/*",
12-
"https://*/*",
13-
"file://*/*"
14-
],
15-
"js": [
16-
"content-script.js"
17-
],
10+
"matches": ["http://*/*", "https://*/*", "file://*/*"],
11+
"exclude_matches": ["https://app.clickup.com/*"],
12+
"js": ["content-script.js"],
1813
"all_frames": true,
1914
"run_at": "document_start"
2015
}
@@ -25,12 +20,8 @@
2520
},
2621
"web_accessible_resources": [
2722
{
28-
"resources": [
29-
"immutable-object-formatter.js"
30-
],
31-
"matches": [
32-
"<all_urls>"
33-
]
23+
"resources": ["immutable-object-formatter.js"],
24+
"matches": ["<all_urls>"]
3425
}
3526
],
3627
"browser_specific_settings": {

0 commit comments

Comments
 (0)