Skip to content

Instantly share code, notes, and snippets.

@Aissaoui-Ahmed
Created October 4, 2019 23:27
Show Gist options
  • Save Aissaoui-Ahmed/d395b1344d986ee2c4b25e27ef175b8d to your computer and use it in GitHub Desktop.
Save Aissaoui-Ahmed/d395b1344d986ee2c4b25e27ef175b8d to your computer and use it in GitHub Desktop.
var text;
for (let i = 0; i < document.getElementsByClassName('js-navigation-open').length; i++) {
text += "- \[ \] " + document.getElementsByClassName('js-navigation-open')[i].attributes[1].textContent + "\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment