View page's DOM in a tree view(树形源代码source-tree-view)

,

This script shows the current DOM held by the rendering engine, in a nice tree, which nodes are collapsible/expandable.
Instruction are inside the script.
source-tree-view.js

you can use it with a button
Source Tree View

or add these in menu.ini
[Document Popup Menu]
Item, "Source Tree View"="Go to page, "javascript:ujs_SourceTreeView();"" 


if you want open source page in a new window,you need find code in source-tree-view.js
//ShowPopUpWindow - set it if you want to popup a new window with the code. if false the current window is used
// beware of popup blocking if the tree loads in a new window.
var ShowPopUpWindow = false;

and change false to true




林长治超搞笑小说《听林长治说故事》离线使用Opera developer tools/use Opera developer tools offline

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.

February 2012
S M T W T F S
January 2012March 2012
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29