1 відгук
- Оцінка 5 з 5від Dook, 2 роки томуCan 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?
Відповідь розробника
оприлюднено 2 роки томуBecause 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.