Wednesday, November 29, 2006

Blocking META refresh with LINK tags

While researching Browser Port Scanning without JavaScript, I wanted to find a way to get the browser to kill its connections and move on to the next IP Address. Similar to JavaScript Port Scanning with window.stop() since the timeout period is quite long and needed to speed the process. I figured a meta refresh was the way to go after waiting 5 seconds. Like so:

<* head>
<* meta http-equiv="refresh" content="5;url=http://foo/">
<* /head>

<* link rel="stylesheet" type="text/css" href="" />

What I found was that while the LINK HTTP request is waiting, META refreshes won’t fire until is resolved. Weird. Again, I don’t know how this is useful, yet, but it could be for something in the future.

No comments: