- Download WebKit build r121872: http://builds.nightly.webkit.org/files/trunk/mac/WebKit-SVN-r121872.dmg
- Right-click on WebKit.app and choose
Show Package Contents
- Navigate to
./Contents/Frameworks/10.x/WebCore.framework/Versions/Current/Resources/
and you will find a folder calledinspector
. This contains the HTML/CSS/JavaScript for the Web Inspector, awesome! Keep this Finder window open! - Open a new Finder window and navigate to
/System/Library/PrivateFrameworks/WebInspector.framework/Versions/Current/Resources
. This is where the 'new' Web Inspector is located. - Now copy the contents from the WebKit Web Inspector folder (from Step 3.) to the new Web Inspector folder from Step 4. Do not remove anything, but when it prompts to 'keep newer' files press the Replace button.
- Now there is only one thing left to do, remove of rename the
Main.html
file (this is the main frame for the new Web Inspector) and renameinspector.html
toMain.html
. - Start Safari or your WebKit-based app and test it out. It should be back!
This might break with Mac OS X and/or Safari updates but I'm guessing that, at least for the time being, this will keep working.
Thanks for this fork. The latest nightly build wasn't working for me (135516, Safari 6.0.2).