private void LoadCompleted(object sender, EventArgs e)
{
this.battlelogWebview.ExecuteScript(
@"
if (document.getElementById('_inject') == null) {
var script = document.createElement('script');
script.setAttribute('src', '"+this.javascriptURL+@"');
script.setAttribute('id', '_inject');
document.getElementsByTagName('head')[0].appendChild(script);
}"
);
this.battlelogWebview.ExecuteScript("runCustomJS();");
#if CEF_DEVTOOLS
this.battlelogWebview.ShowDevTools();
#endif
}