Mac OS X Reference Library Apple Developer Connection spyglass button

Version: 1.0

Posted: 2006-08-04

Build Requirements: Leopard Preview

Runtime Requirements: Leopard Preview

View Source Code:

Download Sample Code (“WebKitDOMElementPlugIn.zip”, 371.3K)



Description

This sample consists of a Web Kit plug-in which uses the Objective-C DOM interface to modify its position within the hosting web page. It cleanly demonstrates the WebPlugIn protocol methods necessary for creating a Web Kit plug-in. For more on writing plug-ins and accessing the DOM with Objective-C, see "Web Kit Objective-C Programming Guide" and "Web Kit Plug-In Programming Topics" in the ADC Reference Library.

To install the built plug-in, place it in /Library/Internet Plug-Ins or ~/Library/Internet Plug-Ins and relaunch your favorite Web Kit-based browser.

Document Revision History

Date Notes
2006-08-04A Web Kit plug-in that modifies its own DOM element style
Did this document help you? Yes It's good, but... Not helpful...