Esempio n. 1
0
 private void Config_PluginChangedState(object sender, PluginChangedStateEventArgs e)
 {
     browserExecutor?.RunFunction("TDPF_setPluginState", e.Plugin, e.IsEnabled);
 }
Esempio n. 2
0
 public void ReinjectCustomCSS(string?css)
 {
     executor.RunFunction("TDGF_reinjectCustomCSS", css == null ? string.Empty : Regex.Replace(css, "\r?\n", " "));
 }
Esempio n. 3
0
 private void TriggerDragStart(string type, string?data = null)
 {
     executor.RunFunction("window.TDGF_onGlobalDragStart && window.TDGF_onGlobalDragStart", type, data);
 }