diff --git a/MLButton.user.js b/MLButton.user.js index 99ab5e1..1adf14f 100644 --- a/MLButton.user.js +++ b/MLButton.user.js @@ -22,17 +22,16 @@ function AddIfChanged() var cont=document.getElementById("watch7-subscription-container"); if(cont===null) return; - window.setTimeout(function() { + window.setTimeout(function() { //TODO: Check for video title change every 100 ms if(window.location.href==window.lasturl) return; - //var cont=document.getElementById("watch7-subscription-container").childNodes[0]; var cont=document.getElementById("watch7-subscription-container"); if(cont===null) return; cont.innerHTML+=""; window.lasturl=window.location.href; }, 2000); //TODO: Detect page load finish -} +} //TODO: Add for every platform, not just YouTube (function() { 'use strict';