diff --git a/src/common.js b/src/common.js index ab92551..d54a242 100644 --- a/src/common.js +++ b/src/common.js @@ -118,7 +118,10 @@ async function getFavWords(rule) { */ export async function run(isUserscript = false) { try { - if (document?.documentElement?.tagName?.toUpperCase() !== "HTML") { + // if (document?.documentElement?.tagName?.toUpperCase() !== "HTML") { + // return; + // } + if (!document?.contentType?.includes("html")) { return; }