This filter will fix framesets, when a "webmaster" mistakenly uses the <body> tag instead of <noframes>, killing the frameset in Opera, and possibly other W3C-compliant browsers.
Name = "Fix bad framesets 1"
Active = TRUE
Limit = 256
Match = "</frameset>*<body*>"
Replace = "<noframes>"
Name = "Fix bad framesets 2"
Active = TRUE
Limit = 256
Match = "</frameset>/1</body>"
Replace = "/1</noframes></frameset></body>"
The first filter replaces the body tag with the correct noframes, and the second filter correctly closes the frameset and page.
Please note that to use this filter properly, you have to have both filters activated, and placed in the correct order -- 1 has to come before 2.
Edited by - Jor on 07 Apr 2002 14:29:39