I think - if i didn't misunderstood it - the uBlock Origin author came up with something like a resource library for exactly that reason. Sadly I can't find a explainatory page on it right now; a possible resource file is located at:
https://github.com/gorhill/uBlock/blob/master/assets/ublock/...