var title = document.querySelector("title");
if (title!=null){
	var observer = new MutationObserver(function(mutations){
		mutations.forEach(function(mutation){
			if (mutation.addedNodes.length===0 && mutation.removedNodes.length===0){
				var newTitle = mutation.addedNodes[0].nodeValue;
				var oldTitle = mutation.removedNodes[0].nodeValue;
				chrome.runtime.sendMessage({"titleChange":{"newTitle":newTitle,"oldTitle":oldTitle}});
			}
		});
	});
	observer.observe(title,{childList:true,characterData:true,characterDataOldValue:true});
}
@@ -190,17 +190,17 @@
 ength===
-0
+1
  && muta
@@ -226,17 +226,17 @@
 ength===
-0
+1
 )%7B%0A%09%09%09%09v

Fix typo with MutationObserver length