Created
August 27, 2017 03:16
-
-
Save re-dev/94dcbb9775fd178eeb13402e0d251e3c to your computer and use it in GitHub Desktop.
Change Squarespace Slideshow Delay
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
window.oldSetTimeout = window.setTimeout; | |
window.setTimeout = function(code, delay) { | |
if (delay == 5000) { | |
delay = 7000; | |
} | |
var retval = window.oldSetTimeout(code, delay); | |
return retval; | |
}; | |
window.oldSetInterval = window.setInterval; | |
window.setInterval = function(code, delay) { | |
if (delay == 5000) { | |
delay = 7000; | |
} | |
var retval = window.oldSetInterval(code, delay); | |
return retval; | |
}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment