I'm creating an extension that performs an action when a certain URL is clicked, redirected, or entered via Address Bar, but I want the extension to appear smooth by not having the tab appear at all.
I am using
chrome.webNavigation.onBeforeNavigate.addListener()
chrome.webRequest.onBeforeRedirect.addListener()
But these methods still briefly open the tab before closing it again (which is part of my extension's function.)
Any suggestions on preventing the tab from being opened at all (or at least delay the tab from opening)?