Snippets Collections
copy($$('h1,h2,h3,h4,h5,h6')
  .map(h => '\t'.repeat(h.tagName.slice(-1)-1) + 
        '- ' + h.innerText.trim())
.join('\n'))
copy(
  Array.from(new URLSearchParams(window.location.search))
       .map(([key,val]) => `${key}: ${val}`)
       .join("\n")
)
to use regex:  -/error\snumber\s2/



backslash to escape \

https://stackoverflow.com/questions/26158916/filter-by-regex-example
https://developer.chrome.com/blog/upcoming-regexp-features/
star

Sun Oct 02 2022 18:53:41 GMT+0000 (Coordinated Universal Time) https://codepo8.github.io/dearconsole/scripts/headings-indented.html

#devtools #chrome #console
star

Sun Oct 02 2022 18:52:41 GMT+0000 (Coordinated Universal Time) https://codepo8.github.io/dearconsole/scripts/get-url-data.html

#chrome #devtools #console
star

Sun Oct 02 2022 18:51:41 GMT+0000 (Coordinated Universal Time) https://codepo8.github.io/dearconsole/scripts/make-document-editable.html

#devtools #chrome #console
star

Mon Aug 30 2021 18:27:58 GMT+0000 (Coordinated Universal Time)

#devtools

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension