Don't get me wrong, it works, but that's one ugly solution.

O.

On 2 Jun 2010, at 08:00, Sanford Whiteman wrote:

>> Add a meta-redirect in the head and remove it via javascript.
> 
> Won't work (as you said), try this instead:
> 
> <script type="text/javascript">
> document.write('<'+String.fromCharCode(33)+'--');
> </script>
> <meta http-equiv="refresh" content="2;url=http://www.example.com/";>
> <script type="text/javascript">
> -->
> </script>
> 
> The  curious  structure  of  the comment wrapper is necessary to avoid
> parsing errors.
> 
> --S.
> 
> 

Reply via email to