Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Latest commit

 

History

History
37 lines (28 loc) · 971 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 971 Bytes

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.