From 613dbd8886f06bca63bd8b6505a19371e34f7908 Mon Sep 17 00:00:00 2001 From: tophf Date: Wed, 25 Dec 2024 22:03:01 +0300 Subject: [PATCH] fix #1862: content-type may contain extra stuff --- src/background/usercss-install-helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/background/usercss-install-helper.js b/src/background/usercss-install-helper.js index 0c823cdfa0..cf7ba8edc2 100644 --- a/src/background/usercss-install-helper.js +++ b/src/background/usercss-install-helper.js @@ -54,7 +54,7 @@ export function toggleUrlInstaller(val) { responseHeaders: [{ header: kContentType, values: ['text/*'], - excludedValues: ['text/html'], + excludedValues: ['text/html*'], // * excludes charset and whatnot }], }, action: {