How to choose an icon for a pinned tab?

I created a two pinned tabs. We have a very generic icon and the other has no icon. How to choose an icon for the pinned tabs? Can it be done? Using a hack is fine too.

You can probably do it with the code in the userChrome.css file.

Here is an example that works for Gmail.

Add code to the file userChrome.css below default @namespace.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#tabbrowser-tabs .tabbrowser-tab[pinned][label^="Gmail"] .tab-icon-image {
 list-style-image: url("https://ssl.gstatic.com/ui/v1/icons/mail/images/favicon5.ico") !important;
}

The file userChrome.css (UI) customization and userContent.css (Web sites) are located in the folder of chrome in the Firefox profile folder.

Tags: Firefox

Similar Questions

  • How to choose a photo for the cover of the album in Adobe Revel?

    How to choose a photo for the cover of the album in Adobe Revel?  Currently,.

    Adobe Revel chooses the first photo by date.  Is it possible to replace it

    and choose your own photo?

    For iPad or IPhone:

    -Select album display

    -Select album

    -In the album, a long press on a photo (touch and hold the button)

    You will see an option to select the photo for the cover.

    For the web browser:

    -Select album display

    -Move the cursor to the album

    You will see a change icon in the upper right

    -Select the icon

    -Go to the album and click on the photo you want as the cover.  It will then become the album cover

  • Hey, how to choose a color for a gradient? It only allows me to do black and white or a solid color

    Hey, how to choose a color for a gradient? It only allows me to do black and white or a solid color

    1. Select a point of gradient
    2. Change the color in the color palette (you may have to use the wheel of color palette menu to change the color mode), or drag a swatch swatch on the gradient stop form or option click a swatch in the Swatches palette
  • Download a update, I get this message,"you don't have the appropriate permissions. Choose another directory for registration. How to choose another directory for registration?

    Trying to update from Mozilla, I get the error message following, "the file would be not saved because you do not have the appropriate permissions. Choose another directory for registration.

    How to choose another "directory" of record?

    Press Alt + E and then N to bring up your preferences. On the general tab, check the option "always ask me where to save files.

  • How to choose a color for my emails "sent"?

    I would like to choose a color for the emails that I send and I can't find a way to do this, please notify

    CrystalBall © SEZ...

    {Moderator note: moved into Windows XP Networking forum}

    In these forums, you will find support for Windows Live Mail : http://windowslivehelp.com/forums.aspx?productid=15

    You will find support for Windows Live Hotmail in these forums: http://windowslivehelp.com/forums.aspx?productid=1

    [Yes, the names are very confusing. What were thinking? ]

  • How to choose a SIM for calls out?

    Hello, I hace of choice for all calls, wich sim I want to use, I would like to know how could choice a SIM for calls, could someone help me? Thank you

    As far as I know, this is not possible. Unless disable you a SIM card and let the other treatments. But if you turn it off you will not be able to receive calls on this subject.

  • BlackBerry smartphone how to create an icon for my email accounts?

    Hi - I use Internet e-mail services for my work and my personal email - and I therefore two configuration of e-mail services.

    The previous Blackberry this created three icons--one for each service and a handset.

    The torch, I have one for my personal email account, and one for the handset. There is no separate icon for my work e-mail account.

    Something I've done in the settings?

    Anyonw know please if there is a way to create a separate icon for my work email account?

    Thank you!

    MKE

    If your job is configured via BES or BESx then the icon is hidden by default.

    You have two choices: -.

    (1) in the main message box, go to the Options - the Inbox management and uncheck your personal account which will stop the e-mails contained in the main Inbox

    (2) in the pane all, press the Menu key and select Show all - this will show the hidden desktop icon - highlight and select view (if you want you can now hide the all-in-one Inbox) and then press the menu button and uncheck everything display.

  • Use Alt + 0-9 for non pinned tabs, Ctrl + 0-9 for pinned tabs

    Hi there community!

    As just mentioned above, I want to change my keyboard shortcuts for navigating between tabs pinned and not pinned are distinguished. Reason of it is that I have ~ 8 pinned tabs (Gmail, Facebook, Feedly, Calendar and HabitsRPG to name a few) and thus cannot navigate quickly between my regular tabs, released by using the number pads.

    Thank you!

    This code when it is assigned to a button will select a tab not pinned with number D, you could possibly use the keyconfig or another extension to assign Ctrl 1-9 of the code.
    I use this to go to the first tab released without code D.

    var D=1;
    var M=gBrowser.mTabContainer;
    var C=M.childNodes;
    var L=C.length;
    var cT=M.selectedIndex,sT=cT,T,i;
    for(i=0;T=C[i];i++){if(!T.hasAttribute('pinned')){sT=i;break;}}
    M.selectedIndex=sT+D-1;
    

    Test code:

    var M=gBrowser.mTabContainer;
    var C=M.childNodes;
    var L=C.length;
    var cT=M.selectedIndex,sT=cT,T,i;
    for(i=0;T=C[i];i++){if(!T.hasAttribute('pinned')){sT=i;break;}}
    var D=parseInt(prompt("PIN: "+(sT)+"\nCUR: "+(cT+1),L-sT-1))||0;
    if(D<0){D=-D;sT=0;}
    if(D){M.selectedIndex=sT+D-1;}
    
  • How can I disable the ability to pin tabs in FF13?

    I am looking for a way to disable the pinned tabs app - the ability to create and maintain those which already exist; preferably both. Is there a preference hidden (or normally disabled) in the config page which could be fixed? Destroy the existing profiles and repeating periodically are an option, but a distant second choice to stay with FF12.

    You can probably use the Menu Editor extension to remove the PIN as App tab in the context menu of the tab bar.

    You can also add code to the file userChrome.css below @namespace by default to hide items from the popup menu.

    Customization files (interface) userChrome.css and userContent.css (Web sites) are located in the chrome folder in the user profile folder.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #context_pinTab, #context_unpinTab { display:none!important; }
  • How to make large icons for all elements of quick start?

    Original title: large icons in quick start.

    I have five different 'users' on my XP (SP3).  Some of them allow to establish large icons from quick start, others not.  How to make the great icons of all Quick Start icons?

    I found for myself that all you have to do is click with the right mouse button on an empty area inside of the quick launch area, choose the top menu, click on 'View', click on 'large icons '.

    That's all it takes!

    F H

  • How to choose the applicaton for scanning constantly?

    Hello

    We have using 3 different printers MF in our office. All printers are connected to the local network (1 PC via an integrated NIC, 2 pcs through Trendnet print servers)

    Each connection for scanners, windows displays the window "To initiate the new scan" and asking to select the corresponding program to this action. The choice is between MS office word and Microsoft scanner and camera wizard. After disconnection of the scanner and connecting again, "to initiate the new scan" window appears again, same "Always use this program for this action" checkboks have been checked several times for each scanner before. I guess, that he just don't remember the choices for temporary connections network analyzers.

    The question is, how I can definitely choose "Microsoft scanner and Camera Wizard" as default for my scanners? I guess I need to make some changes in the registry?

    Thanks in advance for any help.

    System: WinXP SP3
    Hardware: HP Pavilion dv5000

    Hello

    Contact the manufacturer of the printer to the evolution of the settings of the Print Server utility.

    You can also see the following article which allows the creation and editing of print server properties affects all printers on the print server.

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/print_setting_printserver_propsw.mspx?mfr=true

    Hope the above information is helpful.

  • How to choose a vcard for use in the automatic filling of Safari?

    Recently, I cleaned my Contacts Apple and remove duplicates of myself. Apparently I deleted the one designated as my user vcard so even if I have one with all my contact information, I can't fill it with Safari (the little blue guy to the right of the fields on form in the Sierra of the BONE), to fill anything for me more. Anyone know how to restore this behavior?

    Thank you!

    Michael

    In Contacts, select the card you want to use like me, and then select make this card my card in the card menu.

    Also further, you can edit the information used by Safari in Preferences > AutoFill.

  • How to choose photo album for screen saver?

    Upgrade to El Capitan, and among the many things that have changed or disappeared is to select what iPhoto (Yes, I know now his Photo) album to use for the screen saver. Previously, I could choose the album that I wanted to, but now it seems that the only option is to all THE photos - which I don't want. I'm in the preferences > Desktop & Screensaver > screen saver > Source > Photos. Argh, this has been a most difficult OS upgrade.

    I found - on the menu after selecting the Photos is a photo library option that led to which I could select the album drop-down Sources.

  • How can I remove icons for programs unibstalled of the control panel "programs and features"?

    Icons FRO uninstalled programs still appear in "Programs and features" of the control panel. How can I remove them?

    Hello


    Icon/program which you are referring?

    To work on the issue, refer to these methods.

    Method 1:

    Check out the following link to start your computer in safe mode
    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode
     
    Check if the problem persists in safe mode. Display the results.
     
    Restart the computer and boot to the desktop normally.

    Method 2:

    Run the fixit from following link to confirm if the program or the application has been uninstalled correctly.

    Solve problems with programs that cannot be installed or uninstalled
    http://support.Microsoft.com/mats/Program_Install_and_Uninstall
     
    See also:

    Check if it helps.
  • How to change my icons for med

    change my setting of the icon of lg to med

    change my setting of the icon of lg to med

    Right-click on a free space of the desktop > view > take average. (I prefer the classic icons instead of the average). For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

Maybe you are looking for