Skip to content

Instantly share code, notes, and snippets.

View PullJosh's full-sized avatar

Josh Pullen PullJosh

View GitHub Profile
// ==UserScript==
// @name Scratch Messages in Title
// @version 0.1
// @description Updates the page title to show number of messages (updates every 5 seconds)
// @match http://scratch.mit.edu/*
// @copyright 2014, Josh Pullen
// ==/UserScript==
var basetitle = document.getElementsByTagName("title")[0].innerHTML;