Create a Shared Plugin
Shared Plugins are stored in separate files and can be shared between multiple bookmarks.
This will open the Plugin Editor where you have to enter/implement the following parts: