1 recenzija
- Ocijenjeno s 5 od 5od Dook, prije 2 godineCan 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?
Odgovor programera
objavljeno prije 2 godineBecause 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.