Skip to content

Commit

Permalink
No CSS inject on pages with inline style
Browse files Browse the repository at this point in the history
  • Loading branch information
RangerMauve committed Apr 23, 2024
1 parent fd04f30 commit c057bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const DEFAULT_SAVE_INTERVAL = 30 * 1000
const HAS_SHEET = `
[...document.styleSheets].filter((sheet) => {
try {sheet.cssRules; return true} catch {return false}
}).length
}).length || !!document.querySelector('[style]')
`

const WINDOW_METHODS = [
Expand Down

0 comments on commit c057bba

Please sign in to comment.