// ==UserScript== // @name RYM google current album // @description open a google search window for the current artist and album // @namespace https://greasyfork.org/en/scripts/5966-rym-google-current-album // @include http://rateyourmusic.com/release/* // @version 1.11 // @downloadURL none // ==/UserScript== var tit = encodeURIComponent(x=$('.album_title')[0].firstChild.textContent.trim()); var name = encodeURIComponent($('span[itemProp=\'byArtist\']').text()); var whereAppend = $($('.album_title').siblings(0) [0]); function addButton(name, url) { if (name == null) { whereAppend.append($('
' + url + ':')); } else { var btn = $('').click(function () { window.open(url, '_blank'); }); whereAppend.append(btn); } } // general search addButton('Google', 'https://google.com?q="' + tit + '" "' + name + '"'); addButton('Google Blog', 'https://google.com?q="' + tit + '" "' + name + '"&tbm=blg'); addButton('Google Image', 'https://www.google.com/searchbyimage?image_url=' + (($('.coverart_img') && $('.coverart_img')[0]) ? $('.coverart_img')[0].src : "")); addButton('tineye', ' http://tineye.com/search?url=' + (($('.coverart_img') && $('.coverart_img')[0]) ? $('.coverart_img')[0].src : "")); addButton('duckDuckGo', 'https://duckduckgo.com/?ia=audio&q="' + tit + '" "' + name + '"'); addButton('mail.ru', 'http://go.mail.ru/search?q=' + name + ' ' + tit); addButton('Spotify artist', 'https://play.spotify.com/search/' + name); addButton('Spotify title', 'https://play.spotify.com/search/' + tit); addButton('Soundcloud', 'https://soundcloud.com/search?q=' + name); addButton('bandcamp', 'http://bandcamp.com/search?q=' + name); addButton('cdBaby', 'http://www.cdbaby.com/?q=' + name); addButton('googlePlay', 'https://play.google.com/store/search?c=music&q=' + name); addButton('itunes', 'https://fnd.io/#/us/search?mediaType=all&term=' + name); addButton('MBrainz', 'http://musicbrainz.org/search?type=release&query=' + tit + ' ' + name); addButton('Discogs', 'http://www.discogs.com/search/?type=all&q=' + tit + ' ' + name); addButton('AllMusic', 'http://www.allmusic.com/search/all/"' + name + '" "' + tit + '"'); // warez forums and blogs addButton(null, "warez"); addButton('itsonlyR&R', 'http://itsonlyrockandroll.info/?s=' + name); addButton('plixid', 'http://plixid.com/?s=' + name); addButton('amader', 'http://amaderforum.com/search.php?s=&do=process&query=' + name); addButton('bajui', 'http://www.bajui.com/descargas/busqueda/' + name); addButton('rlsLogs', 'http://rls-logs.com/index.php?do=search&subaction=search&search_start=1&full_search=1&result_from=1&titleonly=0&searchuser=&replyless=0&replylimit=0&searchdate=0&beforeafter=after&sortby=&resorder=desc&showposts=0&catlist%22%%225B%22%%225D=9&story=' + name); addButton('funkysouls', 'http://forum.funkysouls.com/index.php?s=&act=Search&CODE=show&&cats=all&cat_forum=forum&forums=all&searchsubs=1&search_in=posts&result_type=topics&prune=0&prune_type=newer&sort_key=last_post&sort_order=desc&keywords=' + name); addButton('mediaboom', 'http://www.mediaboom.org/?do=search&subaction=search&story=' + name); addButton('albumstreams', 'http://albumstreams.com/q?q=' + name); addButton('albumbsearch', 'http://www.albumbsearch.com/search/?submit=Search&q=' + name); addButton('rockleaks', 'http://www.rockleaks.net/index.php?do=search&subaction=search&story=' + name); addButton('batzbatz', 'http://batzbatz.com/?do=search&subaction=search&story=' + name); addButton('manyalbums', 'http://manyalbums.com/?do=search&subaction=search&story=' + name); addButton('bunalti', 'http://www.bunalti.com/?s=' + name); addButton('NoNaMe', 'http://nnm.me/search?in=news&q=' + name); addButton('getalbums', 'http://getalbums.ru/?do=search&subaction=search&titleonly=3&story=' + name); addButton('tunesies', 'https://tunesies.online/?s=' + name); addButton('genCat', 'http://www.general-catalog.net/tag/' + name); addButton('NAR', 'http://newalbumreleases.net/?s=' + name); addButton('goldesel', 'http://goldesel.to/suche/' + name); addButton('nhachot.info', 'http://nhachot.info/?s="' + name + '" "' + tit + '"'); addButton('soundpark', 'http://soundpark.space/search?q=' + name); addButton('freshaudio', 'http://freshaudio.org/show?cat=0&q=' + name); addButton('byDuck', 'http://www.byduck.com/?s="' + name + '"'); addButton('musicflacworld', 'http://musicflacworld.com/?do=search&subaction=search&story=' + name); addButton('darksound', 'http://darksound.ru/?do=search&subaction=search&story=' + name); addButton('downloadaddy', 'http://www.downloadaddy.org/?do=search&subaction=search&story=' + name); addButton('raritetno', 'http://raritetno.com/?do=search&subaction=search&story=' + name); addButton('marapcana', 'http://marapcana.com/?s="' + name + '"'); addButton('egexa', 'http://dl.egexa.re/search.php?q=' + name); addButton('mp3rally', 'http://mp3rally.com/?s=' + name); addButton('mp3releases', 'http://mp3releases.org/search/' + name); addButton('intmusic', 'http://intmusic.net/?s=' + name); addButton('reduson', 'http://www.reduson.com/?do=search&subaction=search&full_search=1&story=' + name); addButton('Avax', 'http://avxsearch.in/?q=' + name); addButton('2013zone', 'http://www.2013zone.com/index.php?do=search&subaction=search&search_start=1&full_search=0&result_from=1&result_num=15&story=' + name); addButton('tehparadox', 'http://tehparadox.com/forum/search.php?do=process&quicksearch=1&childforums=1&showposts=0&exactname=1&s=&securitytoken=1425005892-87caad13ca34df98b139e467ff9f838b2cc242a2&query=' + name); addButton('adamsFile', 'http://www.adamsfile.com/index.php?s_string=' + name); // torrents addButton(null, "torrents"); addButton('what.cd', 'https://what.cd/artist.php?artistname=' + name); addButton('rutracker', 'http://rutracker.org/forum/tracker.php?nm=' + name + ' ' + tit); addButton('extraTrorrent', 'http://legalservices-pro.ru/search/?search=' + name); addButton('isohunt', 'https://isohunt.to/torrents/?ihq=' + name + ' ' + tit); addButton('soundPark', 'http://sound-park.es/search?q=' + name); addButton('KAT', 'http://kattorrents.co/usearch/' + name + ' ' + tit + "/"); addButton('btdigg', 'http://btdigg.org/search?info_hash=&q=' + name); addButton('btspider', "http://www.btspider.net/" + name + "-first-asc-1?f=h"); addButton('btstor.cc', 'http://www.btstor.cc/results.php?q=' + name); addButton('7tor.org', 'http://7tor.org/search.php?sr=topics&sf=titleonly&fp=0&tracker_search=torrent&keywords=' + name); addButton('sovtor', 'http://sovtor.org/search.php?max=1&to=1&nm=' + name); addButton('muz', 'http://www.muz-tracker.net/browse.php?cat=0&incldead=1&sort=0&type=desc&gr=0&kp=0&im=0&os=o&s=0&search=' + name + "&post=%D0%9F%D0%BE%D0%B8%D1%81%D0%BA#results"); addButton('ProJazz', 'http://pro-jazz.com/tracker.php?max=1&to=1&nm=' + name); addButton('vitorrent', 'http://www.vitorrent.me/search/' + name); addButton('isohunt', 'https://isohunt.unblockme.co/torrents/?iht=6&ihq=' + name); addButton('torrentz', 'http://torrentz.eu/search?q=' + name); addButton('ostorrent', 'http://torrentaai.info/ser.php?q=Teresa+Salgueiro' + name); addButton('bestDL', 'https://www.bestdownload.eu/search?f=' + name); addButton('ruhunt', 'http://ruhunt.org/search?q=' + name + ' ' + tit); addButton('realmt', 'http://realmt.org/tracker.php?max=1&to=1&nm="' + name + '" "' + tit + '"'); addButton('musicsite', 'http://music-site.ru/music-data-play/' + name); // archive search engines addButton(null, "search engines"); addButton('GenFile', 'http://www.generalfil.es/files-' + name.toLowerCase()[0] + '/' + name + ' ' + tit); addButton('GenSearch', 'http://www.general-search.net/download/"' + name + '" "' + tit + '"'); addButton('Kvaz', 'http://cognitivefiles.com/index.php?q="' + name + '"'); addButton('FBug', 'http://www.filesbug.com/search/' + tit + ' ' + name); addButton('FDeck', 'http://filesdeck.com/search.php?q=' + tit + ' ' + name); addButton('Ebookee', 'http://ebookee.org/search.php?q=' + tit + ' ' + name); addButton('Taringa', 'http://www.taringa.net/buscar/?q="' + name + '" "' + tit + '"'); addButton('sharedir', 'http://sharedir.com/index.php?s=' + tit + ' ' + name); addButton('byFiles', 'http://byfiles.com/search/' + name); addButton('fileCatch', 'http://filecatch.com/?q=' + name + ' ' + tit); addButton('tfile.me', 'http://tfile.me/forum/ssearch.php?q=' + name); addButton('MFT', 'http://mediafiretrend.com/?q="' + name + '"'); addButton('RSE', 'http://rapid-search-engine.com/index-s=' + name + ".html"); addButton('ULOZ', 'http://www.ulozto.net/hledej?q=' + name); addButton('fileKnow', 'http://fileknow.org/' + name); addButton('tshare', 'https://tshare.to/#!p=sdef&scat=music&q=' + name); // singles addButton(null, "singles"); addButton('kloudmusik', 'https://www.kloudmusik.com/artist/' + name); addButton('musicmp3', 'http://musicmp3.ru/search.html?text=' + name); addButton('mp3boo', 'http://mp3boo.cc/search/artist/' + name); addButton('mp3red', 'http://mp3red.ru/mp3-' + name); addButton('song365', 'https://www.song365.co/search?keyword=' + name); addButton('kibergrad', 'http://kibergrad.com/search?q=' + name); addButton('deepmp3', 'http://deepmp3.ru/' + name); // etc & info addButton(null, "etc"); addButton('chewbone', 'http://richardshide.com?"' + name + '" "' + tit + '"&type=+'); addButton('Ranker', 'http://www.ranker.com/app/search.htm?q=' + tit + ' ' + name); addButton('viewMe', 'http://www.viewme.com/search?q=' + name + ' ' + tit); addButton('Inoreader', 'http://www.inoreader.com/search/"' + tit + '" AND "' + name + '"/public'); addButton('Feedly', 'http://feedly.com/i/search/' + name + '/all/newest/any/-/topic/global.popular'); addButton('echonest', 'http://developer.echonest.com/api/v4/artist/reviews?format=json&api_key=FEQK8YEAC4WDXAWSP&results=100&name=' + name); /* addButton('myzuka.org', 'http://go.mail.ru/search_site?p=1&aux=PLA099&q="' + name + '" "' + tit + '"'); addButton('tutaudio', 'http://tutaudio.ru/music-file/' + name); addButton('downloadstube', 'http://www.downloadstube.net/' + name + '/DDLs.html'); addButton('NNC', 'http://go.mail.ru/search_site?p=%5Bobject+Object%5D&aux=nK3H8d&q=' + name); addButton('waretube', 'http://waretube.org/index.php?do=search&do=search&full_search=0&result_from=1&search_start=1&subaction=search&story=' + name); addButton('toplinkforum', 'http://www.toplinkforum.com/search.php?do=process&securitytoken=guest&do=process&query="' + name.replace(" ", "+") + '"'); */ /* var html = '
'; html = html.replace('XXX', tit + ' ' + name); $($('.album_title') [0]).append($(html)); */