/shaarli-urlextern

Shaarli plugin to open external links in a new tab/window.

MIT LicenseMIT

shaarli-urlextern

Shaarli plugin to open external links in a new tab/window.

Should work with any template.

Installation

The plugin's folder (urlextern) should be placed in the <shaarli>/plugins/ directory.

The directory structure should look like:

└── plugins
    └── urlextern
        ├── urlextern.js
        ├── urlextern.meta
        └── urlextern.php

To enable the plugin, just check it in the Plugin Administration page (?do=pluginadmin).

You can also add urlextern to your list of enabled plugins in data/config.json.php.
The general.enabled_plugins list should look like this:

"general": {
  "enabled_plugins": [
    "urlextern",
    [...]
  ],
}

Configuration

None - enable/disable in the Plugin Administration page.

Credits

Javascript code by @CrocoDillon.