Double function button

That should be possible with a script.
For the navigation maybe browser_mod.navigate.