I work with a https://addons.mozilla.org/en-US/developers/builder (Add-ons builder) and I try to do the following things:
1.How to change currentURI
address? Method setTabURL()
is not suitable because immediately opens the URL.
While found a way out:
tab.attach ({
contentScript: "history.pushState ('','', '" + tab.url + "');",
});
2.How to get the url address that is entered in the address bar? Method getTabURL()
only shows the address at which settled.
3.How to add text to an icon in the toolbar? I use it here: https://builder.addons.mozilla.org/package/166563/