debugging - How do I keep the "Elements" (DOM) tree open in the Webkit Inspector? -
in webkit inspector, can go elements panel , unfold dom elements can see i'm interested in.
so far, when find i'm looking for, change code, , reload page, dom tree in elements panel folded up.
is there way either, a) inspector remember , try open dom tree was, or b) keep dom tree unfolded default?
i had same question. i'm using chrome on win xp can tell solution found chrome, imagine process similar other webkit browsers.
i navigated chrome application data folder: c:\documents , settings\[username]\local settings\application data\google\chrome\application[newest version]\resources\inspector
obviously fill in [username] , [newest version] folders have on computer.
closed browser.
i opened devtools.js in notepad++ , started hunting. turns out webkit inspector adds css property of "expanded" on tags when click on little arrow.
on line 1484 there boolean default value. changed this.expanded=false this.expanded=true
fired chrome , badda-bing, elements in inspector expanded default.
Comments
Post a Comment