You are not logged in.

#126 2010-10-02 15:42:12

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: luakit browser framework (almost with jQuery!)

You can always use privoxy or bfilter.

Offline

#127 2010-10-03 12:15:28

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: luakit browser framework (almost with jQuery!)

Oh, wasn't aware of this. Using privoxy now and it seems to be a no brainer. Start it and be happy smile

Thanks for the hint, Army.

Offline

#128 2010-10-03 15:06:49

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: luakit browser framework (almost with jQuery!)

Barghest wrote:

Oh, wasn't aware of this. Using privoxy now and it seems to be a no brainer. Start it and be happy smile

Thanks for the hint, Army.

Exept of https://bbs.archlinux.org/viewtopic.php … 12#p835212 maybe...

Offline

#129 2010-10-08 10:32:31

redhalo
Member
Registered: 2009-08-11
Posts: 22

Re: luakit browser framework (almost with jQuery!)

I'm using this to capture youtube videos and download them to reduce the strain that flash puts on my netbook, but I don't want to remove flash all together. Other browsers have plenty of extensions to either remove youtube's autoplay or disable flash until I click the element to approve it. Is there any such solution to do something like this with luakit?

Offline

#130 2010-10-08 22:37:17

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: luakit browser framework (almost with jQuery!)

hmm.... did an update and now luakit seg faults...

Offline

#131 2010-10-09 12:19:53

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

Re: luakit browser framework (almost with jQuery!)

Berticus wrote:

hmm.... did an update and now luakit seg faults...

While doing what? What version? Too little information.

All versions of luakit work fine for me, try a fresh checkout of luakit or check your webkit/lua libraries.

Offline

#132 2010-10-09 17:58:55

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: luakit browser framework (almost with jQuery!)

mason.larobina wrote:
Berticus wrote:

hmm.... did an update and now luakit seg faults...

While doing what? What version? Too little information.

All versions of luakit work fine for me, try a fresh checkout of luakit or check your webkit/lua libraries.

Well I would've provided more information if I knew why it crashed. All I know is it keeps doing it, and there's nothing similar about my activities where I could say what causes it. For version, I last updated 7 October 2010, develop branch.

---Edit---
On another note, I've come to realize having split windows (on top of the tabs) would be awesome! Both horizontal splits and vertical splits. Is this possible?

---Edit---
I think it happens sometimes when I close a tab.

Last edited by Berticus (2010-10-11 06:22:09)

Offline

#133 2010-10-16 13:51:23

silenc3r
Member
From: Poland
Registered: 2009-08-29
Posts: 149

Re: luakit browser framework (almost with jQuery!)

Following links still doesn't work properly for me. It works on most sites, but when I enter eg. pcmag.com and press 'f' for a first time numbers are shown, but when I follow some link or press 'esc' and 'f' again numbers are not being showed. I got to restart luakit to get it to work again. In sandbox it works fine though.

Offline

#134 2010-10-25 01:01:36

collards
Member
Registered: 2010-10-08
Posts: 5

Re: luakit browser framework (almost with jQuery!)

Man this is really a sweet project. 

I really am enjoying the speed and customization available in luakit.  One thing I have not been able to get working correctly yet is downloads from secure sources.  This is a must for me.  I'd really also like to autoopen PDFs after they are downloaded.  Has anyone been able to successfully modify the wget statement in world.lua to take advantage of cookies (is that even the best way to handle this?)

Thanks

Offline

#135 2010-10-25 06:57:19

quigybo
Member
Registered: 2009-01-15
Posts: 223

Re: luakit browser framework (almost with jQuery!)

@collards: The download mechanism is currently being reworked, and once finished it will indeed be possible to open files on completion, with user-definable actions per mime-type or file extension. If you are interested in its development I am referring to karottenreibe's "downloads" branch.

In the meantime you can point wget to the cookies file like this (see the function "download" in config/window.lua):

        local wget = string.format("wget --load-cookies $XDG_DATA_HOME/luakit/cookies.txt -q %q -O %q", link, dl)

Offline

#136 2010-10-25 13:27:29

sironitomas
Member
From: Cordoba, Argentina
Registered: 2009-11-28
Posts: 174
Website

Re: luakit browser framework (almost with jQuery!)

Wouldn't it be nice to have an alternative html render, other than webkit, but with the same great framework that luakit has? Recently, Mozilla has lunched chromeless, where you can build your own interface, and use the Firefox engine.

I think that project is a great idea, because you can build the interface with HTML, CSS and JS.

Now, how easy would be to do a kind of luafox? I mean, is it possible to do that easily?

Last edited by sironitomas (2010-10-25 13:39:32)

Offline

#137 2010-10-25 13:39:56

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

Re: luakit browser framework (almost with jQuery!)

sironitomas wrote:

Wouldn't it be nice to have an alternative html render, other than gecko, but with the same great framework that luakit has? Recently, Mozilla has lunched chromeless, where you can build your own interface, and use the Firefox engine.

I think that project is a great idea, because you can build the interface with HTML, CSS and JS.

Now, how easy would be to do a kind of luafox? I mean, is it possible to do that easily?

