From e433b85a70d7b513c7c6e63bdf3a2c65be85f313 Mon Sep 17 00:00:00 2001 From: vBm Date: Wed, 6 Feb 2013 23:15:59 +0100 Subject: [PATCH] Update script to cope with website changes --- addic7ed.followshows.user.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/addic7ed.followshows.user.js b/addic7ed.followshows.user.js index bbb8673..3b34d66 100644 --- a/addic7ed.followshows.user.js +++ b/addic7ed.followshows.user.js @@ -5,7 +5,8 @@ // @author vBm // @include http://followshows.com/show/* // @include http://www.followshows.com/show/* -// @version 1 +// @version 1.1 +// @date 06/02/2013 // ==/UserScript== var showInfo = document.location.href.split('/'); @@ -21,5 +22,5 @@ subsbutton.setAttribute('class', 'btn watch-episode-button addic7ed'); subsbutton.setAttribute('style', 'top:24px'); subsbutton.textContent = 'Addic7ed subs'; subsbutton.addEventListener('click', function() { window.open(subtitlesUrl) }); -var showInfoDiv = document.getElementsByClassName('column_2')[0] -showInfoDiv.appendChild(subsbutton); \ No newline at end of file +var showInfoDiv = document.getElementsByClassName('buttons')[0] +showInfoDiv.appendChild(subsbutton);