HN user

whatsthatabout

158 karma
Posts3
Comments55
View on HN

I posted the first version of AutoPiP here in November 2024. Since then I've kept chipping away at it, and v2 is finally ready.

The premise: I wanted truly automatic PiP for multitasking — switch a tab, video keeps playing in a floating window, no clicking required. Safari is the only browser that allows triggering PiP without a user gesture, which is what makes this possible at all.

v2 adds:

- Global on/off toggle in the toolbar (no need to uninstall to pause it)

- Configurable keyboard shortcut (default ⌥P) to manually trigger PiP

- Blacklist / Whitelist mode to control which sites it activates on

Works on YouTube (including PiP on scroll), Netflix, Twitch, Disney+, MAX, Paramount+, Jellyfin and most generic HTML5 players.

GitHub: https://github.com/vordenken/AutoPiP

Free, GPL-3.0, no telemetry.

Happy to answer questions about the Safari extension API quirks I ran into.

I don't know why it's different for you and me then. I tested Qwant once again and saw not one call to duckduckgo (my default search engine) - now I'm over 100 searches while analysing with proxyman without one leak. The kagi extension on the other hand leaked all my first 3 searches. Something must be different.

BambuConnect is not part of BambuStudio - That's intentional, so BambuLab does not need to share/open-source it.

The current implementation (the Bambu network plugin thingy) isn't a part of it either, it's downloaded by the client when BambuStudio is opened.

Hi, I added a part to the GitHub repo explaining this, basically its this:

- The extension requires permission to "Access all websites" solely to detect video players and enable Picture-in-Picture functionality across different websites

- No data is collected, stored, or shared with third parties

- All functionality operates locally on your device

I read a lot online and of course LLMs can probably help you there. I would suggest if it's nothing macOS/safari specific you want to build, start using chrome and develop the extension for it first. If you want to add safari to the list of supported browser later, you can easily adapt the code (as long as safari supports the apis for it).

btw „primary“ and „secondary“ dns resolver is not working the way it sounds at first. It’s more like a loadbalancer instead of fail-over.

OpenWrt 23.05 3 years ago

is it just me or is their website extremely slow? Like unusable slow…

I also don’t like the fact how the toggles work but yes apple has an interest in bluetooth/wifi beeing always on - the apple watch for example. Not so tech savvy people would disable bluetooth/wifi not realizing that this also disconnects the watch. There are probably way more features in the apple ecosystem relying on bluetooth/wifi