uzbl icon indicating copy to clipboard operation
uzbl copied to clipboard

Add new tab support to follow.sh

Open aragaer opened this issue 7 years ago • 5 comments

This would allow creating a binding like "gl*" to open a link in a new tab.

aragaer avatar Oct 17 '16 12:10 aragaer

The REQ_NEW_WINDOW event is meant to be hooked up to the new tab or new window event based on your preferences. I feel like a command to force a new window would be more interesting (since in a tabbed environment, it still makes sense while in a non-tabbed environment, it's just the same thing).

mathstuf avatar Oct 17 '16 13:10 mathstuf

Now that I have found those preferences I no longer actually need this fix. But to make a "force new window" the biggest problem I see is what name it should be. "forcenewwindow"?

aragaer avatar Oct 17 '16 19:10 aragaer

It's mostly internal anyway, so that'd work for me.

mathstuf avatar Oct 17 '16 19:10 mathstuf

It would be nice if we could have consistency with the event names but unless we're changing 'newwindow' I don't think we can do that. +1 on forcenewwindow

keis avatar Oct 17 '16 21:10 keis

We could add a new alias reqnewwindow for the existing one and deprecate the old one (though I don't know how best to deprecate things in these areas).

mathstuf avatar Oct 18 '16 00:10 mathstuf