[webkit-help] Accessing the webkit inspector in 3rd-party app webviews?

Jeff Johnson opendarwin at lapcatsoftware.com
Wed Jun 23 11:35:37 PDT 2010

Hi Dan.

I'm not sure whether they changed the default behavior, but you can use the method -[WebPreferences setDeveloperExtrasEnabled:] to enable the menu item again.



On Jun 22, 2010, at 1:32 PM, Dan Wood wrote:

> Hi folks,
> I've discovered that since upgrading to Safari 5 / 10.6.4, I seem to have lost the ability to bring up the web inspector in a webview in my app, Sandvox.  I used to be able to do "inspect element" from the contextual menu, and the webview would split into two panes, with the inspector in the bottom.  No code required by my app.
> Did something change in the new webkit that would prevent that from happening?  Do I need to implement some delegate methods in my app now to support the use of the inspector?
> Dan

More information about the webkit-help mailing list