1 Bewertung
- Bewertet mit 5 von 5 Sternenvon Dook, vor 2 JahrenCan 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?
Antwort des Entwicklers
geschrieben am vor 2 JahrenBecause 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.