79467720

Date: 2025-02-25 19:52:17
Score: 0.5
Natty:
Report link

it's a series of <td><input type="checkbox">engine name</td>, within per-wave tables. So, for the blind bags (individual engines):

x = document.querySelectorAll("#blindbags table input[type='checkbox']")
for(var i=0; i < x.length; i++) if (!x[i].checked) x[i].parentElement.style.display = "none";

first line builds a list of all the checkboxes; second line loops through them, and if they're not checked, hides their parent (td) container.

for the blister packs (where the checkbox is in a td adjacent to the engine list) you need to go up one more level before hiding:

x = document.querySelectorAll("#blister table input[type='checkbox']")
for(var i=0; i < x.length; i++) if (!x[i].checked) x[i].parentElement.parentElement.style.display = "none";
"none"

Then use one of the print view buttons at the bottom to get rid of some of the extraneous crap before you copy-and-paste or print or whatever you're doing with the list.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: belated