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:(() => { | |
const DEFAULT_NUM_TRIES_AFTER_DONE = 5; | |
const MILLIS_TO_SLEEP = 500; | |
const MAX_ITERATIONS = 50; | |
const MAX_PARENTS_TO_CHECK = 7; | |
/* Originally taken from https://github.com/broadinstitute/gatk/wiki/Expand-outdated-Github-Comments */ | |
function loadAll(numIterations, triesRemainingAfterDone) { | |
let showButtonArray = Array.from(document.getElementsByClassName('Details-content--closed')).filter(element => !parentIsOpen(element)); | |
let loadMoreButtonArray = Array.from(document.getElementsByClassName('ajax-pagination-btn')); |