Last active
December 15, 2015 21:09
-
-
Save Kalli/5323701 to your computer and use it in GitHub Desktop.
Mildly amusing Facebook javascript prank. Run this code in the javascript console off someone who has Facebook running in their browser all the time. Sit back and watch the headscratching and frustration commence.
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
function FBNotificationsPrank(){ | |
document.getElementById('fbNotificationsJewel').className = document.getElementById('fbNotificationsJewel').className + " hasNew"; | |
document.getElementById('notificationsCountValue').innerHTML = 1; | |
document.title = "(1) Facebook"; | |
setTimeout(FBNotificationsPrank, 10000); | |
} | |
FBNotificationsPrank(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment