uBlock-userResources scriptlet injection allows running custom script on webpage or all webpages
- Goto uBlock settings, under Advanced section, check on and then click icon next to 'I am an advanced user'
- on the Advanced settings tab, scroll down to userResourcesLocation option, which should be 'unset' by default.
- navigate to 'My Filters' in your uBlock Origin settings
- < hostname or wildcard >##+js(...) indicates scriptlet injection
use https://www.jsdelivr.com/ to deliver js files vs direct from github due to mime issues. example
userResourcesLocation https://cdn.jsdelivr.net/gh/tjames192/uBlock-userResources@master/resource.js
www.reddit.com##+js(rwl, https://old.reddit.com)
https://www.xaloez.com/blog/UblockOriginScriptlets/index.html