Hacker News new | ask | show | jobs
by yourduskquibble 2617 days ago
> What is the trade-off for not being included by default in the main extension, CPU?

gorhill's (developer of uBO) explanation from[1] below:

> uBO-Extra is needed to deal with IL stuff because the IL inline script appears at the top of the served HTML page -- before any other secondary resource-pulling tag. uBO-Extra injects its content script declaratively, i.e. on every page, hence it will always run before IL stuff.

The root cause of why it is needed is because of a bug with web socket implementation in chrome.[2]

Additional info on why both are needed (& why for chrome but not firefox) in some reddit threads.[3][4][5]

[1] https://github.com/uBlockOrigin/uAssets/issues/227#issuecomm...

[2] https://bugs.chromium.org/p/chromium/issues/detail?id=487422

[3] https://old.reddit.com/r/uBlockOrigin/comments/83quub/ublock...

[4] https://old.reddit.com/r/uBlockOrigin/comments/7mfkv1/ublock...

[5] https://old.reddit.com/r/chrome/comments/a9trz2/ublock_origi...

1 comments

I would call it more of a missing feature than a bug in Chrome.