Skip to content

Instantly share code, notes, and snippets.

Last active December 8, 2022 22:24
What would you like to do?
Refresh Browser Tab At Specific Time
// Resources
// @see:
// @see:
// Paste this into the Web Inspector on the browser tab you want to refresh and hit Enter.
// Change this to the exact time you want to refresh the page at:
let then = new Date('2022-12-09 01:01:00');
window.setTimeout(() => window.location.reload(true), then.getTime() - new Date().getTime());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment