Hostboard
06-23-2008, 03:03 PM
Something I would like to release to the .org community but first wanted feed back on the implementation/concept from those more knowledgeable.
I am not a coder, take absolutly zero credit for this. I only came across the article/website and feel if we can make it easier and safer for those less knowledgeable then all the better
The article:
http://www.proxyscam.com/
Save file as vbulletin_proxyscam.js upload it to /forums/clientscript/ directory.
// Tells the web-browser "If you're in a frame break out and load the page normally"
<script language="JavaScript" type="text/javascript">
var sThisURL = window.location.href;
function doFramesBuster()
{
if ( top.location != self.location )
{
top.location.replace( sThisURL );
}
}
</script>
Then edit your headinclude template, and add the following:
<script defer type="text/javascript" src="clientscript/vbulletin_proxyscam.js?v=$vboptions[simpleversion]">
</script>
I am not a coder, take absolutly zero credit for this. I only came across the article/website and feel if we can make it easier and safer for those less knowledgeable then all the better
The article:
http://www.proxyscam.com/
Save file as vbulletin_proxyscam.js upload it to /forums/clientscript/ directory.
// Tells the web-browser "If you're in a frame break out and load the page normally"
<script language="JavaScript" type="text/javascript">
var sThisURL = window.location.href;
function doFramesBuster()
{
if ( top.location != self.location )
{
top.location.replace( sThisURL );
}
}
</script>
Then edit your headinclude template, and add the following:
<script defer type="text/javascript" src="clientscript/vbulletin_proxyscam.js?v=$vboptions[simpleversion]">
</script>