Last active
April 10, 2024 17:54
-
-
Save uahim/ec48e03b6127ef6f146fc5f454f3b882 to your computer and use it in GitHub Desktop.
deemix bookmarklet to get all rows for current view
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
javascript: | |
var rows = document.getElementsByTagName("td").length; | |
var allrows = "", temprowa = "", temprowb = ""; | |
for (var i = 0, l = rows; i < l; ++i) { | |
temprowa = document.getElementsByTagName("td")[i].getAttribute("data-cm-link"); | |
if ((temprowa != null) && (temprowa != temprowb)) { | |
allrows += temprowa + "\n"; | |
temprowb = temprowa; | |
} | |
} | |
alert(allrows); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment