Yoink: https://www.javascripttutorial.net/web-apis/javascript-formdata/ customized for https://www.accessdata.fda.gov/scripts/cder/daf/index.cfm
const btn = document.querySelector('.col-sm-offset-2 > button:nth-child(1)');
const form = document.querySelector('div.panel-body:nth-child(1) > form:nth-child(1)');
btn.addEventListener('click', (e) => {
// prevent the form from submitting
// or uncomment the debugger statment below for a breakpoint