chrome-tab-modifier icon indicating copy to clipboard operation
chrome-tab-modifier copied to clipboard

Hide Icon

Open supersaiyansubtlety opened this issue 7 years ago • 5 comments

Browser: Chrome Extension version: 0.21.0 Could you please add an option to hide a tab's icon in the list of included icons?

supersaiyansubtlety avatar Feb 23 '18 17:02 supersaiyansubtlety

@clfer What do you think about that and would you be interested to make it?

Best

sylouuu avatar Feb 28 '18 13:02 sylouuu

Hi

You can check branch #124-Hide_icon I'm not fully satisfied... All it does is display an empty favicon

clfer avatar Mar 01 '18 22:03 clfer

What about removing all icons?

A condition here and return true ;)

sylouuu avatar Mar 01 '18 22:03 sylouuu

I tried it at first but it doesn't work like this...

If there is no icon, the browser while try '/favicon.ico' and such (and most of the site I've tested have this fallback icon)

Another naive attempt was an empty (or corrupted) href for the shortcut icon

<link href="" rel="shortcut icon">

This doesn't work either as chrome display a default icon...

That's why i came up with this solution

clfer avatar Mar 01 '18 23:03 clfer

If you want to just show an invisible icon, you can use a data URI to provide a transparent pixel, such as: data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw== provided by an Online Transparent Pixel Generator

You can also hide the tab name by placing a Zero Width Space character to override the title.

Ideally, there would be a "Invisible Icon" option from the icon pulldown, but the data URI works fine in the meantime.

It would be great to allow the icon to be completely removed from the tab, so that the tab width was decreased.

somethingSTRANGE avatar Mar 25 '22 22:03 somethingSTRANGE