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;}

Tags: Firefox

Similar Questions

  • How can I get the tabs colorful to use different distinct colors for 2 gmail accounts?

    Under Firefox 29.0.1 iMac OSX 10.9.3. I have multiple Google accounts: 2 1 Google Calendar and gmail accounts. Colorful tabs add-on will allow me to choose a color for a gmail account, but it also uses this same color for the other gmail account. How can I get the different colors on 2 gmail accounts?

    In addition, colorful tabs is also the same for my homepage (google.com) and my google calendar. How can I get different colors on these 2?

    Personally, I use 'Fabtabs' for my mozilla FireFox.

    https://addons.Mozilla.org/en-us/Firefox/addon/FabTabs/

    This add-on has problems like that when I use it.

  • Using the Serial Port for data acquisition Non-Serial

    I searched the forums and can't find anything on this topic.

    I saw that it was possible to use the parallel port for e/s digital single and I was hoping that the serial port can be configured the same. It seems all VI VISA only to use the serial port to receive ASCII characters at a given flow rate, but is it possible to simply query the status of the line series at my own speed to see if it is high or low, kind of like a single pin DAQ?

    It seems that it would be possible until the serial data are read and controlled by labview, not Windows. Let me know if you have ideas of how to approach this problem, or any comment as to why it is not possible.

    Thank you all!

    Select the property > settings series > Modem of the line parameters. For example, the State of the CTS is an entry to the pc.

    With the help of these lines is a very poor substitute for a scope or map DAQ. The only things you can return is Asserted, Unknown or Unasserted. The range of acceptable signals is important enough. Anything between + 3 and -3 is an unknown state. Your other signals is + / 3 to 15 volts. What type of signals do you really want to capture?

    Edit: there is no such thing as a visa so I have no idea of what you actually use.

  • When I click on anything it either in the Outlook Express Preview window to stop answer and I have use the ctrl-alt-del combination for her all over again.

    When I click on anything it either in the Outlook Express Preview window to stop answer and I have use the ctrl-alt-del combination for her all over again. Anyone out there have the same problem? If so what did you do about it.

    Original title: I'm under Oulook Express 6 Windows XP Home SP3 environment.

    Bruce:

    The problem has been fixed (I think) but in a most unusual way. Let me explain.

    When I was closing down to give the computer a rest yesterday, there was a pop up saying that vprotector expected to close. He really wanted the process of closing until I clicked on finish the process. Curious to know what vprotector is, I searched on the net and got a lot of shots, saying: it is a virus and should be deleted pronto. So I searched the hard drive for the vprot. * and found in the folder program files for AVG!

    I then went to AVG to see if it's really a part of AVG and they said yes. If there is a problem with vprot, the toolbar is at fault and needs to be reinstalled. There was one click here to download and run the part of the program to fix the problem. However, I had WebRoot antivirus running that stopped the download of this program as a virus. Because I trust AVG, I've disabled WebRoot and reinstalled the AVG search bar.

    I haven't restarted WebRoot and computer flying along as it should, and OE is the link to IE when I click on a link as it has always done.

    Seems to me to be the faulty AVG toolbar and a cross with two virus programs upward was at fault. Thank you for your time. Your reply gave me a chance to think differently this problem could arise.

    Computers are really complicated machines and we have to be complicated to deal with their problems.

    Thanks again,

    Fred

  • Firefox clicking 20 private browsing to see a music video (ex. youtube) quite often opens the non-private tabs

    When you surf privately from navigation (firefox 20 and windows operating system 7), often (not always) click to see a video clip (YouTube for example) opens the non-private tabs. I need more of the mouse
    on the icon of firefox in the toolbar of quick start to show bowth ways to navigate and then open the incognito or tabs tab. Although I use chrome less then 5% of the time and 95% firefox it never happened
    with chrome.

    I think that I was distracted by the appearance of private/not private...

    There is a bug with the Flash plugin (version 11.3 and older) on Windows 7, even in all the non-prive navigation, where opening a page with Flash media causes this window to move behind another window of Firefox - if no other page haven't used Flash in the past 3 minutes. You can learn more about this bug in this thread: opening of new windows and Shockwave Flash.

    It is possible that the isolation between the private and non-private windows has compounded this problem, if each new window gets its own load of Flash, but I have not experienced with it all away to see if this seems to be the case.

  • How can I clear the browser history when you use the custom settings for history?

    When my history option is set to "Use the custom settings for history", the options page has no link to "clear recent history". There was formerly a menu option, but that seems to be gone now with Firefox 29. Is my only option to access the dialog box, clear the history all to change the historical option to history to remember and then change it back? Is there another way to access the option erase history all?

    I think you can get the menu bar by pressing the ALT key. If you want to return permanently, click View > toolbars and check menu bar.

  • When I open a web page any using firefox, its ok for a few minutes, then he opens another page saying it is redirected for no reason at all

    When I open a web page any using firefox, its ok for a few minutes, then he opens another page saying it is redirected for no reason at all, the homepage remains open, but the other page start for no reason at all in another tab

    It's very consistent, he arrives a few minutes? In this case, I suggest this test:

    To find out if one of your extensions is the culprit, could you test mode without failure of Firefox? It is a standard diagnostic tool to disable some advanced features of Firefox and extensions. More info: questions to troubleshoot Firefox in Safe Mode.

    You can restart Firefox in Mode safe mode using either:

    • button "3-bar" menu > "?" button > restart with disabled modules
    • Help menu > restart with disabled modules

    Not all add-ons are disabled: Flash and other plugins still works

    After stops in Firefox, a small dialog box should appear. Click on 'Start mode safe' (not reset).

    Any difference?

  • My verse ATT modem (non apple devices to use this modem} is connected to the ATT line, Time Capsule (iPhones, Macs Time Capsule use) via ethernet Uverse.) Non apple devices can collect data from iPhones or Mac using the time Capsule?

    My verse ATT modem ({use of devices not apple wifi of this modem} is connected to the ATT line, Time Capsule (iPhones, Macs use the wifi of the time Capsule) and connect to the Uverse modem via ethernet.)

    Both devices are set to the highest security and each uses separate passwords.

    Non apple devices can collect data from iPhones or Mac using the time Capsule?

    With a bit of work by someone who knows how to do such things, not Apple computers could read some files on the Mac if file sharing is configured on the network... devices non-Apple and... He knew the device passwords or administrator for Macs.

    Mac could also play the files on other Macs if file sharing has been implemented and the device password or admin was known.

    If you ask if a PC can read the files on the Time Capsule, the answer is Yes, without doubt, assuming that the PC knew the password of device for the time Capsule.

  • I want to use Outlook Web Access for Mac, I don't want to use the light version, I want the full version, but you can't push off the mark. I have firefox 3.6.10

    I want to use Outlook Web Access for Mac (snow leopard 10.6.8), I don't want to use the light version, I want the full version but I can't push off the mark on the light version. I have firefox 3.6.10

    (1) you must update at least Firefox 3.6.24 because there are questions of SECURITY of KNOWN MANY with the version you are using.

    (2) the light version is required on non - IE browsers, except if you are running Exchange Server 2010. With Exchange 2010 they added support for multiple browsers run in the version "no light".

  • Firefox guard handed himself to "never remember history" even if I say "use the custom settings for history".

    Firefox seemed to work fine until yesterday. When I used Firefox yesterday, my home page was changed to Firefox start page and did not open my tabs from the day before. I went to settings and changed the homepage back to google.com and told to "use the custom settings for history". I closed Firefox and opened it again and my homepage was google.com, as I put it, but it was back to "never remember history". I tried several times, yesterday and today, but Firefox keeps affecting himself never "remember history".

    Choose the 'use the settings customized for history' parameter is not make changes to the parameters of the history and cookies.

    Firefox displays the "use the custom settings for history" as an indication that at least one story and cookie settings is not the default to make you aware that the changes have been made.

    If all the history settings are default, custom settings are hidden and see you "conservation rules: (never) don't forget history."

    Don't remember history"means that private browsing is active and"Always use private browsing mode"Gets a check mark.

  • When to use a second window instead of the tabs?

    I do a lot of comparative research and 25 open tabs is usual.
    Sometimes I need a lot more - (I got 40 + tabs open...)
    My question is:
    When, or if, should I look to open a new browser window?

    See you soon!

    It is up to you. If you have enough memory 100 or 200 tablets should not be a problem. It can be a problem to locate a specific tab if you only open many tabs and it may be time to think of another window. You can also use a window for a specific topic. You can use the tear-off function to drag tabs into a new window.

  • Unabl eto manage my mail server using Alt - N Mdeamon Mailing software with windows server 2012 R2...

    Original title:

    Mail server

    Guys, I'm having trouble managing my mail server using Alt - N Mdeamon Mailing software with windows server 2012 R2...

    Can anyone suggest Me an alternative to that.

    Waiting for the answer

    Problems to go to the post office software company.

    Google for other e-mail programs.

  • Why can I not use ALT + code to create symbols on my HP Pavilion dv6 notebook PC?

    Hello

    I'm used to be able to use alt codes to customize different aspects of my posts.  Accentuation of e for names French, using the symbol of the openness of temperatures, the car and therefore symbols... and I can't make them work now.  Would appreciate some help here...

    Thanks for your time,

    Darlene

    Make sure that NUMLOCK is on, and that you use the number keys on the pad.  If your laptop computer has a keyboard with the numeric keypad 10 buttons, use those.  Otherwise, make sure you use encrypted keys that are on top of the normal letters.  Whatever it is, the Alt codes will not work with the last row of number keys; only with the keys num lock.

  • How can I put pictures outside the window of Photoshop elements 14 work, so that I'm not obliged to work within the program window, but use my screen completely for the image?

    How can I put pictures outside the window of Photoshop elements 14 work, so that I'm not obliged to work within the program window, but use my screen completely for the image?

    dannyb76251437 wrote:

    How can I put pictures outside the window of Photoshop elements 14 work, so that I'm not obliged to work within the program window, but use my screen completely for the image?

    Note that you can work with two screens and drag and drop the image to display on the other window.

    I think you mean working temporarily with the window enlarged image without displaying all the tools and panels.

    See:

    Panels and bins in Photoshop Elements

    My advice: take the time to read the above help and especially to look at ways to maximize this window if you are on Mac or Win.

    Set your preferences in the Edit menu to "allow the floating windows in expert mode.

    Use the "tab" on the keyboard key to hide or show your panels and tools quickly.

    Find out how to hide the photo tray.

  • When we use a unique index for PK?

    I was reading this part of the manual oracle:

    http://docs.Oracle.com/CD/B28359_01/server.111/b28310/indexes003.htm#ADMIN11727

    I got confused because I was trying to research why sometimes, we want to create a primary key by using a unique index.

    CREATE A UNIQUE MYTABLE_PK ON MYTABLE INDEX

    (START_DT, ANNUAL)

    LOGGING

    TABLESPACE TBS_INDEX01

    NOPARALLEL;

    ALTER TABLE MYTABLE ADD)

    CONSTRAINT MYTABLE_PK

    KEY ELEMENTARY SCHOOL

    (START_DT, ANNUAL)

    WITH THE HELP OF INDEX MYTABLE_PK);

    And sometimes we simply create the primary key without using a unique index.

    ALTER TABLE MYTABLE ADD)

    CONSTRAINT PK_MYTABLE

    KEY ELEMENTARY SCHOOL

    (START_DT, ANNUAL)

    THE HELP INDEX);

    When we use a unique index for PK?

    James, you have returned to the question thread.

    I apologize: I'm sorry, user8875620, your son has been hijacked. A UK or PK constraint needs an index. You can create a (unique or non-unique) explicitly, or you can let Uncle Oracle create it implicitly when you define the constraint.

Maybe you are looking for