Fix some issues with crowd bypass (fixes #401)

This commit is contained in:
Tim "timmyRS" Speckhals 2019-08-29 07:48:04 +02:00
parent f2065100a2
commit 36c4815ab7
2 changed files with 1 additions and 2 deletions

View File

@ -49,7 +49,6 @@ foreach($index as $fn)
if($fn == "manifest.json")
{
$json = json_decode(file_get_contents($fn), true);
unset($json["web_accessible_resources"]);
$json["incognito"] = "split";
$build->addFromString($fn, json_encode($json, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES));
}

View File

@ -1191,7 +1191,7 @@ if(document instanceof HTMLDocument)
})
document.documentElement.setAttribute("`+message_channel.adlinkfly_info+`","")
let iT=setInterval(()=>{
if(document.documentElement.hasAttribute("`+message_channel.adflinkfly_target+`"))
if(document.documentElement.hasAttribute("`+message_channel.adlinkfly_target+`"))
{
clearInterval(iT)
let t=document.documentElement.getAttribute("`+message_channel.adlinkfly_target+`")