Punkjs allows loading custom JavaScript files based on the domain of the website you visit.
Install the Punkjs extension and bridge app, then create a directory with your JS files.