| Hello everybody! I created a browser extension called TabFloater, which can replicate the picture-in-picture functionality with any website. It moves a chosen tab into a smaller window, which is going to remain always on top, so you can interact with both websites at the same time. This is my very first post on HN. I have been working on this pet project for a bit over a year now. The motivation for it was simple: because I use my browser in a single, fully maximized window, many times I found myself switching back and forth between two tabs, for example to copy something from one website and use it on another. I know there are many extensions that can rearrange tabs for you, but I wanted something a little bit different. I really liked how picture-in-picture works for videos - I wanted to do the same! Easy enough, I thought. I just need to create a new browser window, move the given tab into it, then... I just need to make it always on top. Right? Well, turns out, the browser API doesn't allow you to do that. So after a lot of trial end error, I came up with a way to achieve it: I implemented a small app in C++ that can manipulate the browser window and set the always-on-top property. Then "all I needed" was to hook it up with the browser extension and voila. I also implemented a feature I call "Smart positioning": if you enable it, the extension will analyze the DOM structure of a given site and tries to identify the largest empty area and puts the floating tab there. This way, it doesn't cover up any text, pictures or videos. It more or less works :) Sounds pretty simple, but I spent a LOT of time trying out different things. I use Linux, so naturally I implemented it for that platform first, but I knew it would never be useful for other people if there wasn't a Windows version as well - so I did that too. I worked on this project on evenings and weekends, and I learned a lot. This was my first proper pet project and I'm really glad I was able to see it through! The extension is available for Chrome and Firefox, and you can use it on Windows and most Linux distros. The native application doesn't have an OS/X version - sorry :) I don't own a Mac and I don't know anything about the Apple ecosystem. I'm looking for help in that department, if you're interested! :) Reminder: in addition to the browser extension, you must also install the native application (called Companion). Site: https://www.tabfloater.io/ GitHub: https://github.com/tabfloater/tabfloater Chrome Web Store: https://chrome.google.com/webstore/detail/iojgbjjdoanmhcmmih... Firefox Addon: https://addons.mozilla.org/en-US/firefox/addon/tabfloater/ Thanks! |
On the other hand, my desktop is 2560 pixels wide, and as a result, I've never had the need nor desire to maximise anything. I also rarely use multiple tabs, preferring separate windows instead, which I can then arrange as I please. I wonder if the popularisation of tabbed browsing has decreased the desire/visibility of comparing/contrasting in general, since as you mentioned, it is much more difficult when you can only see one site at a time.