Bonsai Posted July 17, 2015 Share Posted July 17, 2015 Hey Peeps, I played around a bit with this CEF and I noticed a little problem. When you are searching on Google for example and click on an URL of the results, its most likely blocked. So I tried to request and reload that URL at the same time. The event "onClientBrowserWhitelistChange" doesn't have an example on the wiki yet, but it seems to provide the URL of the page that was unblocked. But somehow it doesn't seem to be possible to use "loadBrowserURL" in the function attached to that event. So e.g. on Google, you have to click twice on a result until the website actually loads. Is there a solution to make it one click? Bonsai Link to comment
GTX Posted July 17, 2015 Share Posted July 17, 2015 https://wiki.multitheftauto.com/wiki/On ... dingFailed This maybe? Here's an example of onClientBrowserWhitelistChange: https://wiki.multitheftauto.com/wiki/Re ... serDomains Link to comment
Bonsai Posted July 17, 2015 Author Share Posted July 17, 2015 https://wiki.multitheftauto.com/wiki/OnClientBrowserLoadingFailed This maybe?Here's an example of onClientBrowserWhitelistChange: https://wiki.multitheftauto.com/wiki/Re ... serDomains https://wiki.multitheftauto.com/wiki/Re ... serDomains Hmm, thats pretty much how I did it, except that requesting is happening on the fly aswell. It didn't work me. I'll try it once again. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now