Recent | Popular
#devtools #chrome #console
copy($$('h1,h2,h3,h4,h5,h6') .map(h => '\t'.repeat(h.tagName.slice(-1)-1) + '- ' + h.innerText.trim()) .join('\n'))
#chrome #devtools #console
copy( Array.from(new URLSearchParams(window.location.search)) .map(([key,val]) => `${key}: ${val}`) .join("\n") )
document.designMode = 'on'
#devtools
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/
Sun Oct 02 2022 18:53:41 GMT+0000 (Coordinated Universal Time) https://codepo8.github.io/dearconsole/scripts/headings-indented.html
Sun Oct 02 2022 18:52:41 GMT+0000 (Coordinated Universal Time) https://codepo8.github.io/dearconsole/scripts/get-url-data.html
Sun Oct 02 2022 18:51:41 GMT+0000 (Coordinated Universal Time) https://codepo8.github.io/dearconsole/scripts/make-document-editable.html
Mon Aug 30 2021 18:27:58 GMT+0000 (Coordinated Universal Time)