Changes between Version 14 and Version 15 of HackingWebInspector


Ignore:
Timestamp:
Feb 12, 2015 8:04:15 AM (9 years ago)
Author:
Brian Burg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HackingWebInspector

    v14 v15  
    1010Since the Web Inspector UI is just another web page, we can inspect the Web Inspector with a second-level Web Inspector instance to quickly see what's going on. This requires a few magic settings to enable the "Inspect..." context menu on the Web Inspector window.
    1111
    12 For the Mac port, set the following defaults to allow inspecting the inspector, and logging console messages to stdout. (To increase the level of possible inception, add more defaults for higher page group levels.)
     12For the Mac port, set the following defaults to allow inspecting the inspector.
    1313
    1414{{{
    1515defaults write com.apple.Safari WebKitDeveloperExtrasEnabled -bool YES
     16}}}
     17
     18To log console messages from the inspected page and inspector pages to the system console, set the following preferences.
     19{{{
     20defaults write com.apple.Safari "com.apple.Safari.ContentGroupPageIdentifier.WebKit2LogsPageMessagesToSystemConsoleEnabled" -bool YES
    1621defaults write com.apple.Safari WebKitLogsPageMessagesToSystemConsoleEnabled -bool YES
    1722}}}