You can use the DOM: dynamically create a Script tag then allow it to
load more stuff by abusing -stringByEvaluatingJavaScriptFromString: .

On Aug 18, 2012, at 2:51 PM, Koen van der Drift
<koenvanderdr...@gmail.com> wrote:

> Is there a similar way to inject an external javascript.js file into my 
> webView? I think I can use that to strip out the divs I don't want to show.
>
>
>
> On Aug 18, 2012, at 3:32 PM, Koen van der Drift <koenvanderdr...@gmail.com> 
> wrote:
>
>>
>> On Aug 18, 2012, at 3:26 PM, Matt Patenaude <m...@mattpatenaude.com> wrote:
>>
>>> Ah! Your problem is URLWithString:. You want fileURLWithPath:. :)
>>
>> Well spotted, thanks!
>>
>> - Koen.
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/ev%40monoceroi.com
>
> This email sent to e...@monoceroi.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to