In a Webextension created for Firefox desktop i can get the url of the activetab by using this code:
chrome.tabs.query({active: true, currentWindow: true}, function (tabs) {
console.log(tabs[0].url);
})
However, if I use this in latest Firefox Nightly on Android, I get only ‘undefined’.
How can I retrieve the url of the activetab?
And yes, in permissions, I have set activetab.