b13/snipper

Keep external links secure by adding rel="noopener" to all external typolinks.

Maintainers

Details

github.com/b13/snipper

Source

Issues

Installs: 799

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

1.1.2 2019-11-07 11:18 UTC

This package is auto-updated.

Last update: 2021-03-15 11:26:00 UTC


README

This package is a TYPO3 extension to modify external links on your website.

As explained in this article on developers.google.com opening an external link with target="_blank" can negatively impact your page's performance, as this newly opened page might run on the same process as your page. It also poses a security risk because the other page can potentially redirect your page to a malicious URL or change your page's content using JavaScript.

This extension adds a Hook for all links generated by TYPO3 using a typolink and adds rel="noopener" to all links that open in a new window (target="_blank") and do not have a rel attribute, yet. This affects all links generated by TypoScript (including RTE content added by your editors) or using the Fluid ViewHelper <f:link.typolink>.

How to install this extension?

You can set this up via composer (composer require b13/snipper).

License

The extension is licensed under GPL v2+, same as the TYPO3 Core.

For details see the LICENSE file in this repository.

Credits

snipper was initially created by David Steeb in 2019, for b13, Stuttgart

Find more TYPO3 extensions we have developed that help us deliver value in client projects. As part of the way we work, we focus on testing and best practices to ensure long-term performance, reliability, and results in all our code.