We make an open source browser.
Please correct the add-on of the tabs. It is necessary that the tab is added to the beginning. Now the tab is added to the end:
var newTab = tabs.add({}, tabs.getIndex(tabs.getSelected()) + 1)
Tried these options:
tabs.add({}, 0)
tabs.add({})
tabs.put({})
How do I add a tab to the beginning?
Aucun commentaire:
Enregistrer un commentaire