Welcome to WebmasterWorld Guest from 50.17.16.177

Forum Moderators: incrediBILL

Message Too Old, No Replies

How to stop META refresh?

stop META refresh

     
12:24 am on Dec 4, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 4, 2003
posts:41
votes: 0


I have a problem concerning a META-refresh tag. How do you stop it, when you cannot delete it? I'm NOT looking for a browser option, but for a HTML or JavaScript way to stop META-refresh from running. Please help...
I don't know weather this question was answered somewhere here (if so - please send me a link).
12:30 am on Dec 4, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:May 16, 2003
posts:592
votes: 0


Why cant you delete it? Seems rather silly to try and circumvent it by other means when you should just remove it.
12:56 am on Dec 5, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 4, 2003
posts:41
votes: 0


This is the problem:

snip

It's a WebLog news comment page, where You can post absolutely anything You can imagine (in HTML). Some maniac has put a META refresh in it, and PRESTO!...

Since there's no way of deleting a comment (and - in consequence - deletind META Refresh) I'm looking for a way to stop it by other means. (btw: this is not the only thing the maniac did to this site with the META refresh tag)

[edited by: DaveAtIFG at 4:15 am (utc) on Dec. 5, 2003]
[edit reason] Specifics deleted [/edit]

1:08 am on Dec 5, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 27, 2002
posts:1187
votes: 0


Wow.. It sure gives an interesting effect. :)
10:18 pm on Dec 11, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 4, 2003
posts:41
votes: 0


Come on people...
Not one of You knows?
Am I asking about something impossible?
10:34 pm on Dec 11, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 29, 2003
posts:65
votes: 0


i dont think you can remove unless you can get acess to the code. maybe if you make your browser to like an old one where does not support anything but i am not sure if that will at all
12:29 am on Dec 12, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:May 16, 2003
posts:592
votes: 0


You are somehow going to have to filter the user input and remove any tags(or other stuff) that you dont want.
12:45 am on Dec 12, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 4, 2002
posts:1314
votes: 0


Install a proxy server. Add or edit code to strip the meta tags you don't want.

Some starter code here:

[rebol.org...]

1:22 am on Dec 12, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 25, 2002
posts:872
votes: 0


Most of the free or shareware ad filtering proxies have the option to tweak a number of things before the page hits your browser - including stripping meta refresh tags/javascript redirects.

As for actually fixing the problem have you considered informing the people that run the site - if its a problem for you its a problem for all their users - not to mention it's a very serious vulnerability (see cross site scripting).

- Tony