Main navigation

One of the most unsafe CSS attribute: target=_blank

adsense

How to avoid problem of target=_blank

To avoid this type of attack, add following attribute in your links:

rel=”noopener”

Firefox doesn’t support rel=”noopener” so use:

rel=”noopener noreferrer”

A slight change in your links could save you from a large web attack. All the Best!!

Let us know if you have any queries or suggestion. Please subscribe for more awesome hacks. Have a nice day 🙂


Reader Interactions

Comments

Leave a Reply

Advertisment ad adsense adlogger