Changes between Version 14 and Version 15 of HackingWebInspector
- Timestamp:
- Feb 12, 2015, 8:04:15 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HackingWebInspector
v14 v15 10 10 Since 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. 11 11 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.)12 For the Mac port, set the following defaults to allow inspecting the inspector. 13 13 14 14 {{{ 15 15 defaults write com.apple.Safari WebKitDeveloperExtrasEnabled -bool YES 16 }}} 17 18 To log console messages from the inspected page and inspector pages to the system console, set the following preferences. 19 {{{ 20 defaults write com.apple.Safari "com.apple.Safari.ContentGroupPageIdentifier.WebKit2LogsPageMessagesToSystemConsoleEnabled" -bool YES 16 21 defaults write com.apple.Safari WebKitLogsPageMessagesToSystemConsoleEnabled -bool YES 17 22 }}}