Hi there. You want User script, or extension for browsers because both of them can do the thing that you want? You can use boilerplates for extensions that will include those at least three major browsers, believe that you can find them on GitHub.
Anyway, feel free to hit me up so we can talk more about this. I am very responsive. All the best