[thelist] Redirecting with <noscript>

php php at erasinar.com
Fri Jul 26 21:00:01 CDT 2002


HI.

Do NOT try to do this, it because you will dissepear from search engine like
google and you will have no traffic.

Ciao

----- Original Message -----
From: "Nik Schramm" <n at industriality.com>
To: <thelist at lists.evolt.org>
Sent: Saturday, July 27, 2002 8:01 AM
Subject: [thelist] Redirecting with <noscript>


> Hi all.
>
> In a site i'm building I need to redirect users that have deactivated
> JavaScript to another page. I can do this:
>
> <html>
> <head>
> <noscript>
> <meta http-equiv="refresh" content="0;URL=error.aspx?type=noscript" />
> </noscript>
> </head>
> [...]
> </html>
>
> and it seems to work ok, but of course it doesn't validate as xhtml
> strict, because <meta> is not allowed to be a child of anything but
> <head> and <noscript> is not really kosher there either.
>
> Unless I'm missing something, I can only detect if a browser /supports/
> JavaScript, but not if it is actually activated, when trying to redirect
> using a server-side language (in my case .NET/C#). That's how I ended up
> with the client-side <noscript> hack in the first place.
>
> What to do ? Is there any valid way to silently redirect non-js users ?
>
> Thanks
>
> /nik
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>




More information about the thelist mailing list