如何在系统托盘中显示 google chrome 应用程序图标,并在使用 javascript、jquery、google chrome 扩展程序最小化窗口时隐藏任务栏中的图标
最佳答案
这是解决方案https://chrome.google.com/webstore/detail/lightning-reopen/ahphokgmcecbjeipkfkamcdmemghkaph
这正是您要找的东西,我目前正在使用它,它的唯一目的是将 Google Chrome 放入系统托盘并让它在后台运行,就是这样。
这里是来自开发者页面的直接引用,描述了此 Google Chrome 扩展程序
Keep Chrome open in the background for faster re-opening Do you have a million extensions installed that take absolutely ages to load when you open a new Chrome window, causing freezes and stuttering? Do you want to get notifications from your browser extensions without having to keep a Chrome window open and cluttering your taskbar? Do you have more RAM than you know what to do with?
If you answered yes to at least one of the questions above then this extension is for you! After installing, Chrome will sit in your notification area and remain open in the background, which means that when you open a new Chrome window all your extensions will not need to re-initialize themselves resulting in a lot faster startup and next to no lag.
For the longest time I've been just installing Dropbox for Gmail on all my machines to get this effect, but taking a look at what permissions it has made me realize that maybe I should not be doing that. I decided to make my own background extension with no permissions, no cryptominers and no API calls "phoning home".
That's right, this extension literally has no way to access any of your personal data anywhere while you're browsing, its only purpose is to let you keep Chrome in the background. Even if at any point the extension were to be compromised you would be prompted for any extra permissions, which you should never agree to. You have my word that this extension will never be sold to any shady extension marketing company looking to inject ads and/or trackers into every page you visit.
此扩展是开源的,您可以在这里找到源代码:https://github.com/SeinopSys/LightningReopen
关于javascript - 如何在系统托盘中显示 google chrome 应用程序图标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42243216/