Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I hide my extension's icon by default?

My Chrome extension doesn't need an icon - it's a one-liner extension that doesn't want to take up space on your extension bar.

How can I hide the icon by default?

like image 603
ripper234 Avatar asked Oct 23 '12 23:10

ripper234


People also ask

How do I permanently hide extensions in Chrome?

1] Locate the Chrome shortcut icon on the taskbar, Start Menu, or desktop. 2] Right-click on the icon and select properties from the menu. 5] Click OK to save the new target settings. 6] Now, open Google Chrome and the extension icon will no longer be displayed.

How do I hide the Chrome puzzle icon?

Remove the Puzzle icon or Extensions button from ChromeRight-click on the desktop shortcut of Chrome browser. Select the Properties option. Enter --disable-features=ExtensionsToolbarMenu in the end of Target box. Click on Apply and OK.

How do I hide Google extensions?

First, you must find the icon for your extension in your browser as this is how you will hide the extension. After locating the icon, right-click and select “Hide in Chrome Menu.” After clicking this option, the icon for the extension will disappear from your toolbar.

Can Chrome extensions be private?

Private: Only users in your domain can see the extension and install it. To make private extensions available to users outside of your domain, you would need to set up a “trusted tester” group and add them manually via email addresses within the Chrome Developer Dashboard.


2 Answers

Due to a change spearheaded by Google, all extensions now must have an icon in the toolbar area or the "overflow" in the menu.

Even if you don't have a browser_action, your extension will display an icon (or failing that, a tile with extension name's first letter). If you do not declare a browser_action, it will be greyed out and non-interactive, but will still be there.

The idea of this change is to provide visibility of otherwise potentially stealthy extensions ("Hey user, did you even know you have those installed?"). It's, let's put it, debatable whether it's the best approach, but that was Google's decision.

like image 198
Xan Avatar answered Oct 07 '22 22:10

Xan


To suppress this behavior, add "converted_from_user_script": true to the extension's manifest.json. This works as of Chrome 61.

It used to be that visiting a link to a user script (ending in .user.js) caused Chrome to package up the user script as a content script extension with a generated manifest which included the converted_from_user_script key. Of course, this no longer works because all extensions (except in developer mode) now have to come from the Chrome Web Store.

like image 33
George Avatar answered Oct 07 '22 20:10

George