Version: 1.0

Posted: 2006-08-04

Build Requirements: Leopard Preview

Runtime Requirements: Leopard Preview

View Source Code:

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



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: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.