Created
April 13, 2022 14:29
-
-
Save 4lessandrodev/99f13b3bf37d9c08f4d2b7f52bf3d05e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// copy this script and paste on your console | |
var values = document.querySelectorAll('.flat-view-text-preserve'); | |
var results = []; | |
values.forEach((value, i)=> { if(i % 2 === 0){ results.push({ [value.innerText]: values[i+1].innerText })} }); | |
var textResult = ''; | |
results.forEach((val) => textResult +=`${Object.keys(val)}=${Object.values(val)}\n`); | |
console.log(textResult); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment