How to save the Elements tree (DOM) in Webkit inspector?

In the Webkit inspector, I can go to the toolbox and expand the DOM elements so that I can see what interests me.

So far, when I find what I am looking for, change the code and reload the page, the DOM tree in the Elements panel folds back.

Is there any way: A) Get the Inspector to remember where I was and try to open the DOM tree to where I was, or B) Expand the default DOM tree?

+5
source share
3 answers

. Chrome Win XP, , Chrome, , Webkit.

Chrome: C:\Documents and Settings\[USERNAME]\Local Settings\Application Data\Google\Chrome\Application [NEWEST VERSION]\Resources\Inspector

, [USERNAME] [NEWEST VERSION] , .

.

DevTools.js Notepad ++ . , webkit css "" , .

1484 . this.expanded = false this.expanded = true

Chrome badda-bing, .

+2

Safari OSX.

, ( ), " ". ( ), .

/System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Resources/inspector/inspector.js

vi :

sudo vi /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Resources/inspector/inspector.js

sudo, .

this.expanded = false; ( grep, /, enter, n .)

1175 :

this.expanded = false;

:

this.expanded = true;

:

function TreeOutline(listNode)
{

(ZZ vi) . . YMMV.

Safari v5.1.7 (6534.57.2), OSX 10.6.8

+1

DOM Webkit Inspector, , " ".

, , DOM; , DOM .

0

All Articles