[uzbl-dev] one link follower to rule them all

Dieter Plaetinck dieter at plaetinck.be
Wed Nov 11 07:54:36 PST 2009


Guys and girls,
we currently have:
- 3 link following scripts in my git
- one or more ones in separate forks: 
e.g. http://github.com/sykora/uzbl/tree/follower-redux
- a bunch on the wiki:
http://www.uzbl.org/wiki/follow_numbers_new_window.js
http://www.uzbl.org/wiki/follow-dmenu.pl (special one)
http://www.uzbl.org/wiki/follow_numbers_customizable.js

it would be great if we could unify all those into 1 supernice
linkfollowscript, because this is confusing and not handy.

Obviously, this new uberlinkfollower should be very configurable.  But
not configurable by modifying the script itself, rather by using
external css files (`set stylesheet_uri` comes to mind here) and
leveraging uzbl's configuration "framework":
in js you can do:
var somevar = Uzbl.run("print @variable_set_in_uzbl_config")
or even:
set uzbl_var = @(cat somefile)@
var somevar = Uzbl.run("print @uzbl_var")

I'm sure you can come up with even cleverer tricks.

should be configurable:
- how to open new links (new window, change uri, ...)[1]
- styles
- characters to use to match
- ...

[1]: in fact, it would be nice to also support non-opening things with
links (e.g. copy link to clipboard, open script with link as
argument, ..).   For this reason we're actually not talking about "link
following" anymore but rather about "link handling"


So, to all authors of the mentioned scripts and other interested people:
please reply your thoughts, and lets get started on the linkhandler.js !


Dieter


More information about the uzbl-dev mailing list