• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: stripped down webview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: stripped down webview
      • From: Koen van der Drift <email@hidden>
References: 
 >stripped down webview (From: Koen van der Drift <email@hidden>)
 >Re: stripped down webview (From: Kyle Sluder <email@hidden>)
 >Re: stripped down webview (From: Koen van der Drift <email@hidden>)
 >Re: stripped down webview (From: Matt Patenaude <email@hidden>)
 >Re: stripped down webview (From: Koen van der Drift <email@hidden>)
 >Re: stripped down webview (From: Matt Patenaude <email@hidden>)
 >Re: stripped down webview (From: Koen van der Drift <email@hidden>)
 >Re: stripped down webview (From: Koen van der Drift <email@hidden>)

  • Prev by Date: Re: stripped down webview
  • Next by Date: How to Write MissionControl/Expose Replacement
  • Previous by thread: Re: stripped down webview
  • Next by thread: Re: stripped down webview
  • Index(es):
    • Date
    • Thread