Giter Club home page Giter Club logo

snipper's Introduction

Snipper

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.

snipper's People

Contributors

davidsteeb avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

snipper's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.