My config: Firefox 6.0, NoScript 2.1.2.8rc1
I love opening lots of tabs. But when using the keyboard to quickly switch backward and forward between them, switching comes to a stop. I have to release the key for one or two seconds, then can switch to another tab.
The Error Console is flooded with Information messages like:
[NoScript ClearClick] Swallowed event keydown on http://forums.informaction.com/viewforum.php?f=10 (rapid fire from http://noscript.net in 400ms)
[NoScript ClearClick] Swallowed event keypress on http://forums.informaction.com/viewforum.php?f=10 (rapid fire from http://noscript.net in 400ms)
[NoScript ClearClick] Swallowed event keyup on http://forums.informaction.com/viewforum.php?f=10 (rapid fire from http://noscript.net in 400ms)
Workaround:
Go to about:config and set noscript.clearClick.rapidFireCheck to false.
After doing so, fast switching works again.
bye,
itsme
Fast tab switching is broken
Fast tab switching is broken
Mozilla/5.0 (Windows NT 6.0; rv:6.0) Gecko/20100101 Firefox/6.0
- Giorgio Maone
- Site Admin
- Posts: 9527
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Fast tab switching is broken
You did not mention which shortcuts you use to cycle.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0
Re: Fast tab switching is broken
I used the keyconfig extension to map some JavaScript code to the shortcuts 1 and 2. Here's what I did:
Name: Focus Prev Tab
Shortcut: 1
Script: gBrowser.mTabContainer.advanceSelectedTab(-1,true);
Name: Focus Next Tab
Shortcut: 2
Script: gBrowser.mTabContainer.advanceSelectedTab(1,true);
bye,
itsme
Name: Focus Prev Tab
Shortcut: 1
Script: gBrowser.mTabContainer.advanceSelectedTab(-1,true);
Name: Focus Next Tab
Shortcut: 2
Script: gBrowser.mTabContainer.advanceSelectedTab(1,true);
bye,
itsme
Mozilla/5.0 (Windows NT 6.0; rv:6.0) Gecko/20100101 Firefox/6.0
- Giorgio Maone
- Site Admin
- Posts: 9527
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Fast tab switching is broken
Then it's by design, because you could be tricked into a Clickjacking attack involving fast changing to a different document and capturing your keystrokes.itsme wrote:I used the keyconfig extension to map some JavaScript code to the shortcuts 1 and 2.
To work-around, just add a modifier (e.g. alt or ctrl) to your shortcut.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0
Re: Fast tab switching is broken
Adding a modifier decreases usability way to much for me.Giorgio Maone wrote:To work-around, just add a modifier (e.g. alt or ctrl) to your shortcut.
I stumbled upon "switching tabs with keys 1 and 2" in the early days of the Opera browser. And I fell in love with that functionality from the very first second. Nowadays - when surfing the web - I'm using the right hand to point and click with the mouse. The left hand navigates web pages: Q and A scroll up and down; W and S page up and down; E and D go to the top and bottom.
So I have to stick to the workaround mentioned in my first posting.
Anyway, thanks for your fast responses. And thanks for this great NoScript extension and all the time and work you put in. I appreciate that very much.
bye,
itsme
Mozilla/5.0 (Windows NT 6.0; rv:6.0) Gecko/20100101 Firefox/6.0