georgringer / noopener
Add rel="noopener noreferrer" to all external links
Fund package maintenance!
georgringer
paypal.me/GeorgRinger/10
www.amazon.de/hz/wishlist/ls/8F573K08TSDG
Patreon
Installs: 34 151
Dependents: 0
Suggesters: 0
Security: 0
Stars: 14
Watchers: 6
Forks: 2
Open Issues: 2
Type:typo3-cms-extension
Requires
- typo3/cms-core: ^8.7.0 || ^9.5.0
Replaces
- typo3-ter/noopener: 1.0.1
This package is auto-updated.
Last update: 2024-12-04 21:41:10 UTC
README
This extension adds `rel="noopener noreferrer" to any links which are external links or defined with target '_blank'. This improves the security of the site:
- noopener: Instructs the browser to open the link without granting the new browsing context access to the document that opened it — by not setting the Window.opener property on the opened window (it returns null).
- noreferrer: Prevents the browser, when navigating to another page, to send this page address, or any other value, as referrer via the Referer: HTTP header.
Installation
- Get the extension by using composer composer require georgringer/noopener
- Install the extension.
- Done
Requirements
- TYPO3 LTS 8.7 or 9.5
TYPO3 10.1 will ship with such setting by default!