Disallow running on iframes
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
51f68152a3
commit
890bf6bfcd
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue