Disallow running on iframes

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2023-09-17 17:09:55 +00:00
parent 51f68152a3
commit 890bf6bfcd

View file

@ -24,6 +24,11 @@
// @grant none // @grant none
// ==/UserScript== // ==/UserScript==
// dont touch iframes
if (window.top != window.self) {
return;
}
// our document location // our document location
let link = document.location.href; let link = document.location.href;