Page 1 of 1

Re: Clear history TChromium

Posted: Fri Sep 27, 2019 9:49 am
by salvadordf
Hi,

There's no "ClearHistory" function in CEF currently.

There was a pull request to add the ability to clear the session history when calling LoadURL :
https://bitbucket.org/chromiumembedded/ ... story/diff

..but it had conflicts and it was declined some years later.

Read this forum thread for more info :
https://www.briskbard.com/forum/viewtopic.php?t=684

You have 2 solutions :
  • Keep your own session history and use TChromium.OnBeforeBrowse to block the user when he/she tries to navigate to certain URL.
  • Update and submit the previous PR in the CEF project. The CEF project maintainer always say that all PRs are welcome! :)