263
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 17 Nov 2023
263 points (95.5% liked)
Hacker News
3943 readers
1 users here now
This community serves to share top posts on Hacker News with the wider fediverse.
Rules
0. Keep it legal
- Keep it civil and SFW
- Keep it safe for members of marginalised groups
founded 2 years ago
MODERATORS
Can UserScripts actually intercept requests? I thought this wasn't possible at all with Manifest v3. If so, nothing useful can be done with the lists.
I meant user scripts might be able to populate filter lists for the main extension to do.
Based on the conversation so far, I'm pretty sure extensions can block ads, but the concern was that filter lists would have to be packaged with the extension instead of dynamically updated. User scripts might be a way around that, as they'd allow loading arbitrary code, but I don't know what the limits on that would be.
You'd have to show me the API to do so. I'm reasonably sure the uBlock developers would have thought about this, or somebody else.
Not really. The extensions can give Chrome a list of things to block, but they can't block themselves, and the lists have to be shipped in the extension.
Arbitrary code only helps you if there is an API to call.
Have the uBlock developers been talking about this? I'd like to read up on that if so.
There is this resource: https://support.ublock.org/hc/en-us/articles/11749958544275-Google-s-Manifest-V3-What-it-is-and-what-it-means-for-uBlock-Users-
Here is a summary of a contributor in a Github issue about Manifest v3: https://github.com/uBlockOrigin/uBlock-issues/issues/338#issuecomment-1507539114
So it really is a shadow of its former self.