Skip to content

Instantly share code, notes, and snippets.

@MikelArnaiz
Created April 14, 2022 08:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MikelArnaiz/2bddae18be93a7034de8339be4f714cb to your computer and use it in GitHub Desktop.
Save MikelArnaiz/2bddae18be93a7034de8339be4f714cb to your computer and use it in GitHub Desktop.
lighthose to cvs
Array
.from(document.querySelectorAll('.tabulator-row'))
.map(row => {
return Array
.from(row.querySelectorAll('.tabulator-cell'))
.slice(0, 3)
.map(cell => cell.innerText )
.join(',')
})
.join('\n')
/*
Paste on the spreadsheet following
https://webapps.stackexchange.com/a/100790/283957
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment