Unsolved Delete cookies of QML WebView
-
@raven-worx So do we have any other method to delete the cookies in the QML WebView ?
-
@QCharacter
i forked the topic, since it has nothing to do with QtWebKit.The only way i am aware of to do this with QML WebView is to run JavaScript and delete all cookies from there
-
@raven-worx said in Delete cookies of QML WebView:
The only way i am aware of to do this with QML WebView is to run JavaScript and delete all cookies from there
Do we have some examples on the same or if you can point me to some right forum discussion proposing tentative solution and i can try implementing it. Thanks a alot.
-
@QCharacter
ther a tons of JS snippets on the web how to delete cookies.
Anyway i am afraid you will never be able to delete ALL cookies for all webpages in the browser with QtWebView.You might have better chances with WebEngineView to access the cookies.
-
I agree about the Javascript usage to delete cookies but when used in QML we have to access an element by "id" which in our case has to be QML WebView component id which inturn doesn't have any "cookies" property as opposed to Javascript Document Object. Hence i am failiing to implement any method to delete cookies. Am i missing on to something here (P.S: i never learnt JS and could gather these info from other forum solutions) ?
Thanks