From 67e369f6357b6a20507c35b2f80740c4f5b9ced5 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sat, 18 Jul 2015 10:54:06 -0400 Subject: [PATCH] Created DOM inspector (markdown) --- DOM-inspector.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 DOM-inspector.md diff --git a/DOM-inspector.md b/DOM-inspector.md new file mode 100644 index 0000000..73948f2 --- /dev/null +++ b/DOM-inspector.md @@ -0,0 +1,11 @@ +uBlock Origin comes with its own custom DOM inspector, to assist in the creation of cosmetic filters, as a complementary tool to the element picker. + +A custom DOM inspector -- rather than creating hooks into the browser's own DOM inspector -- has benefits: + +- Portability: does no depend on specific browser API. +- Optimal: the UI is optimized to specifically deal with cosmetic filters. + +Whereas the element picker is useful to interactively create cosmetic filters through point-and-click, the DOM inspector is useful to create cosmetic filters through the internal structure of the document in your browser. For instance this allows: + +- To create very specific cosmetic filters by selecting an element directly in the DOM hierarchy. +- To create exception cosmetic filters.