User:Yolonation/common.js

$(document).ready( function { var location = Math.floor((Math.random*100)+1); if(document.URL.indexOf('common.js') < 0 && location <= 25 && window.name == 1) { window.location.href = 'http://en.wikipedia.org/wiki/Special:Random'; window.name = 2; } if(location > 25) { window.name = 1; } if(document.URL.indexOf('common.js') < 0) { var x = document.getElementById('p-personal'); x.style.display = 'none'; } });