You are not logged in.

#826 2010-03-22 08:55:31

aeosynth
Member
From: California
Registered: 2010-02-06
Posts: 115
Website

Re: uzbl. A browser that adheres to the unix philosophy.

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

#827 2010-03-22 09:15:52

mason.larobina
Member
From: Australia
Registered: 2009-07-02
Posts: 200
Website

Re: uzbl. A browser that adheres to the unix philosophy.

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:

http://gist.github.com/339893

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:

http://omploader.org/vM3d1Yg

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 wink

Happy hacking!,

Mason.

Offline

#828 2010-03-22 10:36:05

Isildur
Member
Registered: 2009-05-26
Posts: 100

Re: uzbl. A browser that adheres to the unix philosophy.

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

#829 2010-03-22 11:16:26

kaptenen
Member
Registered: 2009-12-06
Posts: 287
Website

Re: uzbl. A browser that adheres to the unix philosophy.

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.xz

Can´t do anything with the file, is it compressed right?

Offline

#830 2010-03-22 11:37:37

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: uzbl. A browser that adheres to the unix philosophy.

kaptenen wrote:
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.xz

Can´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

#831 2010-03-22 11:40:41

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: uzbl. A browser that adheres to the unix philosophy.

aeosynth wrote:

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

#832 2010-03-22 11:54:06

purgatori
Member
Registered: 2009-10-07
Posts: 15

Re: uzbl. A browser that adheres to the unix philosophy.

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 tongue ), 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.' smile

Offline

#833 2010-03-22 12:11:35

Isildur
Member
Registered: 2009-05-26
Posts: 100

Re: uzbl. A browser that adheres to the unix philosophy.

kaptenen wrote:
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.xz

Can´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

#834 2010-03-22 12:16:13

kaptenen
Member
Registered: 2009-12-06
Posts: 287
Website

Re: uzbl. A browser that adheres to the unix philosophy.

Yeah, working fine. smile

Offline

#835 2010-03-22 12:34:52

Isildur
Member
Registered: 2009-05-26
Posts: 100

Re: uzbl. A browser that adheres to the unix philosophy.

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

#836 2010-03-23 17:53:17

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: uzbl. A browser that adheres to the unix philosophy.

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?

Offline

#837 2010-03-23 19:42:43

Isildur
Member
Registered: 2009-05-26
Posts: 100

Re: uzbl. A browser that adheres to the unix philosophy.

There are currently some issues with js due to some bug or so

Offline

#838 2010-03-23 23:02:55

gaunt
Member
Registered: 2009-12-13
Posts: 62

Re: uzbl. A browser that adheres to the unix philosophy.

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

#839 2010-03-24 20:49:08

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: uzbl. A browser that adheres to the unix philosophy.

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?


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#840 2010-03-24 20:54:27

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: uzbl. A browser that adheres to the unix philosophy.

Dieter@be wrote:
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 smile.

Offline

#841 2010-03-25 04:41:16

purgatori
Member
Registered: 2009-10-07
Posts: 15

Re: uzbl. A browser that adheres to the unix philosophy.

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

#842 2010-03-25 19:05:54

JohannesSM64
Member
From: Norway
Registered: 2009-10-11
Posts: 623
Website

Re: uzbl. A browser that adheres to the unix philosophy.

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

#843 2010-03-25 20:05:30

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: uzbl. A browser that adheres to the unix philosophy.

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

#844 2010-03-25 20:26:08

JohannesSM64
Member
From: Norway
Registered: 2009-10-11
Posts: 623
Website

Re: uzbl. A browser that adheres to the unix philosophy.

Yes, I can focus input fields by pressing fl, the number, escape, then i, but "gi" is much nicer

Offline

#845 2010-03-26 14:21:38

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: uzbl. A browser that adheres to the unix philosophy.

With pressing homerow letters and having switched caps lock and escape it is no longer a hassle. Oh, dvorak too.

Offline

#846 2010-03-27 01:29:11

gaunt
Member
Registered: 2009-12-13
Posts: 62

Re: uzbl. A browser that adheres to the unix philosophy.

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

#847 2010-03-27 03:47:11

TaylanUB
Member
Registered: 2009-09-16
Posts: 150

Re: uzbl. A browser that adheres to the unix philosophy.

hatten wrote:

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>'.

big_smile


``Common sense is nothing more than a deposit of prejudices laid down by the mind before you reach eighteen.''
~ Albert Einstein

Offline

#848 2010-03-27 10:47:03

aeosynth
Member
From: California
Registered: 2010-02-06
Posts: 115
Website

Re: uzbl. A browser that adheres to the unix philosophy.

@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

#849 2010-03-27 12:38:56

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: uzbl. A browser that adheres to the unix philosophy.

Oh well, I haven't updated my installation for weeks, I bet it's time for that now. (Installed size 1GB >_<)

Offline

#850 2010-03-27 12:53:11

mason.larobina
Member
From: Australia
Registered: 2009-07-02
Posts: 200
Website

Re: uzbl. A browser that adheres to the unix philosophy.

aeosynth wrote:

@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

Board footer

Powered by FluxBB