Originally posted by xoot
I would like crash their computer, though
Originally posted by xoot
I know how for pre-me systems, just put an <IMG SRC="C:\nul\nul"> or <IMG SRC="c:\con\con">, but for ME, 2000 and XP I don't know how.
Wow, you have version numbers?!? Who does your revisions? I want to be upgraded!<mode person="xoot" version="1.0a4" feelingstupid="true">
Originally posted by nkuvu
Wow, you have version numbers?!? Who does your revisions? I want to be upgraded!
<script language="javascript">
//Bernie's anti PC script.
var PC_only = true // set to false to work on all systems, e.g. for testing on a mac
var reps = 10 // number of alerts to show
var message = "Get a macintosh!" // message to give to PC users
var redirect = false //set to true to redirect to a page just for the PC users
var PC_url = "http://www.apple.com" // the url of this page
//best not to edit past this line
reps++
var agt = navigator.userAgent.toLowerCase()
if (PC_only == true) {
var nasty = (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1)
} else {
var nasty = true
}
if (nasty) {
alert("Have some bits of advice...")
for (i=1;i<reps;i++) {
alert("Bit of advice number "+i+": "+message)
}
if (redirect == true) {
document.location = newpage
}
}
</script>
alert("Have some bits of advice...")
for (i=1;i<reps;i++) {
alert("Bit of advice number "+i+": "+message)
}
if (confirm('I see you use a PC, would you actually rather have a different computer?')) {
alert("Have some bits of advice...")
for (i=1;i<reps;i++) {
alert("Bit of advice number "+i+": "+message)
}
}
If you set the number of alert box repetitions to a low number like 3, then it won't lock up your PC, just minorly irritate it. feel free to test away...Originally posted by BlingBling 3k12
WHEE!!!!!!
now does that thing actually work? i don't want to try it and nix my PC... i've still gotta use it for my everyday tasks...
<script language="javascript">
//Bernie's anti PC script.
var PC_only = true // set to false to work on all systems, e.g. for testing on a mac
var reps = 10 // number of alerts to show
var message = "Get a macintosh!" // message to give to PC users
var redirect = false //set to true to redirect to a page just for the PC users
var PC_url = "http://www.apple.com" // the url of this page
//best not to edit past this line
reps++
var agt = navigator.userAgent.toLowerCase()
if (PC_only == true) {
var nasty = (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1)
} else {
var nasty = true
}
if (nasty) {
if (confirm('I see you use a PC, would you actually rather have a different computer?')) {
alert("Have some bits of advice...")
for (i=1;i<reps;i++) {
alert("Bit of advice number "+i+": "+message)
}
}
if (redirect == true) {
document.location = PC_url
}
}
</script>