All pastes #340602 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-02-04 21:53 UTC
rendered paste body
function sizeOf(arrayPieces) {
	var size = 0;
	arrayPieces.forEach(
							function () {
								size++;
							}
						);

	return size;
}

window.addEventListener("load", function(e) {
  document.getElementsByTagName("body")[0].innerHTML += "<div id=\"FullScreenLocation\" style=\"width:100%; height:20px; background-color:#ECE9D8;position:absolute; top:0px;\"></div>";

  var size = sizeOf(document.getElementsByTagName("a"));
  var i = 0;

  while (i <= size)
  {
    document.getElementsByTagName("a")[i].onmouseover = "DSPLocationBar(\"" + document.getElementsByTagName("a")[i].href + "\");";
    i++;
  }
}, false);