What is the code to accomplish that without using extensions?
EDIT: Goal is to click on + next to a TAB so that a duplicate TAB is opened.
EDIT EDIT: [RESOLVED] - thanks to morat.
c627627 wrote:
1. userChromeJS extension is installed. http://userchromejs.mozdev.org/
2. File [My Profile]\CHROME\userChrome.js is edited to contain this:
/* Firefox userChrome.js */
if (location == "chrome://browser/content/browser.xul") {
setTimeout(function () {
document.getElementById("cmd_newNavigatorTab").
setAttribute("oncommand",
"duplicateTabIn(gBrowser.selectedTab, 'tab');");
}, 3000);
3. Next I started Firefox with
firefox.exe -purgecaches