From 1423771b9d30a01a24761dab482fd40bd90e648b Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Tue, 31 May 2016 11:17:15 +0200 Subject: [PATCH] Added TODOs --- MLButton.user.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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';