Unverified Commit 08bc92e7 authored by Will Hilton's avatar Will Hilton Committed by GitHub

use rel="noopener" on external links

parent 6ac8d080
......@@ -142,6 +142,7 @@ let addActionBar = function(chat) {
popOutActionElement.setAttribute('aria-label', 'Open Chat in Gitter.im');
popOutActionElement.setAttribute('href', `${opts.host}${opts.room}`);
popOutActionElement.setAttribute('target', `_blank`);
popOutActionElement.setAttribute('rel', `noopener`);
actionBar.appendChild(popOutActionElement);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment