Back to vBulletin 3.7 Add-ons

Blocking Proxy Scams
Mod Version: 1.00, by Hostboard

This modification is in the archives.
vB Version: 3.7.x Rating: (0 vote - 0 average) Installs: 10
Released: 25 Jun 2008 Last Update: Never Downloads: 69
Not Supported Template Edits Additional Files  

I came across the article/website below and feel if we can make it easier and safer for our members to come to our sites all the better.

The article and where credit should be given:
http://www.proxyscam.com/

I am not a coder, take absolutly zero credit for this. I posted this in the programming discussion forum but got no replies so no idea if I am implementing it correctly (cosses fingers). I read a reply to a thread on another modification that it was better to call javascript due to it being cached at the browser level thus saving bandwidth which why I did not add it directly to the template.

Unzip file and upload it to your /forums/clientscript/ directory.

OR

In notepad save the following code to vbulletin_proxyscam.js and upload to your /forums/clientscript/ directory.

Code:
// 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>

Next edit your headinclude template, and add the following:
Code:
<script defer type="text/javascript" src="clientscript/vbulletin_proxyscam.js?v=$vboptions[simpleversion]">
</script>

Download

This modification is archived, downloads are still allowed.

File Type: %1$s vbulletin_proxyscam.zip (354 Bytes, 72 downloads)

Similar Mods

DNSBL/Open Proxy-Blocking vBulletin 3.5 Add-ons
Add-On Releases DNSBL, RBL - Open Proxy monitoring/blocking vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024