2017 © Pedro Peláez
 

silverstripe-vendormodule silverstripe-links-to-blank

Extension to add JavaScript to all pages to add target="_blank" to all outgoing links & downloads

image

axllent/silverstripe-links-to-blank

Extension to add JavaScript to all pages to add target="_blank" to all outgoing links & downloads

  • Tuesday, February 6, 2018
  • by axllent
  • Repository
  • 1 Watchers
  • 0 Stars
  • 498 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 12 Versions
  • 3 % Grown

The README.md

Append target="_blank" with JavaScript for Silverstripe

An extension to automatically add JavaScript on all pages to add target="_blank" to all outgoing links, as well as "download links" such as PDF, ZIP, TAR, DOC, PPT and Excel files., (*1)

For security, it also adds rel="[noopener] to the outbound links to prevent cross-site exploit (see here)., (*2)

Requirements

  • Silverstripe ^4 || ^5

For Silverstripe 3, please refer to the Silverstripe3 branch., (*3)

Installation

Installation can be done either by composer or by manually downloading a release., (*4)

Via composer

composer require axllent/silverstripe-links-to-blank

Usage

By default the module will automatically include some compressed inline JavaScript into your page. If you prefer to include this as a separate JavaScript asset instead then you can define this in a yaml config (eg: app/_config/config.yml):, (*5)

Axllent\LinksToBlank\LinksToBlank:
  inline: false

The Versions

06/02 2018

dev-master

9999999-dev https://github.com/axllent/silverstripe-links-to-blank

Extension to add JavaScript to all pages to add target="_blank" to all outgoing links & downloads

  Sources   Download

MIT The MIT License (MIT)

The Requires

 

javascript silverstripe links

06/02 2018

dev-silverstripe3

dev-silverstripe3 https://github.com/axllent/silverstripe-links-to-blank

Extension to add JavaScript to all pages to add target="_blank" to all outgoing links & downloads

  Sources   Download

MIT The MIT License (MIT)

The Requires

 

javascript silverstripe links

17/10 2017

2.0.3

2.0.3.0 https://github.com/axllent/silverstripe-links-to-blank

Extension to add JavaScript to all pages to add target="_blank" to all outgoing links & downloads

  Sources   Download

The MIT License (MIT)

The Requires

 

javascript silverstripe links

09/06 2017

1.2.3

1.2.3.0 https://github.com/axllent/silverstripe-links-to-blank

Extension to add JavaScript to all pages to add target="_blank" to all outgoing links & downloads

  Sources   Download

The MIT License (MIT)

The Requires

 

javascript silverstripe links

09/06 2017

2.0.2

2.0.2.0 https://github.com/axllent/silverstripe-links-to-blank

Extension to add JavaScript to all pages to add target="_blank" to all outgoing links & downloads

  Sources   Download

The MIT License (MIT)

The Requires

 

javascript silverstripe links

24/03 2017

2.0.1

2.0.1.0 https://github.com/axllent/silverstripe-links-to-blank

Extension to add JavaScript to all pages to add target="_blank" to all outgoing links & downloads

  Sources   Download

The MIT License (MIT)

The Requires

 

javascript silverstripe links

29/01 2017

1.2.1

1.2.1.0 https://github.com/axllent/silverstripe-links-to-blank

Extension to add JavaScript to all pages to add target="_blank" to all outgoing links & downloads

  Sources   Download

The MIT License (MIT)

The Requires

 

javascript silverstripe links

29/01 2017

1.2.2

1.2.2.0 https://github.com/axllent/silverstripe-links-to-blank

Extension to add JavaScript to all pages to add target="_blank" to all outgoing links & downloads

  Sources   Download

The MIT License (MIT)

The Requires

 

javascript silverstripe links

29/01 2017

2.0.0

2.0.0.0 https://github.com/axllent/silverstripe-links-to-blank

Extension to add JavaScript to all pages to add target="_blank" to all outgoing links & downloads

  Sources   Download

The MIT License (MIT)

The Requires

 

javascript silverstripe links

27/11 2016

1.2.0

1.2.0.0 https://github.com/axllent/silverstripe-links-to-blank

Extension to add JavaScript to all pages to add target="_blank" to all outgoing links & downloads

  Sources   Download

The MIT License (MIT)

The Requires

 

javascript silverstripe links

10/06 2016

1.1.0

1.1.0.0 https://github.com/axllent/silverstripe-links-to-blank

Extension to add JavaScript to all pages to add target="_blank" to all outgoing links & downloads

  Sources   Download

The MIT License (MIT)

The Requires

 

javascript silverstripe links

21/12 2015

1.0.0

1.0.0.0 https://github.com/axllent/silverstripe-links-to-blank

Extension to add JavaScript to all pages to add target="_blank" to all outgoing links & downloads

  Sources   Download

The MIT License (MIT)

The Requires

 

javascript silverstripe links