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
// ==/UserScript==
// dont touch iframes
if (window.top != window.self) {
return;
}
// our document location
let link = document.location.href;