Since Polisens web queueing solution for getting a passport sucks, and it is more or less impossible to book a time, I wrote this small javascript. What it does is that it automates the searching for a bookable time. In the file you just change the constants to your information and away you go. :)
GNU General Public License v3.0
376
stars
96
forks
source link
Made pagereload to avoid having to timeout for 15 sec #74
Replaced // jQuery('input[name="' + localStorage.getItem('TimeSearch') + '"]').click();
with window.location.reload();