1 note
- Noté 5 sur 5par Dook, il y a 2 ansCan i ask you? Why in discardNewTab do you delete and then create a new tab? Maybe do browser.tabs.discard(tabId) for an already created tab instead?
Réponse du développeur
mis en ligne : il y a 2 ansBecause it didn't work, at least at the time I made this extension. I don't remember exactly what happened when I tried to do that... I think I was having trouble passing the url to the tab. This is all i can recall, sorry, I don't program anymore.