This is an example plugin - build on it !
💡 This plugin requires YOURLS 1.6+
- If the user is known, this plugin adds custom protocol
blah://
to authorized protocols. - If the user is unknown (using a public interface for instance) then this plugin restricts
authorized protocols to
http
andhttps
only.
See Public Shortening.
- In
/user/plugins
, create a new folder namedcustom-protocols
- Drop these files in that directory
- Edit this plugin to suit your needs
- Go to the Plugins administration page and activate the plugin
- Have fun