diff options
Diffstat (limited to 'src/ext-proxy.c')
-rw-r--r-- | src/ext-proxy.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ext-proxy.c b/src/ext-proxy.c index daf04ce..ea958fe 100644 --- a/src/ext-proxy.c +++ b/src/ext-proxy.c @@ -153,6 +153,11 @@ static void on_proxy_created(GDBusProxy *new_proxy, GAsyncResult *result, NULL); } +void ext_proxy_eval_script(Client *c, char *js) +{ + dbus_call(c, "EvalJsNoResult", g_variant_new("(s)", js), NULL); +} + /** * Request the web extension to focus first editable element. * Returns whether an focusable element was found or not. |