Hacker News new | ask | show | jobs
by arshxyz 538 days ago
Interesting project, I've often looked for something like this but haven't found anything that does the job. I'm on a mac and can't wait to try this out. Can I ask what you're using adblock-rs for?
1 comments

Glad you like the project! I'm working on getting the macOS version built and released as soon as possible. If you'd like to be notified when it's ready, you can sign up for the newsletter here: https://apiparrot.com/#newsletter.

As for adblock-rs, I'm using it to detect and automatically disable requests related to ads and other unnecessary stuff. This helps cut down on noise and saves some time for developers.

I was able repackage it for macOS. I can help you test it too. Shot you an email at contact@apiparrot.com
How were you able to do without the source code?
I extracted the zip, found the electron build folder, replaced a string in the minified code to launch Chrome on macOS correctly and ran electron-packager with the target being macos.

Patching electron apps is fairly common. You can take a look at Spicetify or BetterDiscord to see the process in more detail

Oh wow, didn't know that was possible. Thanks for sharing.