Re: stripped down webview
Re: stripped down webview
- Subject: Re: stripped down webview
- From: Evadne Wu <email@hidden>
- Date: Sat, 18 Aug 2012 15:23:24 -0700
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
<email@hidden> 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 <email@hidden> wrote:
>
>>
>> On Aug 18, 2012, at 3:26 PM, Matt Patenaude <email@hidden> wrote:
>>
>>> Ah! Your problem is URLWithString:. You want fileURLWithPath:. :)
>>
>> Well spotted, thanks!
>>
>> - Koen.
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden