Skip to content

Instantly share code, notes, and snippets.

@uahim
Last active April 10, 2024 17:54
Show Gist options
  • Save uahim/ec48e03b6127ef6f146fc5f454f3b882 to your computer and use it in GitHub Desktop.
Save uahim/ec48e03b6127ef6f146fc5f454f3b882 to your computer and use it in GitHub Desktop.
deemix bookmarklet to get all rows for current view
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