Yes. The difficulty is in running lua code on click/change events inside the webview widget used for the GUI. I think this can be solved by using the old `Uzbl.run` code from uzbl and activating it on specific webview widgets (I.e. the webview widgets used for the GUI).

It's not something I'm planning at the moment but I'd be willing to pull in any changes that make this easier (it is a browser framework after all).

Offline

#138 2010-10-31 13:21:40

tzervo
Member
From: Athens
Registered: 2009-04-03
Posts: 86

Re: luakit browser framework (almost with jQuery!)

If you want to use gecko/xulrunner, why not use conkeror, which is also highly extensible, featureful, minimalistic and fast? In my opinion, what was missing in the past was a conkeror for webkit and uzbl/jumanji/luakit devs have kindly and succesfully provided that. When I want to use xulrunner I blindly use conkeror smile

Offline

#139 2010-10-31 21:07:25

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

Re: luakit browser framework (almost with jQuery!)

I wanted to mouse-wheel scroll through tabs, so I hacked the t.ebox:add_signal function in window.lua, but apparently the "button-release" event doesn't fire for buttons 4 and 5. Is this a bug?

Offline

#140 2010-11-01 00:09:07

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

Re: luakit browser framework (almost with jQuery!)

aeosynth wrote:

I wanted to mouse-wheel scroll through tabs, so I hacked the t.ebox:add_signal function in window.lua, but apparently the "button-release" event doesn't fire for buttons 4 and 5. Is this a bug?

It's not intentional I just don't know how to catch & emit the button 4 & 5 press/release events.

Offline

#141 2010-11-17 12:54:01

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: luakit browser framework (almost with jQuery!)

I get a syntax error with rc.lua, but I can't seem to find it. I've even taken out all of my own customization, and it still says there's a syntax error.

Offline

#142 2010-11-18 11:07:51

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

Re: luakit browser framework (almost with jQuery!)

Berticus wrote:

I get a syntax error with rc.lua, but I can't seem to find it. I've even taken out all of my own customization, and it still says there's a syntax error.

I don't have the same problem, the last release and the develop branch have been stable for a long while.

Could you paste any other information about the error and also check your Lua version.

Offline

#143 2010-11-18 11:35:58

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: luakit browser framework (almost with jQuery!)

I wanted to give the develop branch a new try, especially because of the implemented tab management. I like it very much so far, but I can't get luakit to use privoxy. I copied the globals.lua to ~/.config/luakit and changed line 9 to http_proxy="http://127.0.0.1:8118", but that doesn't do anything. Am I doing something wrong?
And another question, will there be a browsing history with search function?

Offline

#144 2010-11-18 12:36:45

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

Re: luakit browser framework (almost with jQuery!)

Army wrote:

I wanted to give the develop branch a new try, especially because of the implemented tab management. I like it very much so far, but I can't get luakit to use privoxy. I copied the globals.lua to ~/.config/luakit and changed line 9 to http_proxy="http://127.0.0.1:8118", but that doesn't do anything. Am I doing something wrong?
And another question, will there be a browsing history with search function?

For the moment globals.http_proxy does nothing, check out the :proxy command, that will solve your woes.

Offline

#145 2010-11-18 14:16:01

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: luakit browser framework (almost with jQuery!)

mason.larobina wrote:

For the moment globals.http_proxy does nothing, check out the :proxy command, that will solve your woes.

Ah CRAP I actually have to know this, I used that before ... Sorry I just forgot about it big_smile big_smile

What about the browsing history and search?

Offline

#146 2010-11-24 07:42:26

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: luakit browser framework (almost with jQuery!)

mason.larobina wrote:
Berticus wrote:

I get a syntax error with rc.lua, but I can't seem to find it. I've even taken out all of my own customization, and it still says there's a syntax error.

I don't have the same problem, the last release and the develop branch have been stable for a long while.

Could you paste any other information about the error and also check your Lua version.

% luakit -k
W: luakit: luaH_panic:692: unprotected error in call to Lua API (attempt to concatenate a nil value)
% lua -v
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio

Offline

#147 2010-11-26 22:29:38

redhalo
Member
Registered: 2009-08-11
Posts: 22

Re: luakit browser framework (almost with jQuery!)

Is there a way I can change the height of the tabs and status bar?

Offline

#148 2010-11-28 01:12:36

milso
Member
Registered: 2010-11-16
Posts: 112
Website

Re: luakit browser framework (almost with jQuery!)

This is perfect, goes well with awesome wm.

Maybe I overlooked the answer here on the forums (and google), but I was curious about keyboard control of flash objects. Also wondering about middle-click scrolling. I've been able to modify awesome's lua code quite fine, but I'm clueless on how I'd implement something like that here.

Offline

#149 2010-12-06 15:36:22

peterkosov
Member
From: Russia
Registered: 2010-07-30
Posts: 6

Re: luakit browser framework (almost with jQuery!)

 luakit -k
W: luakit: luaH_panic:693: unprotected error in call to Lua API (attempt to concatenate a nil value) 

Offline

#150 2010-12-06 15:37:26

peterkosov
Member
From: Russia
Registered: 2010-07-30
Posts: 6

Re: luakit browser framework (almost with jQuery!)

(same reloadconf issue here)

Offline

Board footer

Powered by FluxBB