set_number_variable and friends in Floating Webview seem broken


Describe the bug
Setting variables (persistent or non-persistent, strings or numbers) seems broken. Even from the Safari-developer debugger, it just yields an "error setting" as a result for the resolved promise.


Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
floating webviews


Screenshots
See:


Device information:

  • Type of Mac: Macbook Air M2
  • macOS version: 14.2.1
  • BetterTouchTool version: (please post the exact version - not just "the latest one"): 4.364

I am happy to use workarounds. I just need a way to set variables from a floating webview

you are right, this is broken. I'll fix it asap.

For now you can workaround it using this syntax:
set_number_variable("yo",9);

Cool, thanks -- I have actually figured that out myself by looking at the function signature in the debugger :-).