I'm currently working on a program inside which I'd like to expose the web inspector, but the webview it is attached to sits beneath an overlay of other graphics and controls. Because of that, I can't forward mouse and keyboard events to the webview, making the inspector pointless. For this case, I'd like to have the inspector always be detached (in a separate window) and never be able to be re-attached to the webview.
The "WebKit Web Inspector Setting - inspectorStartsAttached" user default can have it start detached, but it would be great to have a separate setting that forces it to always be detached (it would probably make sense to have one that forces it to always be attached, too). It should also remove the attach/detach toggle button in the lower left corner of the inspector.
Boolean settings like the following would probably make sense:
"WebKit Web Inspector Setting - inspectorAlwaysAttached"
"WebKit Web Inspector Setting - inspectorAlwaysDetached"
or alternatively a string:
"WebKit Web Inspector Setting - inspectorOnlyAttachment" values: "attached" or "detached"
If this is an issue preventing you from using the inspector, you can remotely inspect the WebView. Remote inspection is never docked.