5 ms·
I've written a janky Ruby script that automatically tries to convert the HTTPS Everywhere rules into content blockers: https://github.com/bouk/https-everywhere-
by bouk 6y ago
I've written a janky Ruby script that automatically tries to convert the HTTPS Everywhere rules into content blockers: https://github.com/bouk/https-everywhere-host-list/blob/master/generate.rb https://github.com/bouk/https-everywhere-host-list/blob/mast...
It's used to create the host list for HTTP4All, my unofficial port of HTTPS Everywhere to iOS https://itunes.apple.com/us/app/https4all/id1305430042?mt=8 https://itunes.apple.com/us/app/https4all/id1305430042?mt=8
- pythux 6y agoInteresting project! As far as I can see it only approximately converts the rules right? Since the iOS Content Blocker does not look granular enough to express the rulesets semantics fully. Out of curiosity, how did you handle exclusions? Also, are you generating one "block list" per ruleset? Or merging them into a single blocklist?
- bouk 6y agoI'm only converting rules that are just a host whitelist. I ignore rules that are more complex, since those don't translate.
- Jakob 6y agoNice project! There is "Automatic HTTPS Upgrade" in the iOS Safari (experimental) settings. Wouldn’t that do the same?
- joombaga 6y agoThat just switches to the SSL version of a site if it exists. It does nothing to block an unsecured site.