Help... need a script =)
Can someone pliiz find me a script that allows a page NOT to be seen with WINDOWS??
I'd like to have one script like that for some pages with pictures... i have too many visitors using windows
so i'd put there a message something like "Sorry! You use Windows! Please try again with a computer"
(that is... ANY OTHER OS (linux etc) are
Thanx
I'd like to have one script like that for some pages with pictures... i have too many visitors using windows
so i'd put there a message something like "Sorry! You use Windows! Please try again with a computer"
(that is... ANY OTHER OS (linux etc) are
Thanx
Comments
Copy this between the <head> tags on your page:
[code]<script language="Javascript">
winbrowser = (navigator.appVersion.indexOf("Windows")!=-1) ? true : false;
</script></pre><hr></blockquote>
and then in the <body> of the page:
[code]<script language="Javascript">
if (winbrowser)
document.write("What an ugly computer you have! <a href=http://www.apple.com>get a Mac</a>");
if (!winbrowser)
document.write("I'm glad you don't use Windows.");
</script></pre><hr></blockquote>
Enjoy!
Oh, and here's a small page showing that script in action:
<a href="http://brad.project-think.com/test.html" target="_blank">http://brad.project-think.com/test.html</a>
[ 09-01-2002: Message edited by: Brad ]</p>
like the right click scripts...
<img src="graemlins/bugeye.gif" border="0" alt="[Skeptical]" />
so i'll defnitelly have fun with that..
thanx
<strong>hmm, what a pointlessly babyish thing to do</strong><hr></blockquote>
Yeah! I abhore all forms of imaturity, poo poo breath!
Is there a similar piece of magic to check ONLY for winoze XP ?
Uh, now that there are so many stupid scripts that makes the pages not to be visualised if NOT browsed with winzoz and IE .. it's more than right to do something different
"Sorry... you are using MICROSOFT internet explorer or windowz... "
<img src="graemlins/smokin.gif" border="0" alt="[Chilling]" />
Just couldn0t see a tattoo page with IE .. then tried with omni and it told that i should see it with IE
That XP script sounds as well
[ 09-01-2002: Message edited by: Mount_my_floppy ]</p>
View source to see how it's done--note that some of the values that are detected (like OS==XP) are not used in the demo page but are available for your own use.
[ 09-01-2002: Message edited by: stupider...likeafox ]</p>
just that it worked with php only and i can't use php in my case
i try this new one
.. so when i'll have some more mac pictures..
If i want ONLY that 'Please get a computer' to be seen with the winzoz users what do i have to add to the script so it won't show the rest???
thuh.. gonna try now..
And seriously want to fix that script that way that once there is a visitor using windows he won't see else than the 'go and get a computer'. so i'll need also a way to make the rest invisible in html, otherwise it's enough to see the source and cut and paste the location.
I want to have a page with something that the non-windows users only will be able to see. For winzoz then, NOT even in the source what is going on.
So now is this better do somehow 'create a .php' page after detecting the SO?
In that case i should have that page hosted in an other server...
Yes, I am pissed about the pages that i can't see with OTHER THAN WINDOWS OR INTERNET EXPLORER. Now this 'stupid childish script' is partly a revenge as well.
I want to see the pages i visit with any browser, any SO. So before that works, I will use this somewhere. My page? Right. So i can sometimes decide who i want to be able to see it. Kinda password.
Serious, yes.