Edit

URLCallback (window, webviewitemID, url)

A script handler you can implement to act on the URL of a web view changing.

Automatically called:  When the current location in a custom Web View that has requested callbacks changes. The new location is provided in the url parameter. To request callbacks, you must call WebViewControl(winRef, itemID, "options wantCallbacks='true'") on the web view.

Use for:  Intended to facilitate handling of OAuth logins. You can parse the login token from the URL.

Availability:  MoneyWorks Gold 8.1 and later.