JSFiddle - React, Tailwind, and code Playground

by SwampFall

JavaScript

url = self.location.toString();
iev = 0;
latt = 0;
if (typeof window.external != 'object' && typeof XMLHttpRequest != 'object' && typeof XMLHttpRequest != 'function' && url.indexOf('=browser') == -1) {
  window.location = 'info.php?why=browser'
}
if (typeof window.external == 'object' && typeof document.all == 'object') {
  iev = navigator.userAgent;
  iev = iev.split('MSIE');
  iev = parseInt(iev[1]);
  if (iev < 7) {
    document.write('<link rel="stylesheet" type="text/css" href="' + skin_dir + '/msie.css" />');
  }
}
flash = '<object data="' + skin_dir + '/sound.swf" type="application/x-shockwave-flash" width="1" height="1" style="visibility:hidden"><param name="movie" value="' + skin_dir + '/sound.swf" /><param name="menu" value="false" /><param name="quality" value="high" /></object>';

function q00() {
  eeL.focus()
}

function q01() {
  for (i = 0; i < smiles.length; i++) {
    document.writeln(' <a href="info.php?why=link" onclick="q06(\'' + smiles[i] + '\');return false"><img class="e" src="' + skin_dir + '/smilies/' + sfiles[i] + '" alt="' + smiles[i] + '" title="' + smiles[i] + '" onmouseover="return q08(this,5)" onmouseout="return q08(this,10)" /></a> ')
  }
}

function q02() {
  for (i = 0; i < colors.length; i++) {
    document.writeln('<img class="r" src="incl/trans.png" onclick="q15(this.style.backgroundColor)" style="background-color:#' + colors[i] + '" alt="" />')
  }
}

function q03() {
  for (i = -12; i < 0; i++) {
    j = i * -1;
    document.write(' <a href="info.php?why=link" style="text-decoration:none" onclick="q16(' + i + ');return false">' + j + '</a> ')
  };
  document.write('- <a href="info.php?why=link" style="text-decoration:none" onclick="q16(0);return false">GMT</a> +');
  for (i = 1; i < 13; i++) {
    document.write(' <a href="info.php?why=link" style="text-decoration:none" onclick="q16(' + i + ');return false">' + i + '</a> ')
  }
}

function q04() {
  z = document.body.clientHeight;
  if (typeof window.external == 'object' &&...