]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - js/ui/url.js
Add custom menu items.
[irc/quakenet/qwebirc.git] / js / ui / url.js
index 36634ad090b7106660c5f031c95468682286787b..cf29349b37636db206e818020d27bd936e9ca5af 100644 (file)
@@ -93,9 +93,11 @@ qwebirc.ui.urlificate = function(element, text, execfn, cmdfn, window) {
       
     if(url) {
       a.href = url;
-    
-      if(target)
+
+      if(target) {
         a.target = target;
+        a.setAttribute("rel", "noopener noreferrer");
+      }
     }
     addedText.push(disptext);
     a.appendChild(document.createTextNode(disptext));