Post Reply 
Firefox Noscript and Sidki's JS Insertion
Oct. 09, 2008, 02:20 PM
Post: #7
RE: Firefox Noscript and Sidki's JS Insertion
Hope this code helps, you could use it inside $URL():
Code:
[Patterns]
Name = "<example> Convert url to vars {ln}081009"
Active = FALSE
Limit = 256
Match = "(http://local.ptron/sidki_h_2008-01-02/proxjs-full.js?"
        "((\#"
        "(\$_$SET(\#=\r\nvar )"
        "|\&$SET(\#=; ))"
        ")+\#)"
        ")"
Replace = "\@;"
Test it with the next text in the test window:
http://local.ptron/sidki_h_2008-01-02/pr...2008-01-02

Note1: If the name of the vars includes _ at the biginning change (\$_$SET(\#=\r\nvar ) by (\$$SET(\#=\r\nvar )
Note2: I don't know about javascript but i think the result is well formated.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Firefox Noscript and Sidki's JS Insertion - Guest - Sep. 07, 2008, 11:32 PM
RE: Firefox Noscript and Sidki's JS Insertion - lnminente - Oct. 09, 2008 02:20 PM

Forum Jump: