Customize JIRA UI across multiple pages

Server v8.5.4

I want to add icon lets say right top corner of a page and should be visible at all times and might interact with the icon using JS

As example, I can see something similar has been done for the Agile Clock plugin (although not sure if its fixed location or not)

I thought web-items are for links and can only be added to specific locations