Proof-of-concept patch that does the http authentication via Lua. This patch checks if there is "auth_hook" function defined in the configiration. If it does, then it is used as the authentication handler instead of the default dialog.
The function receives one argument, the authentication object. This object contains the information about what is authenticated and provides two methods: authenticate and abort. I have not time enough to examine the sources deeply, to see how things should be done properly. Thus feel free to refactor it so that the intended functionality will better integrate. _______________________________________________ luakit-dev mailing list luakit-dev@lists.luakit.org http://lists.luakit.org/mailman/listinfo/luakit-dev