Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to read HTML document cookie?
Debjit last edited by Debjit
Hi ,its my second post for the day,here is what I am trying to do
Do anyone knows a good way to do this in QT like parsing the DOM
EDIT (17 dec 2018)
1)Use QTextStream and load the html containt into it.
2)Read each line and conditionally check
3) if the line contains the string "document.cookie=" using QString::contains() function
4) when found replace the string and the ending part i.e.. ";" using QString::replace() function