Hello again,
after several modifications, i just pushed version 1.0.
```
WebKit().load('http://github.com')
.png('github.png')
.pdf('github.pdf')
.html(function(err, html) {
// the html body as string
console.log(this.status, html);
}).on('authenticate', function(auth) {
auth.use('mylogin', 'mypass');
}).on('request', function(req) {
if (/\.js/.test(req.uri)) req.uri = null;
}).on('response', function(res) {
console.log(res.status, res.uri);
});
```
and several other stuff :)
Tested on linux with webkit2gtk3 2.4.4
Jérémy
Le mercredi 10 septembre 2014 à 20:37 -0700, Dhi Aurrahman a écrit :
> You can follow the repository from here:
> https://github.com/kapouer/node-webkitgtk
>
> Cheers,
>
> diorahman
>
> On Thursday, September 11, 2014 3:47:49 AM UTC+7, Egor Egorov wrote:
> >
> >
> > Yeah if you could provide a link that would be great.
> >
> > On Monday, September 8, 2014 6:33:42 PM UTC+3, kapouer wrote:
> >>
> >> Hi,
> >>
> >> this module is developed only for linux, and provides a nice
> >> API to drive webkit2gtk3:
> >>
> >> var View = require('webkitgtk');
> >>
> >> View('http://wikipedia.fr').png().save('wiki.pdf');
> >>
> >>
> >> It can export html, png, pdf, has several useful listeners like
> >> 'request' (which can cancel a request), 'response' (which can get the
> >> data), 'ready', 'load'...
> >>
> >> have fun.
> >>
> >> Jérémy.
> >>
> >>
> >>
> >>
> >>
> >>
>
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/1411518123.3861.13.camel%40gmail.com.
For more options, visit https://groups.google.com/d/optout.