I am using WebKit to rendering my HTML pages. Now, say I am browsing the page, I select some text while reading and want to save/write down the selected text on my local file system. Is any way to access (read/write) local file system using WebKit?
In case of Firefox, I can access localfile using XPCOM, nsiFile. Can anyone suggest what I should use to do the same with WebKit?
Have a look at the File API. Support will depend on which flavor of Webkit you're using, but the nightlies should have some support.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With