Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > WebKit: Adjusting incoming HTML/CSS

WebKit: Adjusting incoming HTML/CSS
Thread Tools
DayLateDon
Dedicated MacNNer
Join Date: Nov 2000
Status: Offline
Reply With Quote
Oct 31, 2004, 04:27 PM
 
Hello ...


I want to tap a URL, read its HTML (and CSS), make modifications to the code, and display the modified information rather than the original.

I've been dipping into the WebKit docs, and playing with the MiniBrowser code, but I don't quite see where --or how-- in the request/response chain I can make my changes.


Pointers?


Thanks,

DayLateDon
     
GeeYouEye
Junior Member
Join Date: Mar 2003
Location: Walnut Creek, CA
Status: Offline
Reply With Quote
Nov 3, 2004, 03:52 AM
 
I think you may be going about it wrong. I'd suggest using an NSData and -initWithContentsOfURL:. Then make your changes from that. But I don't know too much about this kinda thing, so who knows...
I bring order to chaos. You are in chaos windows, you are the contradiction, a bug wishing to be an OS.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 04:01 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,