Skip to content

Commit

Permalink
Update script to cope with website changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vBm committed Feb 6, 2013
1 parent b20e7ed commit e433b85
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions addic7ed.followshows.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
// @author vBm <[email protected]>
// @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('/');
Expand All @@ -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);
var showInfoDiv = document.getElementsByClassName('buttons')[0]
showInfoDiv.appendChild(subsbutton);

0 comments on commit e433b85

Please sign in to comment.