News: TinyPortal Release Schedule. Please read this update for More Info.

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

September 22, 2019, 02:40:12 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 188947
  • Total Topics: 20756
  • Online Today: 103
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 2
Guests: 99
Total: 101

Author Topic: Check For Javascript, Etc.?  (Read 4017 times)

0 Members and 1 Guest are viewing this topic.

akulion

  • Guest
Re: Check For Javascript, Etc.?
« Reply #10 on: August 31, 2006, 10:16:35 PM »
how about a message like "u dont have javascript - now ur computer will self desruct

lol

im sure that person will never visit again :2funny:

Offline Thurnok

  • Friends
  • *
  • Posts: 784
Re: Check For Javascript, Etc.?
« Reply #11 on: August 31, 2006, 11:26:21 PM »
LOL!

We should save things like this and put them all into code that only runs on Holloween!  LOL

Offline Jpg

  • Hero Member
  • *****
  • Posts: 591
Re: Check For Javascript, Etc.?
« Reply #12 on: September 01, 2006, 05:24:38 PM »
Code: [Select]
<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
var xy = navigator.appVersion;
xz = xy.substring(0,4);
document.write("<center><table border=1 cellpadding=2><tr><td>");

document.write("<tr><td>Java enabled: </td><td><center><b>");
if (navigator.javaEnabled()) document.write("Javascript? Hack Time!</td></tr>");
else document.write("Your computer doesn't take javascript, now it will self-destruct!</td></tr>")

// End -->
</script>

Lol... try that.