Changing firefox tab index -


i'm working on addon , change index of tab. possible in xul, know how make jetpack have work xul. idea ? thanks

it absolutely is.

const {classes: cc, interfaces: ci, utils: cu} = components; cu.import('resource://gre/modules/services.jsm');  var mostrecentchromebrowserwin = services.wm.getmostrecentwindow('navigator:browser'); if (mostrecentchromebrowserwin.gbrowser && mostrecentchromebrowserwin.gbrowser.tabcontainer) { mostrecentchromebrowserwin.gbrowser.selectedtab = mostrecentchromebrowserwin.gbrowser.tabcontainer.childnodes[0]; //make 0 here there number, starts 0 } 

Comments

Popular posts from this blog

python - matpltolib navigation toolbar edit curves and parameters line color automatically changes issue -

node.js - Nodejs javascript implementation of PBEWithMD5AndTripleDES/CBC/PKCS5Padding -