I need to customize the Jira Assets User Interface

I am trying to remove/restrict certain aspects of the user interface in Jira Assets. We don’t want users to have the ability to see the list view in specific objects schemas, including printing, exporting, etc.

In the Announcement banner, I am able to run the below code, which hides the modules in asset that change the view type, amount, and export options. This code works on the initial load of the page.

document.getElementById("rlabs-object-tools").style.display = "none"

However when a user moves between object types, the rlabs-object-tools css gets redisplayed, meaning the ability to view, export, reappears. The main JavaScript code doesn’t get refreshed either because the announcement banner doesn’t get refreshed, just a subset of the page.

Is there another place to put this javascript code to hide parts of Jira Assets UI? Is there Velocity code somewhere we can edit?