Skip to content

Instantly share code, notes, and snippets.

@khanhkhuu
Created July 5, 2024 05:37
Show Gist options
  • Save khanhkhuu/5a1bc4bd8453885e780c6ac6b66657c5 to your computer and use it in GitHub Desktop.
Save khanhkhuu/5a1bc4bd8453885e780c6ac6b66657c5 to your computer and use it in GitHub Desktop.
setInterval(() => {
if (!Date.prototype.getTimeOld) Date.prototype.getTimeOld = Date.prototype.getTime;
Date.prototype.getTime = window.location.pathname == "/hr-platform/enroll" ? (() => 1) : Date.prototype.getTimeOld;
}, 1000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment