Hello!
My application that uses CEF needs to inject different javascript functions into the DOM depending on the page that the user is navigating to (functions that are only applicable to that page). In addition, there are some functions that need to always exist regardless of the page (like low-level logging utilities).
For the latter, we're registering some functions in `OnWebKitInitialized` using CefRegisterExtension but of course this is only done once per browser regardless of the page that's loaded.
For the former, what's the optimal way to do this? I tried to use `OnBeforeBrowse` to call ExecuteJavaScript which seems to work but only the first time for some reason. Any redirect or post and the injection doesn't seem to work.