At the very least the author's method doesn't seem to work for the "legacy" version of uBlock Origin here in Pale Moon since the iframe uBO adds to the DOM is an HTMLDocument pointing to about:blank. There are also no moz-extension:// shenanigans since uBO lives in chrome:// which can't be accessed from content I believe