We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d42d6e7 commit ccd2639Copy full SHA for ccd2639
1 file changed
src/app/service/service_worker/script.ts
@@ -131,8 +131,12 @@ export class ScriptService {
131
regexFilter: "^([^#]+?)\\.user(\\.bg|\\.sub)?\\.js((\\?).*|$)",
132
resourceTypes: [chrome.declarativeNetRequest.ResourceType.MAIN_FRAME],
133
requestMethods: ["get" as chrome.declarativeNetRequest.RequestMethod],
134
- // 排除常见的符合上述条件的域名
135
- excludedRequestDomains: ["github.com"],
+ excludedResponseHeaders: [
+ {
136
+ header: "Content-Type",
137
+ values: ["text/html"],
138
+ },
139
+ ],
140
},
141
142
],
0 commit comments