| Index: lib/cssInjection.js |
| =================================================================== |
| --- a/lib/cssInjection.js |
| +++ b/lib/cssInjection.js |
| @@ -75,16 +75,19 @@ |
| cssOrigin: "user", |
| frameId, |
| matchAboutBlank: true, |
| runAt: "document_start" |
| }); |
| } |
| catch (error) |
| { |
| + if (!/\bcssOrigin\b/.test(error.message)) |
| + throw error; |
| + |
| userStyleSheetsSupported = false; |
| } |
| return userStyleSheetsSupported; |
| } |
| function removeStyleSheet(tabId, frameId, styleSheet) |
| { |