Re: [greasemonkey-users] Detect TAB click (change)

2009-12-19 Thread Paul Herring
On Sat, Dec 19, 2009 at 2:08 PM, spirit arekmichalsk...@gmail.com wrote: I have another problem. I have open 2 TAB or more and try make script that detect when users change TAB (click mouse or use CTRL + TAB keyboard). Now I have only use: window.addEventListener(click, function(e) {  

Re: [greasemonkey-users] Detect TAB click (change)

2009-12-19 Thread cc
I strongly suggest using Jetpack https://jetpack.mozillalabs.com/ for this type of thing. Greasemonkey is decidedly not designed to work with Firefox chrome at all, at all. IIRC, Jetpack has a nice tab switch event https://developer.mozilla.org/en/Jetpack/Basics#Events to notify you when the

Re: [greasemonkey-users] Detect TAB click (change)

2009-12-19 Thread Anthony Lieuallen
On 12/19/2009 9:08 AM, spirit wrote: Any idea how to solve the problem? Make an extension. For altering how the *browser* behaves (your past two requests), you make extensions. For altering how *pages* in the browser behave, some or most times a user script is better. -- You received this