Blocking Proxy Scams
This modification is in the archives.
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. |
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 |