Re: [dev][surf] Next schedule?

From: Enno Boland (Gottox) <gottox_AT_gmail.com>
Date: Thu, 1 Oct 2009 22:08:11 +0200

2009/10/1 Julien Steinhauser <Julien.Steinhauser_AT_orange.fr>:
> 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
Received on Thu Oct 01 2009 - 20:08:11 UTC

This archive was generated by hypermail 2.2.0 : Thu Oct 01 2009 - 20:12:02 UTC