Skip to content

Instantly share code, notes, and snippets.

View dman777's full-sized avatar

Darin Hensley dman777

View GitHub Profile
@dman777
dman777 / markdown.md
Created August 24, 2020 20:51 — forked from ShawnClake/markdown.md
Markdown Cheat sheet
@dman777
dman777 / findall_elements_deep.js
Created April 16, 2018 22:03 — forked from ebidel/findall_elements_deep.js
Finds all elements on the page, including those within shadow dom.
/**
* @author ebidel@ (Eric Bidelman)
* License Apache-2.0
*/
/**
* Finds all elements on the page, inclusive of those within shadow roots.
* @param {string=} selector Simple selector to filter the elements by. e.g. 'a', 'div.main'
* @return {!Array<string>} List of anchor hrefs.
*/