WebKit Viewer Applet
The WebKit Viewer Applet is an AppleScript applet, designed to display the HTML content contained within its bundle. Whenever the applet is launched, its stored HTML content is automatically displayed in a browser window, centered on your screen.
The current HTML content can be replaced with user-provided content that meets the following requirements:
To replace the current HTML content in the bundle, simply drag the single folder of replacement content onto the applet. The following confirmation dialog will appear:
Press the “Replace” button and an authentication dialog, requiring an administrator user name and password, will appear:
Enter an administrator user name and password, and press the “OK” button. The current HTML content of the applet will be replaced with the dragged-on content, and the new content displayed in an HTML content-view window.
Viewing Content
By default, the viewer window displayed by this applet has no visible navigation controls. However, you can use the following standard keyboard commands to navigate multiple page content:
NOTE: although links to network or internet sites work within the viewer window, download links do not function.
AppleScript Libraries
The WebKit Viewer Applet is an AppleScript-Cocoa applet that uses an internal AppleScript library to access the WebKit frameworks of OS X in order to display a window containing its stored HTML content. This AppleScript library, available for free download, is written using AppleScript/Objective-C, and can be called from scripts you write yourself.
Visit the following links to learn more about AppleScript, AppleScript libraries, and AppleScript/Objective-C: (select and right-click the URLs to open them with Safari)