Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plugin for changing html before displaying it



Hi,
well i don't really know if it would work, but maybe this is the beginning of an idea,
i guess the datasource is immutable, ie you can't replace the data that's being downloaded on the fly (am I wrong? if so, then change it there)
i know you can set a webview in an editing mode, therefore you can change it's structure once it's loaded.
So, maybe you could try altering the DOM tree once it's loaded, but I don't know if it is possible actually....
I would give a look at this and how one edits the html in a webview.

Regards.

On Oct 5, 2006, at 4:10 PM, Ruotger Skupin wrote:

Hi,

I would like to build a plug-in, that parses and changes a html page before WebKit displays it. In particular I would like to scan for keywords and change them to a hyperlink. This should work on any (well, most...) websites out in the wild. 

Is that possible at all with WebKit browsers?

Any tips on where to start reading for a steep learning curve? 
(I already read "Web Kit Plug-in Programming Topics" and had a look into "Web Kit Objective-C Programming Guide")

Ruotger

---
Endian Little Hate Programmers

Ruotger Skupin, Mac OS X Software Engineering

ilink Kommunikationssysteme GmbH
Münzstr. 13; 10178 Berlin - Germany




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden

References: 
 >Plugin for changing html before displaying it (From: Ruotger Skupin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.