Hello,
I have 5 ebay tabs open in Firefox version 51. I want to get a message box 
each time when clicking on a browser tab. How can I get the greasemonkey 
sample below working? (the script is designed for ebay).

// ==UserScript==
// @name        Ebay
// @include     http://www.ebay.de/*
// @version     1
// @grant       none
// ==/UserScript==
var gBrowser = document.getElementById("content");
gBrowser.tabContainer.addEventListener("select", onTabSelect,false);
function onTabSelect(){ alert("Tab change"); };

Code hier eingeben...


-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to