Post Reply 
document.write(unescape
Nov. 04, 2010, 01:40 AM
Post: #1
document.write(unescape
Hi,

More of the sportstream serving sites (like http://www.fromsport.com for example) make heavy use of all kinds of tricks to hide their (sometimes not so nice) code, like countless document.write(unescape javascripts.

Should it be hard, or anyone willing to give me a little push on how to create a filter that will still allow the unescape script, but adds a comment after it containing the decoded (unescape) source of the javascript above ?

Something like this :
Code:
<script language='Javascript'>document.write(unescape('%54%6f%72%6f%6e%74%6f%20%4d%61%70%6c%65%20%4c%65%61%66%73%20%76%73%20%57%61%73%68%69%6e%67%74%6f%6e%20%43%61%70%69%74%61%6c%73'));</script>
<!--
Unescape script above reads :
Toronto Maple Leafs vs Washington Capitals
//-->
D'oh!
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
document.write(unescape - Toppy - Nov. 04, 2010 01:40 AM
RE: document.write(unescape - JJoe - Nov. 05, 2010, 12:32 AM
RE: document.write(unescape - Toppy - Nov. 05, 2010, 04:05 PM
RE: document.write(unescape - JJoe - Nov. 05, 2010, 06:40 PM

Forum Jump: