For The Site

Hey, so I found this snippet and thought it might work nicely instead of the Random SCP page. I whipped up a little display for you here. I did it on the sandbox a bit, go to this page right here and it throws you at a random sandbox page. This one throws you at random sandbox pages tagged as "scp" (why do we even have these on the sandbox?).

First, make two pages, titled "nav:random" and "nav:random-redirect".

Note: This should be the only text on the page. As far as I know, once you click Save, you won't be able to go back and edit the page. So be careful to copy-paste it correctly the first time!

On the page titled "nav:random"

<script type="text/javascript">
window.parent.location.replace("" + Math.round(Math.random() * 25));


On the page titled "nav:random-redirect"


[[module ListPages category="_default" order="random" limit="@URL|1" reverse="yes" tags="+scp"]]
[[iframe frameborder="0" width="1" height="1"]]

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License