tumpio / requestcontrol

A Firefox extension
https://addons.mozilla.org/addon/requestcontrol
Mozilla Public License 2.0
173 stars 25 forks source link

Close tab if Request Control leaves a tab empty? #143

Open benkuhn opened 3 years ago

benkuhn commented 3 years ago

Hey, thanks for making Request Control! It saves me a lot of schlepping URLs to/from the various apps I use for work :)

I have a (hopefully) small feature request that would help me when using Request Control to e.g. rewrite Zoom links to zoommtg:// to avoid the "post-attendee URL" tab explosion.

Expected behavior

If a URL is opened in a new tab, and Request Control rewrites a URL so that it's opened by an app, the tab should close.

Actual behavior

The tab stays around as an empty tab.

Steps to reproduce the problem

This will end up opening a tab with the Zoom url, which immediately gets rewritten and opened with the Zoom desktop app; but the empty tab stays around.