Namespace: Interstellar
Assembly: Interstellar.Core.dll
Function or value | Description |
Full Usage:
executeJavascriptf browser format
Parameters:
IBrowser
format : StringFormat<'b, unit>
Returns: 'b
|
Printf-style function that executes some Javascript code on a browser instance, sanitizing format parameters using javascriptf. It is safe to pass in untrusted format parameters from the outside world. Think SQL prepared statements.
|
Full Usage:
javascriptf format
Parameters:
StringFormat<'T, string>
Returns: 'T
|
Like sprintf, but escapes the format parameters for Javascript to prevent code injection, allowing you to safely deal with untrusted format parameters. Think SQL prepared statements.
|
Full Usage:
kjavascriptf continuation format
Parameters:
string -> 'Result
format : StringFormat<'T, 'Result>
Returns: 'T
|
Like ksprintf, but escapes the format parameters for Javascript to prevent code injection, allowing you to safely deal with untrusted format parameters. Think SQL prepared statements.
|