mirror of
https://github.com/prise6/anywhere
synced 2024-05-05 19:33:09 +02:00
Update readme
This commit is contained in:
parent
1594026200
commit
9223e1f1b8
|
@ -1,7 +1,10 @@
|
||||||
## redirect to ***random*** link in current page
|
## redirect to ***random*** link in current page
|
||||||
__bookmarklet to install : drag and drop __
|
__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>
|
<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>
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
to be continued
|
to be continued
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue