Improve performance and security when opening in a new window
-
Hello,
when the option Open in new window is used I will suggest to add the attribute rel=”noopener” in order to improve both performance and security.
To cite Google recommendation:
When your page links to another page using target=”_blank”, the new page runs on the same process as your page. If the new page is executing expensive JavaScript, your page’s performance may also suffer…
On top of this, target=”_blank” is also a security vulnerability. The new page has access to your window object via window.opener, and it can navigate your page to a different URL using window.opener.location = newURL.
Please considering to add the attribute rel=”noopener” that is the easiest suggested fix.
By the way I am big fan of you guys… and one of your themes’ lifetime subscriber. Keep up the wonderful works!
- The topic ‘Improve performance and security when opening in a new window’ is closed to new replies.