run script in iframe

This commit is contained in:
Gabe Yuan
2023-08-24 16:39:35 +08:00
parent 2665f31d94
commit 4633bf4fc6
2 changed files with 8 additions and 15 deletions

View File

@@ -24,9 +24,9 @@ import { isGm } from "./libs/browser";
}
// skip iframe
if (window.self !== window.top) {
return;
}
// if (window.self !== window.top) {
// return;
// }
// 翻译页面
const setting = await getSetting();