mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-20 20:34:08 +02:00
Change starting line in script processor to 1 instead of 0 for easier debugging
This commit is contained in:
parent
8e01d5ec84
commit
dc78c68f12
@ -30,14 +30,14 @@ public static void ExecuteScript(ChromiumWebBrowser browser, string script, stri
|
|||||||
if (script == null)return;
|
if (script == null)return;
|
||||||
|
|
||||||
using(IFrame frame = browser.GetMainFrame()){
|
using(IFrame frame = browser.GetMainFrame()){
|
||||||
frame.ExecuteJavaScriptAsync(script,UrlPrefix+identifier);
|
frame.ExecuteJavaScriptAsync(script,UrlPrefix+identifier,1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void ExecuteScript(IFrame frame, string script, string identifier){
|
public static void ExecuteScript(IFrame frame, string script, string identifier){
|
||||||
if (script == null)return;
|
if (script == null)return;
|
||||||
|
|
||||||
frame.ExecuteJavaScriptAsync(script,UrlPrefix+identifier);
|
frame.ExecuteJavaScriptAsync(script,UrlPrefix+identifier,1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user