Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Paste this into your devtools console on your Disneyland ticket or reservation queue page to get better updates!
(function() {
const qUpdate = document.createElement("div")
qUpdate.setAttribute('id', 'qUpdate');
qUpdate.innerHTML = `<div style="margin:20px;text-align:center;"><h1>Waiting for data to load...</h1></div>`;
var origOpen =; = function() {
this.addEventListener('load', ()=>{
const q = document.getElementById("qUpdate");
const responseObject = JSON.parse(this.responseText);
const updateInterval = responseObject.updateInterval / 1000;
const { progress, expectedServiceTimeUTC, lastUpdatedUTC, queuePaused } = responseObject.ticket;
q.innerHTML = `
<div style="margin:20px;text-align:center;">
<h1>You are ${progress * 100}% through the line and the line is ${queuePaused ? 'not moving 😟' : 'moving! 😃'}</h1>
<h2>Estimated Service Time: ${new Date(expectedServiceTimeUTC)}</h2>
<h4>This should refresh every ${updateInterval} seconds, and last updated at: ${new Date(lastUpdatedUTC)}</h4>
origOpen.apply(this, arguments);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment