Browser

Typewidget
Dictionarywidget.browser
LibraryBrowser
Associationscom.livecode.widget.browser
Summary

This widget displays web content within a native web browser view.

The browser widget can display HTML content generated in LiveCode, or fetch content over the Internet. It supports JavaScript and allows for interaction between LiveCode scripts and JavaScript code.

The browser SVG icon is copyright © Ivan Boyko, and is licensed under the terms of the Creative Commons Attribution 3.0 Unported License.

Description

This widget displays web content within a native web browser view.

The browser widget can display HTML content generated in LiveCode, or fetch content over the Internet. It supports JavaScript and allows for interaction between LiveCode scripts and JavaScript code.

The browser SVG icon is copyright © Ivan Boyko, and is licensed under the terms of the Creative Commons Attribution 3.0 Unported License.

TypeNameSummarySyntax
messagebrowserDocumentLoadBegin

Sent when a document begins loading in the browser.

browserDocumentLoadBegin <pUrl>

- - -browserDocumentLoadComplete

Sent when a document has completed loading in the browser.

browserDocumentLoadComplete <pUrl>

- - -browserDocumentLoadFailed

Sent when a document has failed to load in the browser.

browserDocumentLoadFailed <pUrl>, <pError>

- - -browserFrameDocumentLoadBegin

Sent when a document begins loading in a frame of the browser.

browserFrameDocumentLoadBegin <pUrl>

- - -browserFrameDocumentLoadComplete

Sent when a document has completed loading in a frame of the browser.

browserFrameDocumentLoadComplete <pUrl>

- - -browserFrameDocumentLoadFailed

Sent when a document has failed to load in a frame of the browser.

browserFrameDocumentLoadFailed <pUrl>, <pError>

- - -browserNavigateBegin

Sent when the browser begins navigation to a new page.

browserNavigateBegin <pUrl>

- - -browserNavigateComplete

Sent when the browser successfully navigates to a new page.

browserNavigateComplete <pUrl>

- - -browserNavigateFailed

Sent when the browser has failed to navigate to a new page.

browserNavigateFailed <pUrl>, <pError>

- - -browserProgressChanged

Sent when the load progress of the current document changes.

browserProgressChanged <pUrl>, <pProgress>

- - -browserUnhandledLoadRequest

Sent when the browser is unable to handle a load request.

browserUnhandledLoadRequest <pUrl>

propertyallowUserInteraction

Controls whether the browser responds to user interaction.

set the allowUserInteraction of <widget> to <allowInteraction>

get the allowUserInteraction of <widget>

- - -hScrollbar

Controls the visibility of the browser's horizontal scrollbar.

set the hScrollbar of <widget> to <pEnabled>

get the hScrollbar of <widget>

- - -htmlText

The HTML text of the content displayed by the browser.

set the htmlText of <widget> to <pHtmlText>

get the htmlText of <widget>

- - -isSecure

Indicates if all resources in the current document have been loaded through securely encrypted connections.

get the isSecure of <widget>

- - -javascriptHandlers

A list of LiveCode handlers that are made available to JavaScript calls within the browser.

set the javascriptHandlers of <widget> to <pHanderList>

get the javascriptHandlers of <widget>

- - -opaque

Controls whether the browser draws a background.

set the opaque of <widget> to <opaque>

get the opaque of <widget>

- - -URL

The URL displayed by the browser.

set the URL of <widget> to <pUrl>

get the URL of <widget>

- - -userAgent

The identifier sent by the browser when fetching content from remote URLs.

set the userAgent of <widget> to <pUserAgent>

get the userAgent of <widget>

- - -vScrollbar

Controls the visibility of the browser's vertical scrollbar.

set the vScrollbar of <widget> to <pEnabled>

get the vScrollbar of <widget>

widgetBrowser

This widget displays web content within a native web browser view.

The browser widget can display HTML content generated in LiveCode, or fetch content over the Internet. It supports JavaScript and allows for interaction between LiveCode scripts and JavaScript code.

The browser SVG icon is copyright © Ivan Boyko, and is licensed under the terms of the Creative Commons Attribution 3.0 Unported License.

set the vScrollbar of <widget> to <pEnabled>

get the vScrollbar of <widget>