ginader / easychirp

easychirp.com - Web accessibility for the Twitter website application
11 stars 1 forks source link

Security: opening links in new window #199

Closed weboverhauls closed 7 years ago

weboverhauls commented 7 years ago

There’s a pretty easy fix for this, by adding rel="noopener noreferrer" to any link that contains target="_blank". This will block access to the opener object. The noopener value is for most browsers, but the noreferrer one is for Firefox support.

More: http://csskarma.com/blog/opening-links/

weboverhauls commented 7 years ago

[343c2b60bb36c37bc212217faed95f256ce121ce]