2009/10/1 Julien Steinhauser <[email protected]>:
> Hello, this function is from uzbl wiki, it does the trick.
>
> (function() {
>        window.addEventListener("click", function(e) {
>                if (e.button === 1) {
>                        var new_uri = e.srcElement.href;
>                        if (new_uri) {
>                                e.stopPropagation();
>                                e.preventDefault();
>                                window.open(new_uri);
>                        }
>                }
>        }, false);
> })();
Nice idea! Add it to the wiki :)


-- 
http://gnuffy.chaotika.org - Real Community Distro

Reply via email to