Post Reply 
Converting Javascript Links to Normal Links
Dec. 24, 2005, 04:43 PM
Post: #1
Converting Javascript Links to Normal Links
Code:
[Patterns]
Name = "<A> Javascript Link Remover {Beta} [Kye-U]"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 512
Match = "<a\1href=$AV(javascript:(^emoticon)\w\("
        ""
        "(*|)"
        "(\'(http://|*(.[a-Z]+{3,4}|\?|\w/|/\w|..)*)\2\',\'*\',\'*\'"
        "|\'*\',\'(http://|*(.[a-Z]+{3,4}|\?|\w/|/\w|..)*)\2\',\'*\'"
        "|\'*\',\'*\',\'(http://|*(.[a-Z]+{3,4}|\?|\w/|/\w|..)*)\2\')"
        "(*|)"
        ""
        "\)(;|))\3>"
Replace = "<a\1href="\2"\3>"

Very ugly, but works Wink

Changes:

Quote:<a href="jOpenWindow('test.html','Window','Popup',0);">Test[/url]

To:

Quote:<a href="test.html">Test[/url]
Visit this user's website
Add Thank You Quote this message in a reply
Dec. 28, 2005, 03:45 AM
Post: #2
 
Dear Sir

How can we run the above mcro.I am not a computer expert but wouldlike to get rid of the filters.

Thanks
Quote this message in a reply
Dec. 28, 2005, 06:36 AM
Post: #3
 
Hi Smile!

Highlight the filter code (everything inside the box), right-click, copy, then go to Proxomitron's main screen, click on Edit Web Filters, right-click on the blank space beside a filter, then click on "Import".

If you've never used Proxomitron before, please read the guide I created:

http://prxbx.com/resources/setup.php
Visit this user's website
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: