1
0
Fork 0
mirror of https://github.com/prise6/anywhere synced 2024-05-09 14:26:31 +02:00
anywhere/README.md

8 lines
444 B
Markdown
Raw Normal View History

2016-04-28 01:25:20 +02:00
## redirect to ***random*** link in current page
__bookmarklet to install : drag and drop __
<a href="javascript:(function(){var l=Array.prototype.slice.call(document.getElementsByTagName('a'));for(var i=l.length-1;i>=0;i--){if(/^(#|mailto)/.test(l[i].href.slice(0,1))||l[i].href==document.location.href)l.splice(i,0)};r=l[Math.floor(Math.random()*l.length)].href;console.log(r);document.location.href=r})();">Anywhere</a>
2016-04-28 01:21:14 +02:00
to be continued