You are not logged in.

#1126 2014-03-15 13:34:15

zoqaeski
Member
From: /earth/australia/.
Registered: 2009-09-30
Posts: 132

Re: luakit browser framework (almost with jQuery!)

I use the stock configuration, with a couple of extra bits for link handlers. What version of luakit are you using?

Last edited by zoqaeski (2014-03-15 13:49:53)

Offline

#1127 2015-04-09 19:38:29

martin92
Member
Registered: 2014-03-17
Posts: 3

Re: luakit browser framework (almost with jQuery!)

for me as a student it was very annoying that there is no pdfreader-plugin, because often i first want to have a look into an pdf before i decide to download and read the wohle one...

i solved this by checking the url from every navigation-request. if it ends with ".pdf" i'll be redirected to an online-pdf-viewer. Add this in rc.lua's user-section:

--Automatic view PDF files
webview.init_funcs.pdfview = function (view, w)
    view:add_signal("navigation-request", function (v, uri)
        if string.sub(string.lower(uri), -4) == ".pdf" then
            local url ="http://docs.google.com/gview?url="
            url = url .. uri
            url = url .. "&embedded=false"
            w:navigate(w:search_open(url))
        end
    end)
end

if somebody knows another service as googles "gview", let me know (actually im not a google-fan).

I also wrote a very compfortable speeddial. if required, i'll clean up the code an post it too.

greetings

Offline

#1128 2015-07-15 08:46:33

xknives
Member
Registered: 2015-07-15
Posts: 1

Re: luakit browser framework (almost with jQuery!)

Hi all,

is it possible to set up luakit for work in kiosk mode?

or view a transitional animation on page loading/changing?

Offline

#1129 2016-03-21 17:08:10

spcmd
Member
Registered: 2015-05-18
Posts: 12

Re: luakit browser framework (almost with jQuery!)

Does anyone know, how to change the luakit.data_dir ? I'd like to use ~/.luakit instead of ~/.local/share/luakit, but I can't find this variable in any lua file.

Offline

Board footer

Powered by FluxBB