Skip to content

Instantly share code, notes, and snippets.

@sysnucleussupport
Created February 9, 2022 09:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sysnucleussupport/f2325c05755f4e2341b7eece86b9fc84 to your computer and use it in GitHub Desktop.
Save sysnucleussupport/f2325c05755f4e2341b7eece86b9fc84 to your computer and use it in GitHub Desktop.
var tables = document.querySelectorAll("tbody");
var rows = tables[0].querySelectorAll("tr");
for (var j = rows.length-1; j >= 0; j--) {
var row = rows[j];
if(row.className=="center nob-border")
{
tables[0].deleteRow(j);
}
else if(row.className=="table-dummyrow") {
tables[0].deleteRow(j);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment