browserBeforeNavigate | ||||||||||
Type | message | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Synonyms | xbrowser_beforenavigate | |||||||||
Summary | Sent before a browser navigates to a new url. | |||||||||
Introduced | 2.8.1 | |||||||||
OS | mac, windows | |||||||||
Platforms | desktop | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Related | Message: browserNewUrlWindow, browserDownloadRequest, browserBeforeNavigateFrame Command: revBrowserNavigate Function: revBrowserOpen Glossary: function, browserCancel, message | |||||||||
Security | network | |||||||||
Description | The browserBeforeNavigate message is sent to a the current card of the stack containing a browser object when the browser object is about to navigate to a new url, ie a change in url in the target browser has been requested but not yet actioned. If the target is the main frame of the browser (e.g. the html page containing the "FRAMESET" declaration), then the browserBeforeNavigate message is sent, otherwise the browserBeforeNavigateFrame message is sent instead To prevent the navigatation from occurring, set the global variable browserCancel to true.
|