uzbl
uzbl copied to clipboard
Add new tab support to follow.sh
This would allow creating a binding like "gl*" to open a link in a new tab.
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).
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"?
It's mostly internal anyway, so that'd work for me.
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
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).