Use predicates to match DOM nodes and pass them to custom functions.
Custom DOM Extension
This extension traverses the DOM (both static and dynamically generated). Each node for which the predicate function returns true will be passed to the handling function.
You can configure the extension through the extensions page (chrome://extensions/)
Read more
You can configure the extension through the extensions page (chrome://extensions/)
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Custom DOM", "version": "1.0", "description": "Use predicates to match DOM nodes and pass them to custom functions.", "icons": { "128": "assets/icon-128.png", "48": "assets/icon-48.png", "24": "assets/icon-24.png" }, "homepage_url": "https://github.com/Whisno/Chrome-Custom-DOM", "content_scripts": [ { "js": ["main.js"], "matches": [""], "run_at": "document_end" } ], "options_page": "options.html", "permissions": [ "storage" ]}
Read more