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