homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

How to stop META refresh?
stop META refresh

 12:24 am on Dec 4, 2003 (gmt 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)

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)

This is the problem:


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)

Wow.. It sure gives an interesting effect. :)


 10:18 pm on Dec 11, 2003 (gmt 0)

Come on people...
Not one of You knows?
Am I asking about something impossible?


 10:34 pm on Dec 11, 2003 (gmt 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)

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)

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

Some starter code here:



 1:22 am on Dec 12, 2003 (gmt 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

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved