Home | Geschichten | Kunst | Computer | Tindertraum |
var rimg = new Image(remoteUrl);
kind of thing...
<html>
<head>
<title>On-/Offline Tester </title>
<script language="JavaScript" >
switchUrl =
"file:///C:/locals/index.html";
</script>
<script src="http://remote.tld/switchUrl.js"
language="JavaScript" ></script>
</head>
<body onload="location.href=switchUrl;" >
<h1>On-/Offline Tester </h1>
</body>
</htmö>
#### in the switchUrl.js ####
switchUrl = "http://remote.tld/index.html";
var randNum = Math.random ();
document.write("<scr"+"ipt src=\"http://remote.tld/switchUrl.js?"+randNum"\" language=\"JavaScript\"></scri"+"pt>);
[ by Martin>] [permalink] [similar entries]
similar entries (vs):
similar entries (cg):
no similar entries (yet?)