From 64175a664dae3433e30895f83ba675b205129ced Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Vieille?= Date: Sun, 1 May 2016 20:21:46 +0200 Subject: [PATCH] Delete javascript evt --- Js/anywhere.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Js/anywhere.js b/Js/anywhere.js index 8590c85..390fdbb 100644 --- a/Js/anywhere.js +++ b/Js/anywhere.js @@ -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);