Bookmarklet to use instead of scanning the QR-code for KURT (KU Leuven Reservation Tool). I made this because i found that scanning the QR-code and logging in on Toledo was too inefficient, with this bookmarklet I don't even have to type the link, only the ID.
A bookmarklet is a javascript function that you add to you bookmarks toolbar.
Right click on your bookmarks toolbar and select add bookmark. Name it anything you want (or leave it empty so it's small) and paste the following in the URL-field:
javascript:(()=>{window.open("https://www.kuleuven.be/kurtqr?id="+prompt("ID on the KurtQR link","300000"));})();Or if you have disabled pop-ups in your browser settings use this version that doesn't always open a new tab:
javascript:(()=>{window.location.replace("https://www.kuleuven.be/kurtqr?id="+prompt("ID on the KurtQR link","300000"));})();