Created
May 16, 2017 09:28
-
-
Save ozknozsrt/6715dcfd71a94f447f41b93a18212fe4 to your computer and use it in GitHub Desktop.
chrome extension loop
This file contains hidden or 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
var pageDivs = document.getElementsByClassName("extension-title"); | |
var text = ""; | |
for(i = 0; i < pageDivs.length;i++) | |
{ | |
text += pageDivs[i].textContent + "\r\n"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment