Created
June 7, 2014 19:15
-
-
Save wookiecooking/e263c1a4ff755bc5903e to your computer and use it in GitHub Desktop.
This file contains 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
if (+new Date().getFullYear() == 2015) { | |
var links = document.links, | |
video = 'http://www.youtube.com/watch?v=dQw4w9WgXcQ', | |
len = links.length; | |
while (len--) { | |
links[len].setAttribute('href', video); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment