ApplesauceOS
Read Markdown ↗Download .md

openURL

Ask iOS to open a URL or supported URL scheme.

js
openURL(url)

Arguments

ArgumentTypeMeaning
urlstringFull URL including its scheme.

Returns

Boolean request result.

Example

js
console.log(openURL("https://example.com"));

Notes

This can switch apps. Verify the resulting foreground screen.

All JavaScript APIs · Automation playbook