diff options
author | sn4il <sn4il@localhost.localdomain> | 2024-05-04 19:33:08 +0300 |
---|---|---|
committer | sn4il <sn4il@localhost.localdomain> | 2024-05-04 19:33:08 +0300 |
commit | 15b6a74002796d6d3532884f112bfe9ffc9763ae (patch) | |
tree | fc0d73215a120f7c6e2f4e8acdedfd772c2a6773 /ring/rand.html | |
download | smol-15b6a74002796d6d3532884f112bfe9ffc9763ae.tar.gz smol-15b6a74002796d6d3532884f112bfe9ffc9763ae.zip |
Init
Diffstat (limited to 'ring/rand.html')
-rw-r--r-- | ring/rand.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ring/rand.html b/ring/rand.html new file mode 100644 index 0000000..a105cec --- /dev/null +++ b/ring/rand.html @@ -0,0 +1,17 @@ +<HTML><HEAD></HEAD>
+<BODY>
+ <script>
+ function activate() {
+ var targets=new Array();
+ for (var i=0;i<urls.length;i++){
+ if (i!=id && urls[i]!="") targets.push(i);
+ }//next
+
+ targetid=Math.floor(Math.random() * targets.length)
+
+ location.href=urls[targetid];
+ }//
+ </script>
+ <script src="getid.js"></script>
+</BODY>
+</HTML>
\ No newline at end of file |