You are not logged in.
I was browsing reddit, and I came across linenoise, a line editing library with history support in under 400 lines of C. I don't have any knowledge of C, so I'm just leaving this here for someone else to try to embed in Uzbl.
Reddit discussion: http://www.reddit.com/r/programming/com … _licensed/
Offline
Hey guys,
I've spent all day working on (my first) vim syntax file for our uzbl config file.
You can find the uzbl.vim syntax file and install instructions here:
I use a crazy custom .Xresources that switches a lot of my colours around so I don't know what this will look like for anybody else. Here is a screenshot of me editing the uzbl config nonetheless:
There's still problems with some aspects of the syntax hilighting (and I imagine people won't like the default colours I've chosen) so jump in and help fix it up
Happy hacking!,
Mason.
Offline
Just finished the first version of my cookie scripts. The script allows for easy whitelisting domains and features a little symbol to show the status.
http://upload.creshal.de/files/42/uzbl/ … pts.tar.xz
Offline
Just finished the first version of my cookie scripts. The script allows for easy whitelisting domains and features a little symbol to show the status.
http://upload.creshal.de/files/42/uzbl/ … pts.tar.xz
Can´t do anything with the file, is it compressed right?
Offline
Isildur wrote:Just finished the first version of my cookie scripts. The script allows for easy whitelisting domains and features a little symbol to show the status.
http://upload.creshal.de/files/42/uzbl/ … pts.tar.xzCan´t do anything with the file, is it compressed right?
yes. it's an xz-compressed tarball.
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
There's a bug with the default config, line 167:
@ebind <Home> = event SET_CURSOR_POS
should be
@ebind <Home> = event SET_CURSOR_POS 0
0 or 1 both work.
thanks. committed to git.
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
I just recently re-installed Uzbl from the Karmic PPA, and I'm no longer getting the 'mutex' error that was preventing me from using this wonderful browser before, and I couldn't be happier! I really like the 'out of the box' functionality that uzbl-browser delivers, even though I tweaked the default config file to more closely resemble my old uzbl setup (before it stopped working for me), and the whole thing is very stable and 'usable' (pun intended ), despite only being at the alpha stage (according to the website). The only thing that doesn't work for me at the moment is the Java plugin, and that's no big deal, given that I only use Java on the MP3Tunes site to upload songs. Oh, and I wish that I was smart enough to create a script that made adding bookmarks to Google Bookmarks through uzbl a lot easier, but once again, this is no big deal. I'm really grateful to the developers for creating the first browser that truly does '[adhere] to the Unix philosophy.'
Offline
Isildur wrote:Just finished the first version of my cookie scripts. The script allows for easy whitelisting domains and features a little symbol to show the status.
http://upload.creshal.de/files/42/uzbl/ … pts.tar.xzCan´t do anything with the file, is it compressed right?
Yeah it's the same format as the Arch Linux packages. Info on how to use the scripts can be found in the top section of the scripts.
Offline
Sounds good. Let me know if anything is wanted,buggy etc.
Also hosted it on gist for those who prefer that:
http://gist.github.com/340037
Offline
hey all. i have a line in my config and two in follow.js to automagically go to insert mode if the current element is a text area. it was working well before, but currently it fails with "could not find variable Uzbl".
is the js Uzbl.run() feature no longer supported?
//github/
Offline
There are currently some issues with js due to some bug or so
Offline
Yeah, there was a security leak that allowed Uzbl.run()'s parsing to execute arbitrary code. That feature is gone until a better fix can be created.
See here for a page that will exploit this on older versions.
Offline
hey all. i have a line in my config and two in follow.js to automagically go to insert mode if the current element is a text area. it was working well before, but currently it fails with "could not find variable Uzbl".
is the js Uzbl.run() feature no longer supported?
is that the dude on your avatar?
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
brisbin33 wrote:hey all. i have a line in my config and two in follow.js to automagically go to insert mode if the current element is a text area. it was working well before, but currently it fails with "could not find variable Uzbl".
is the js Uzbl.run() feature no longer supported?
is that the dude on your avatar?
i am the walrus .
//github/
Offline
Can anyone give me any indication of what would be involved in adding a bind/script to uzbl to invoke the Google Bookmarks 'add bookmark' dialog for the currently loaded webpage?
Offline
I'd switch to uzbl, but I have some annoyances:
- Focusing input fields with the keyboard is a pain, and I can't find a "gi" implementation that doesn't have a "deprecated" label
- On some sites, a dysfunctional scroll bar is placed on the right
- Link following only works by numbers, it doesn't support typing a part of a URL name
- In uzbl-tabbed, the tab titles are only updated when changing tabs
- I've bound next/prev tab to C-n and C-p, but I can't hold ctrl and press n/p to cycle, I have to let go of ctrl and press it again after every tab change
- No undoing of closed tabs
- "Save link as" doesn't work properly
Solutions for anything in this list would be appreciated.
Offline
Focusing input field works with 'fl' for me.
I use (a probably deprecated, out of date) script from the wiki for following links with the characters from the homerow instead of numbers. Much better.
Offline
Yes, I can focus input fields by pressing fl, the number, escape, then i, but "gi" is much nicer
Offline
With pressing homerow letters and having switched caps lock and escape it is no longer a hassle. Oh, dvorak too.
Offline
Is there any way to force a link to open in a new tab in uzbl-tabbed like the the Ctrl+Click behavior of FF/Chrome? I tried playing around with the 'new_window' command in config, but that would break uzbl-browser as well.
Offline
Focusing input field works with 'fl' for me.
I use (a probably deprecated, out of date) script from the wiki for following links with the characters from the homerow instead of numbers. Much better.
The current default link following script allows you to choose which keys to use.
But maybe the script you mention has other features you like...
Uzbl has its annoyances, mostly with complicated website designs, but i've gotten used to the few quirks for now, and think that the advantages are definitely big enough to stick with Uzbl.
For teh lulz:
In this forum i'm a member of, we had a chat about what thumb you use to press space. A friend replaced every space in his post with <left> or <right>, then joked he should find a Chrome extension to replace all typed spaces with <left>. I took it as a challenge (i'm really totally jobless), and in 30 minutes (which includes learning snippets of JavaScript) i came up with this line
@ibind <Space> = js var ae = document.activeElement; if (ae.type == 'text' || ae.type == 'textarea') ae.value = ae.value.substring(0,ae.value.lastIndexOf(' ')) + '<sp>'
which practically replaces typed spaces with the string '<sp>'.
``Common sense is nothing more than a deposit of prejudices laid down by the mind before you reach eighteen.''
~ Albert Einstein
Offline
@gaunt:
It seems that Button1 / Button3 (left / right) don't like modifiers - if I hold down, say, Ctrl, and left-click, the status bar only shows <Ctrl>. Same for right-clicking. If I middle-click, then I see <Button2><Ctrl>.
My own question:
When I middle-click to open gtk background tabs, how do I auto-reselect the current document? It's very annoying when I close a tab, thinking I'm closing the current tab, and end up closing the tab I just opened.
Offline
Oh well, I haven't updated my installation for weeks, I bet it's time for that now. (Installed size 1GB >_<)
Offline
@gaunt:
It seems that Button1 / Button3 (left / right) don't like modifiers - if I hold down, say, Ctrl, and left-click, the status bar only shows <Ctrl>. Same for right-clicking. If I middle-click, then I see <Button2><Ctrl>.My own question:
When I middle-click to open gtk background tabs, how do I auto-reselect the current document? It's very annoying when I close a tab, thinking I'm closing the current tab, and end up closing the tab I just opened.
I've committed a partial fix for this problem though it needs some more testing.
http://github.com/Dieterbe/uzbl/commit/ … 344acc45d8
There is only one other place in uzbl-core which calls the gtk_widget_grab_focus function so if the problem persists then we should do the same with that function call.
Offline