1
0
Fork 0
mirror of https://github.com/prise6/anywhere synced 2024-05-06 14:56:33 +02:00
anywhere/Js/anywhere.min.js
2016-04-28 03:13:11 +02:00

1 line
364 B
JavaScript

javascript:(function(r="http://swapthatlink.com",c=document.location.href){var l=Array.prototype.slice.call(document.getElementsByTagName('a')),e=new RegExp("^(mailto|(https?)?"+c+"/?#)"),f=false;while(!f&l.length>0){i=Math.floor(Math.random()*l.length);if(e.test(l[i].href)||l[i].href==c)l.splice(i,1);else{r=l[i].href;f=true}}document.location.href=r;return})();