In your uzbl config
@bind <Button2> = sh 'uzbl-browser -u \@SELECTED_URI'
Open links in a new instance by middle clicking on them.
(function() {
window.addEventListener("click", function(e) {
if (
e.button == 1 // for middle click
//|| e.ctrlKey // for ctrl + click
) {
var new_uri = e.srcElement.href;
if (new_uri) {
] e.stopPropagation();
e.preventDefault();
window.open(new_uri);
}
}
}, false);
})();
Save the above script to a directory of your choice and add it to the load_commit_handler for example with:
@on_event LOAD_COMMIT script @scripts_dir/middle_click.js