Belly King
unread,Sep 6, 2023, 9:05:11 AM9/6/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, ONLYHUMN, wOxxOm, nors...@gmail.com
Hi, does
chrome.tabs.reload actually work? Say I have a tab with id 123, when this tab is discarded, calling
chrome.tabs.reload(123) does not work for me...I get tab id does not exist error.
I am building an extension to manage tabs. If the tab discarded, I cannot find a way to update the discarded one with new tab id...
I listen to the
chrome.tabs.onUpdated event. When tab(id=123) is discarded it is like this:
chrome.tabs.onUpdated: tabId: 456, tabChangeInfo:{ discarded: true, status: "unloaded" }
This is no way for me to know that tab 456 is actually linked to tab 123.