The code here is no longer useful, because the built-in resource is now immutable: https://github.com/gorhill/uBlock/blob/master/src/js/assets.js#L981 The variable `noRemoteResources` can also be removed.