Is there a way to open a link in a WebExtension sidebar to the currently active tab? I don't want to automatically open the link in a new tab. I'm talking about regular links:
<a href="https://www.example.com">Example</a>
Things I've tried:
- Adding any
targetvalue to theaelement does not seem to have the desired effect for any value. - Calling
window.location.replaceopens the link in the sidebar instead of the currently active tab. - Getting the current tab by using
browser.tabs.queryand settingtab.urlfor the sole result does nothing (even though I have added thetabspermission tomanifest.json).
At this point, I'm kind of thinking this might not be possible. Is this the case?