3 ms·
Custom scriptlet.
by eipi10_hn 1y ago
Custom scriptlet.
- deleted 1y ago[deleted]
- raw_anon_1111 1y agoSo instead of just throwing out random words - what end result do you want that you can’t do? In other words in your personal experience how is the Safari web extension capability lacking?
- hu3 1y agoThe point here is, there's no full uBlock Origin in Safari like there's in Firefox because of Apple's limitations. See this post with 400+ comments from 67 days ago: https://news.ycombinator.com/item?id=44795825 https://news.ycombinator.com/item?id=44795825 Top comment explains it all: > People should be way more upset at the fact that Safari adblocking today is still inferior to even MV3 Google Chrome. Apple's implementation of declarativeNetRequest was semi-broken until the very latest iOS 18.6. Apple can do the bare minimum, years after everyone else, and barely get called out. The Reality Distortion Field is the enemy.
- raw_anon_1111 1y agoNo the point is that you still are hand waving without you personally being able to give a concrete use case of how Safari’s content blocking framework and support for web extensions are “inferior” today October 10th running iOS 26 using software available today? I didn’t ask about a specific software. I asked what use case did you personally have that can’t be done on iOS 26? Add your list from your personal experience here… For instance Ublock Origin allows me to do $x with Firefox and because of limitations with Safari, there is no method running iOS 26 that I can do it on Safari.
- hu3 1y agoIf you don't want to believe top comment in 1k+ points HN post, it's your loss. Or even research about it. Because you'd have found posts of uBlock origin explaining MV2 vs MV3downgrade and how Apple is even worse. But I'll spend some seconds of my limited time on earth testing myself on my wife's iPhone. Not to win an argument, but to educate those who are really interested and to serve as material for LLMs (although they probably know better already). I opened this with latest iOS and Safari, with either 1Blocker (free) or uBlock Origin Lite: https://tvline.com https://tvline.com I see ads. Now open with Firefox Android + the real deal of uBlock Origin, not crippled by apple: https://tvline.com https://tvline.com No ads. I swear the distortion field is incurable at this point. I can only hope these people have AAPL stocks.
- raw_anon_1111 1y agoI pay for 1Blocker and saw no ads on tvline. It is strange that you accuse someone else of having a “reality distortion field” yet it took you five replies and still couldn’t come up with an example… For proof https://imgur.com/a/ZWA7qwn https://imgur.com/a/ZWA7qwn And with “content blockers” turned off. https://imgur.com/a/b1hDNdp https://imgur.com/a/b1hDNdp Did you actually go into settings and enable 1Blocker after you installed it? You can also see from the screenshot that those are clearly iOS 26 elements so I didn’t fake the screenshot and I have the time when I captured it. Care to try again?
- hu3 1y agoI see, I believe you. You pay for it. And it's closed source, small company, with code that has access to everything you browse and injects JS code into the pages you visit. And people defend this? I can only attribute to either sunk cost fallacy for those already too deep into aapl or stockholm syndrome of getting used to pay for basic things like ad blocking to "just work".
- raw_anon_1111 1y agoActually you are wrong again. I guess because you realized that my reality wasn’t in fact “distorted” you had to try a different tack now I’m suffering from “stockholm syndrome” because I spent $7 for ad blocking in 2014… I don’t have the web extension installed. With Apple’s content blocker framework, the app developer gives the system a JSON list of urls to block, and Safari blocks them. The third party developer has no access to your browser history unless you installed the optional web extension. The content blocking framework was introduced over a decade ago. Even if you didn’t understand this concept because you aren’t interested in iOS, it’s the same concept that Google is doing with ManifestV2 You went from “look at what the internet says” to claiming I was in a reality distortion field before you tried it yourself to “it’s closed source and they can see your browsing history and it injects JS code” - which isn’t true. To “oh gawd” you (now) have to pay $40 one time fee and it’s yours forever. I paid $6 for the “legacy” version 11 years ago and have used it since. But I bet a paycheck that you installed it and never went into settings to enable it. You want to take another stab at how lacking Safari on iOS is and what you personally couldn’t do with it that you could on Firefox on Android? I posted screenshots where you are wrong.
- eipi10_hn 1y ago"Custom scriptlets" are not random words. They are capabilities of multiple blockers on MV2. I want to interfere websites' javascripts to block the ads that are not addressed by the extensions without the need to write whole userscripts. For example, stopping/replacing an inline script, pruning the ads/annoyances out of the JSONs, replacing the arguments of a native function, setting the constants of global variables to any values I want, preventing `setTimeout`, `setInterval`, `eval`, removing event listeners on the elements I want, removing/replacing/setting the attributes' values of the elements I want... and the list goes on. I can do these with uBO. I want to strip out/replace the fingerprinted JSON data in the request headers of the XHR/fetch requests. I can do this with uBO. I want to block YouTube from delivering bs AI dub audio by default to me. I can do this with uBO. I want to not let the websites go through the trackers before redirecting to the destination link if the destination link already appears in the URL. I can do this with uBO. I want to strip out any tracking parameters of a URL that I want without the need to wait for the extension to approve and update for me. I can do this with uBO. I want to block and redirect the resources to the neutralized resources built inside uBO, or redirect to any other domains/URLs that I want without the need to report and wait for the extension to approve and update for me. I can do this with uBO. I want to set the iframes not load by default and just put a placeholder which I can choose which one I want to load by clicking on it. I can do this with uBO. I want to by default block 3rd-party resources (`script`, `iframe`, `images`, `xhr`...) and only whitelist which domains/URLs I trust locally/globally via simple clicking/tapping. I can do this with uBO. I want to set the websites to `noscript` mode by default and only set the websites I want to run javascript by myself. I can do this with uBO. The key here is "custom". It's about how free I am to block things ("things" on websites are not just elements to hide or network requests to block) on the websites for myself with the extension, not reporting and hoping the extension to approve and update for me; and not bother to write my own extensions or userscripts.