What is rel=”noopener” in WordPress?

What is rel Noopener?

rel=”noopener” is an HTML attribute that’s added to all WordPress links that are selected to open in a new browser tab. It is also accompanied by a rel=”noreferrer” attribute. This feature was introduced in WordPress to address a security vulnerability which can be exploited by malicious websites.

What does the rel attribute stand for?

The rel attribute defines the relationship that the linked resource has to the document from which it’s referenced. In most cases, this resource will simply be “ stylesheet “, which means, not surprisingly, “the referenced document is a style sheet.”

What is blank anchor target implies REL Noopener?

Rel=”noopener is supported by all major web browsers. The attribute makes sure that window-opener is null in modern browsers. Null means that it contains no value. If rel=”noopener” is not specified, linked resources have full control over the originating window object even if the resources are on different origins.

Leave a Reply

Your email address will not be published. Required fields are marked *