Post Reply 
document.write(unescape
Nov. 05, 2010, 06:40 PM
Post: #4
RE: document.write(unescape
I don't think the Proxomitron's unescape routine does space (%20), tab (\t %09), return (\r %0d), new line (\n %0a), or non-displayable ASCII characters.
http://www.proxomitron.info/45/help/Matc....html#UESC

Code:
[Patterns]
Name = "Log Unescaped javascript code - Tpy - TEST"
Active = TRUE
Multi = TRUE
Bounds = "<script*</script>"
Limit = 4096
Match = "*document.write\(unescape\("(\#%20$SET(\#= ))+\#"\)"
        "&\0"
Replace = "\0\r\n"
          "<!--"
          "Unescape script above reads :\r\n"
          "$UESC(\@)"
          "\r\n//-->\r\n"

Checking for "document.write" first should speed up page load by letting the filter fail quicker.

Sidki's set does have a converter.
"Test Window: Unescape Strings" unescapes most escaped characters in the code added to the Proxomitron's Test Window.
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: