diff --git a/web/load_content.anubis b/web/load_content.anubis index 14b0157..e2a8adc 100644 --- a/web/load_content.anubis +++ b/web/load_content.anubis @@ -177,3 +177,13 @@ public define HTML_Partial_Content )= load_content_init(target, web_action, [], replace, true) . + +public define String + load_to_clipboard + ( + WEB_Action_Name web_action, + List((String,String)) extra_args + )= + + "Xlib.load_to_clipboard('"+format_web_action_name(web_action, extra_args)+"');" +. -- libgit2 0.21.4