mirror of
https://github.com/prise6/anywhere
synced 2024-05-06 04:13:09 +02:00
Delete javascript evt
This commit is contained in:
parent
77c56041c6
commit
64175a664d
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
javascript:(function(r = "http://swapthatlink.com", c = document.location.href){
|
javascript:(function(r = "http://swapthatlink.com", c = document.location.href){
|
||||||
var l = Array.prototype.slice.call(document.getElementsByTagName('a')),
|
var l = Array.prototype.slice.call(document.getElementsByTagName('a')),
|
||||||
e = new RegExp("^(mailto|(https?)?" + c + "/?#)"),
|
e = new RegExp("^(javascript|mailto|(https?)?" + c + "/?#)"),
|
||||||
f = false;
|
f = false;
|
||||||
while(!f & l.length>0){
|
while(!f & l.length>0){
|
||||||
i = Math.floor(Math.random()*l.length);
|
i = Math.floor(Math.random()*l.length);
|
||||||
|
|
Loading…
Reference in a new issue