Delete javascript evt

This commit is contained in:
François Vieille 2016-05-01 20:21:46 +02:00
parent 77c56041c6
commit 64175a664d
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
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 + "/?#)"),
e = new RegExp("^(javascript|mailto|(https?)?" + c + "/?#)"),
f = false;
while(!f & l.length>0){
i = Math.floor(Math.random()*l.length);