6

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?

1

1 Answer 1

4

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.