Skip to content

Instantly share code, notes, and snippets.

@watagashi watagashi/custom_code.js
Last active Feb 13, 2018

What would you like to do?
var originalTitle = document.title;
function updateTitle() {
document.title = document.querySelectorAll(',').length > 0 ? '(\u2022) ' + originalTitle : originalTitle;
newMessageElement: updateTitle,
newDM: updateTitle,
switchTo: updateTitle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.