mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-03 03:56:26 +02:00
parent
9dcb1f8903
commit
947d9e0c59
9 changed files with 131 additions and 6 deletions
|
@ -66,6 +66,9 @@
|
|||
const settings = require("./settings");
|
||||
|
||||
function getDomain(window){
|
||||
if (settings.sharePersistentRndBetweenDomains){
|
||||
return "shared://domain";
|
||||
}
|
||||
if (!window.location.href || window.location.href === "about:blank"){
|
||||
if (window !== window.parent){
|
||||
return getDomain(window.parent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue