Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Minimize Chrome browser to tray?

How to minimize chrome browser to tray when I click on standard minimize button?

I don't want Chrome to appear in task bar.

Can we implement this by Chrome extension code?

like image 350
Almas Adilbek Avatar asked Nov 25 '10 04:11

Almas Adilbek


3 Answers

As amer pointed out, there exists an extension solely purposed to do this functionality.

Luckily, the extension is open source and has a home here you can borrow it as long as your extension itself is kept open source (you should check the license for details).

Note, though, that since the chrome extension APIs don't provide this functionality (tray icons and hiding browser windows), the extension resorts to an NPAPI plugin (you can see in the source trunk that it bundles a .dll file, and that is open source (C++) too!).

It's not the best case scenario, Google discourages NAPAPI unless it's the only way (in this case, unfortunately, it is) due to security openings. The extension on the Chrome Web Store will ask for permission to "Access your data on your computer" which is seen negatively by wary users, especially and justifiably so if you don't take an effort to explain that general permission wording more clearly in your extension description.

Also the extension is targeted at Windows platforms, so you would have to look into specific NPAPI implementations for Linux and Mac if you need to support them.

like image 188
Vic Goldfeld Avatar answered Nov 20 '22 22:11

Vic Goldfeld


Use the open source project RBTray on SourceForge. then you can minimize any window to the icon tray. Works on Windows 7. Once you run it, you need to right-click on 'minimize' icon of any window (left-most one, the one that normally moves window to task bar). Window will be moved to system tray instead.

like image 30
ShaneS Avatar answered Nov 20 '22 23:11

ShaneS


This extension exists: https://chrome.google.com/extensions/detail/ajedaeoideoipodoijpbpabhhadnniac

like image 21
amer Avatar answered Nov 20 '22 21:11

amer