Skip to content

Instantly share code, notes, and snippets.

@isaac-weisberg
Created July 8, 2019 13:52
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 isaac-weisberg/26ac5cac8569a7495f83bbe541d88232 to your computer and use it in GitHub Desktop.
Save isaac-weisberg/26ac5cac8569a7495f83bbe541d88232 to your computer and use it in GitHub Desktop.
// https://www.passportindex.org/comparebyPassport.php
var RES = {}
const labels = ["com_c_eta", "com_c_vf", "com_c_voa", "com_c_vr"];
labels.forEach(label => {
RES[label] = {}
const store = window[label];
for (const key in store) {
RES[label][key] = store[key]
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment