Uzbl

Tasklist

FS#60 - mouse bindings (was: Get urls from middle-click)

Attached to Project: Uzbl
Opened by 3288778 (g8723g82) - 2009-07-02 11:35:53 AM
Last edited by Dieter Plaetinck (Dieter_be) - 2009-12-19 10:34:48 AM
Task Type Feature Request
Category uzbl-core
Status Closed
Assigned To No-one
Operating System All
Severity Very Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

In Opera you can press middle click anywere in the opera window and it will go to the url in the clipboard.

dieters edit: if we have mouse bindings we can do lots of stuff like this
This task depends upon

Closed by  Dieter Plaetinck (Dieter_be)
2009-12-19 10:34:48 AM
Reason for closing:  Implemented
Comment by Dieter Plaetinck (Dieter_be) - 2009-09-19 09:00:27 AM
what you actually want is mouse bindings.
See http://lists.uzbl.org/pipermail/uzbl-dev-uzbl.org/2009-July/000223.html
i'll update your ticket
Comment by Anonymous Submitter - 2009-12-18 06:50:52 AM
We've implemented this in the example config:

# Middle click
# if clicked on a link open the link in a new uzbl window
# otherwise open the selection in the current window
set load_from_xclip = sh 'echo "uri $(xclip -o)" > $4'
set open_new_window = sh 'uzbl-browser -u \@SELECTED_URI'
@bind <Button2> = @jsh if(get("SELECTED_URI")) { run("\@open_new_window"); } else { run("\\\@load_from_xclip"); }

Loading...