Author Topic: Updated "Allow for frame resizing"  (Read 2411 times)

Jor

  • Moderator
  • Sr. Member
  • *****
  • Posts: 421
    • ICQ Messenger - 10401286
    • AOL Instant Messenger - jor otf
    • Yahoo Instant Messenger - jor_otf
    • View Profile
    • http://members.outpost10f.com/~jor/
    • Email
Updated "Allow for frame resizing"
« on: May 12, 2002, 11:45:57 PM »
This is one of the default filters, I added scrolling= to the list of attributes to be checked, as I've found the value scrolling=auto or scrolling=no also prevents frame resizing.

[Patterns]
Name = "Allow for frame resizing"
Active = TRUE
Bounds = "<fram*>"
Limit = 1024
Match = "(#((frameborder|border|scrolling)=$AV(*)|noresize|"
        "=$AV(0|no)$SET(#==1 )))+ 1 >"
Replace = "@1 border=1>"


[Edit: fixed a typo which caused erratic behaviour)

Edited by - Jor on 18 Jun 2002  15:49:56