We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a719bdb commit 13da427Copy full SHA for 13da427
src/background.ts
@@ -8,7 +8,7 @@
8
9
// Look for JSON if the content type is "application/json",
10
// or "application/whatever+json" or "application/json; charset=utf-8"
11
-const jsonContentType = /^application\/(\w!#$&\.-\^\+)?json($|;)/;
+const jsonContentType = /^application\/([\w!#$&.\-^+]+\+)?json($|;)/;
12
13
// Keep track globally of URLs that contain JSON content.
14
const jsonUrls = new Set<string>();
0 commit comments