Userscript provider parsers

This commit is contained in:
Ruud
2011-10-12 13:47:00 +02:00
parent f719a5fd65
commit 3103a24a55
7 changed files with 13 additions and 162 deletions
@@ -5,33 +5,3 @@ class Trakt(UserscriptBase):
includes = ['http://trakt.tv/movie/*', 'http://*.trakt.tv/movie/*']
excludes = ['http://trakt.tv/movie/*/*', 'http://*.trakt.tv/movie/*/*']
#CouchPotato['trakt.tv'] = (function(){
#
# var imdb_input = null;
# var year_input = null;
#
# function isMovie(){
# imdb_input = document.getElementById("meta-imdb-id");
# year_input = document.getElementById("meta-year");
# return (null != imdb_input) && (null != year_input);
# }
#
# function getId(){
# return imdb_input.value.substr(2);
# }
#
# function getYear(){
# return year_input.value;
#
# }
#
# function constructor(){
# if(isMovie()){
# lib.osd(getId(), getYear());
# }
# }
#
# return constructor;
#
#})();