Shaarli plugin to add favicon/filetype icons to links.
Tested with Shaarli default and Shaarli-Material templates.
- May slow down page load time, especially if Links per page is set high.
- Webserver HTTP Content-Security-Policy img-src directive (specifies valid sources of images and favicons) if set should exempt (
<host-source>
):https://www.google.com
https://api.iconify.design
The plugin's folder (favicons
) should be placed in the <shaarli>/plugins/
directory.
The directory structure should look like:
└── plugins
└── favicons
├── favicons.css
├── favicons.js
├── favicons.meta
├── favicons.php
└── jquery-3.3.1.slim.min.js
To enable the plugin, just check it in the Plugin Administration page (?do=pluginadmin
).
You can also add favicons
to your list of enabled plugins in data/config.json.php
.
The general.enabled_plugins
list should look like this:
"general": {
"enabled_plugins": [
"favicons",
[...]
],
}
None - enable/disable in the Plugin Administration page.