NickGrant / no-opener

Small script to add noopener to the rel of target="_blank" links

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no-opener

This short script adds a rel attribute to your links to prevent location hijacking on target="_blank" links

Installing / Getting started

To use this script, just include it and run noOpener() on document.ready

Contributing

If you have ideas or suggestions, feel free to open an issue on GitHub or fork the repository and use a feature branch. Feedback is very welcome.

Licensing

The code in this project is licensed under MIT license.

About

Small script to add noopener to the rel of target="_blank" links


Languages

Language:JavaScript 100.0%