Anyone doing iframe blackhat, How to bypass this ?

meannn

Elite Member
Joined
Apr 22, 2009
Messages
1,908
Reaction score
2,771
The offer page has this;

if(self===top)
{
var a=document.getElementById("body");
a.parentNode.removeChild(a)
}
else
{
top.location=self.location
}


So basically what it does is, removes the body (show nothing) if its being iframed. Anyone knows how to bypass ?

Thanks
 
From the code I see there are not many options.

But, if you set let top = lol to another value it does not replaces the body tag as it does not go into the if-statement.

Another way is to change the prototype of the removeChild() method.

What`s the context behind your question?
 
Back
Top