Old Proxomitron Forums

Proxomitron Filters - Discussions welcome => Cosmetic => Topic started by: UPieper on January 19, 2002, 12:00:19 PM

Title: check frames
Post by: UPieper on January 19, 2002, 12:00:19 PM
Hi all,

first let me say that you have a nice forum here.

I'm playing around(at least I'm trying) with this filter:

Name = "TOP MENUE"
Active = TRUE
URL = "(^$LST(Top_menue_disable))"
Limit = 512
Match = "<body"
Replace = "<center><table border=3 bgcolor="green"><tr><td>""<a href="http://samspade.org/">Samspade--"
          "<a href="http://bypass..u">ByPass--"
          "<a href="http://dbug..u">DBug--"
          "<a href="http://src..u">SRC</a>"
          "</table></center>
"
          "<BODY"
          "$STOP()"

I would like to include a check if there is a frameset on the page and if there is one, not apply this filter, or even better make it work in a way that the top menue only appears on the main page and not in all frames(eg. Microsoft uses many frames).
Now I've been trying to include something like (^<frameset*) in the match section, but this obviously doesn't work. :-(

So, what do I have to do to make that work the way I want it?

Thanks in advance for any help...

Uli

 
Title: check frames
Post by: UPieper on January 19, 2002, 12:17:56 PM
Here's a URL with a lot of frames: http://www.microsoft.com/technet/treeview/default.asp?url=/technet/itsolutions/security/current.asp

 
Title: check frames
Post by: Arne on January 21, 2002, 07:02:22 AM
You'r not forgotten :-) I just don't have an answer to you. You could check what I have done in the "ArneScroller" and where I have changed the "Open Menu" to just an "O" so that it will not dominate the frames. But this only works in IE though.


Best wishes
Arne
Imici username: Arne
Title: check frames
Post by: Jor on January 21, 2002, 12:40:18 PM
Hi,

if the body tag is used, there cannot be a frameset, so all you have to do is check for the use of the <body> tag.

In any case, placing content outside the body tag may cause the pages to not load at all... you should try something like <body 1> instead of <body *, and put the additional content after <body 1>.



Praeterea censeo Americe esse delendam.
Title: check frames
Post by: Arne on January 21, 2002, 01:02:51 PM
I think he only wants it in the "main" frame and there will be BODY tags in each frame; ie. it will show up in each one. I have not found a way out of it yet


Best wishes
Arne
Imici username: Arne
Title: check frames
Post by: Jor on January 21, 2002, 01:39:48 PM
This would require checking each page to see if it is part of a frameset, and if so, only load it in one particular frame... sounds like something Prox cannot do.

Praeterea censeo Americe esse delendam.
Title: check frames
Post by: UPieper on January 21, 2002, 09:40:29 PM
Hi Arne, Jor

on this page there's a lot of info on frames. Unfortunately it doesn't tell me much :-(

But maybe it's of help to you...

http://www.irt.org/cgi-bin/htwrap?restrict=&exclude=&config=htdig&method=and&format=builtin-long&words=frameset&page=2

Do I see it right that a check as described in my first post is only feasible via a script and seemingly not via a match for <frameset ??

Bye,

Uli



Edited by - upieper on 21 Jan 2002  21:48:08