Skip to content

Instantly share code, notes, and snippets.

View MosheBerman's full-sized avatar

Moshe MosheBerman

View GitHub Profile
/**
Find all of the units without zero scans.
*/
const rows = Array.from(document.getElementsByTagName("tr"));
const entries = rows.filter( (r) => { return rows.childElementCount == 4});
// This next line hides the rows with no scans.
entries.filter(e => e.children[3].innerText === "0").forEach(e => e.style.display = 'none')
/**
* 1. Filter matches to 6-8cM
* 2. Open the developer console in Chrome.
* 3. Paste this.
* 4. Scroll through matches. As you scroll they, will be automatically noted.
* Known bugs:
* - The first page of matches won't be automatic, but the rest will.
* - You may need to refresh the page to see notes.
*
* For educational purposes only.
/**
* 1. Filter matches to 6-8cM
* 2. Open the developer console in Chrome.
* 3. Paste this.
* 4. Scroll through matches. As you scroll they, will be automatically noted.
* Known bugs:
* - The first page of matches won't be automatic, but the rest will.
* - You may need to refresh the page to see notes.
*
* For educational purposes only.