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