Kinopoisk Extender

Расширение функционала kinopoisk.ru.

// ==UserScript==
// @name          Kinopoisk Extender
// @description   Расширение функционала kinopoisk.ru.
// @namespace     https://greasyfork.org/ru/scripts/21933-kinopoisk-extender
// @author        Activa & ALeXkRU & hossam6236
// @license       CC BY-SA
// @version       1.10.13
// @homepage      https://greasyfork.org/ru/scripts/21933-kinopoisk-extender
// @require       https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js
// @include       https://www.kinopoisk.ru/film/*
// @include       https://www.kinopoisk.ru/series/*
// @run-at        document-end
// @grant         GM_xmlhttpRequest
// @grant         GM_addStyle
// @icon          https://www.kinopoisk.ru/favicon.ico
// ==/UserScript==

if(typeof jQuery=='undefined') {
    var headTag = document.getElementsByTagName("head")[0];
    var jqTag = document.createElement('script');
    jqTag.type = 'text/javascript';
    jqTag.src = 'https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js';
    jqTag.onload = jQueryCode;
    headTag.appendChild(jqTag);
} else {
     jQueryCode();
}

function jQueryCode(){
	var ru2en={
		ru_str:"АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдеёжзийклмнопрстуфхцчшщъыьэюя",
		en_str:["A","B","V","G","D","E","YO","ZH","Z","I","Y","K","L","M","N","O","P","R","S","T","U","F","KH","TS","CH","SH","SHCH","","Y","","E","YU","YA","a","b","v","g","d","e","yo","zh","z","i","y","k","l","m","n","o","p","r","s","t","u","f","kh","ts","ch","sh","shch","","y","","e","yu","ya"],
		prc_str:["%C0","%C1","%C2","%C3","%C4","%C5","%A8","%C6","%C7","%C8","%C9","%CA","%CB","%CC","%CD","%CE","%CF","%D0","%D1","%D2","%D3","%D4","%D5","%D6","%D7","%D8","%D9","%DA","%DB","%DC","%DD","%DE","%DF","%E0","%E1","%E2","%E3","%E4","%E5","%B8","%E6","%E7","%E8","%E9","%EA","%EB","%EC","%ED","%EE","%EF","%F0","%F1","%F2","%F3","%F4","%F5","%F6","%F7","%F8","%F9","%FA","%FB","%FC","%FD","%FE","%FF"],
		translit:function(j){
			var g="";
			for(var l=0,h=j.length;l<h;l++){
				var k=j.charAt(l),i=this.ru_str.indexOf(k);
				if(i>=0){g+=this.en_str[i];}
					else{g+=k;}
			}return g;
		},
		decode_mv:function(j){
			var g="";
			for(var l=0,h=j.length;l<h;l++){
				var k=j.charAt(l),i=this.ru_str.indexOf(k);
				if(i>=0){g+=this.prc_str[i];}
					else{g+=k;}
			}return g;
		}
	};

	/*Browser detection patch*/
	/* from http://pupunzi.open-lab.com/2012/08/14/jquery-1-8-and-browser-detection/ */
	jQuery.browser = {};
	jQuery.browser.mozilla = /mozilla/.test(navigator.userAgent.toLowerCase()) && !/webkit/.test(navigator.userAgent.toLowerCase());
	jQuery.browser.webkit = /webkit/.test(navigator.userAgent.toLowerCase());
	jQuery.browser.opera = /opera/.test(navigator.userAgent.toLowerCase());
	jQuery.browser.msie = /msie/.test(navigator.userAgent.toLowerCase());
	jQuery.browser.chrome = /chrome/.test(navigator.userAgent.toLowerCase());

	const API_KEY_OMDB = 'c989d08d';
	var movie_imdbID = "";
	var loc2="";
	var nl="";
	var bseries = false;
	var lkp=location.href;
	try {
		$(document).ready(function(){
			var movie_nr="";
			//	var lk="https://yohoho.cc/#";
		if(lkp.match('kinopoisk.ru/film/')){
				loc2=lkp.split('/film/')[1];
				nl=loc2.split('/')[0];
		//		movie_nr=lk+nl;
				movie_nr=nl;
				bseries = false;
		} else {
			if(lkp.match('kinopoisk.ru/series/')){ //сериалы(аниме)
			//	bseries = true;
				loc2=lkp.split('/series/')[1];
				nl=loc2.split('/')[0];
				movie_nr=nl;
			} else {
				movie_nr="";
			}
		}

			var movie_eng=$("span[class^='styles_originalTitle__']");
		//	var movie_rus=$("h1[class^='styles_title__']>span[class^='styles_title__']");
			var movie_rus=$("h1[class^='styles_title__']>span[data-tid]:nth-child(1)");
			var movie_yr1=$("DIV[class*='styles_basicInfoSection']>DIV[class*='styles_topLine__']>DIV[class*='styles_column__']>DIV[class='']>DIV[class*='styles_rowLight__']>DIV[class*='styles_valueLight__']>a[class*='styles_linkLight__']");
			var movie_yr2=$("DIV[class*='styles_basicInfoSection']>DIV[class*='styles_topLine__']>DIV[class*='styles_column__']>DIV[class='']>DIV[class*='styles_rowDark__']>DIV[class*='styles_valueDark__']>a[class*='styles_linkDark__']");
			var movie="";
			var movie2="";
			var movie_ru="";
			var movie2_ru="";
			var newLbl="";
			var year="";
			if(movie_eng.text()!==""){
					movie=movie_eng.text();
				//	movie=encodeURIComponent(movie); // кодируем пробелы
			/*		movie2=movie.replace(/\u00a0/g,' ').replace(/[«»·]+/g,' ').replace(/  +/g, ' ');
					newLbl=$(movie_rus[0].outerHTML);
					$("span",newLbl).remove();
					movie_ru=newLbl.text(); //alert(movie_ru);
					movie2_ru=movie_ru.replace(/\u00a0/g,' ').replace(/[«»·]+/g,' ').replace(/  +/g, ' ');
		*/			movie_ru=movie_rus.text();
					movie2_ru=movie_ru.replace(/\u00a0/g,' ').replace(/[«»·]+/g,' ').replace(/(\(\d{4}\))+/g, ' ').replace(/  +/g, ' ');
			} else {
			/*	newLbl=$(movie_rus[0].outerHTML);
				$("span",newLbl).remove();
				movie=newLbl.text();
				movie2=movie.replace(/\u00a0/g,' ').replace(/[«»·]+/g,' ').replace(/  +/g, ' ');
				movie2_ru=movie2;*/
				movie=ru2en.translit(movie_rus.text());//если movie_eng нет, берем транслит для рус
				movie_ru=movie_rus.text();
				movie2_ru=movie_ru.replace(/\u00a0/g,' ').replace(/[«»·]+/g,' ').replace(/(\(\d{4}\))+/g, ' ').replace(/  +/g, ' ');
			}
//alert(movie_yr1.html());alert(movie_yr1.text());alert(movie_yr1.attr("href"));
//alert(movie_rus.text()); //alert(movie_rus[0].outerHTML); alert(movie_eng.text());
			if(movie_yr1.text()!==""){
				year=	movie_yr1.html();
			} else {
				if(movie_yr2.text()!==""){
				year=	movie_yr2.html();
				} else {
					year=movie_yr2.attr("href");
				}
			}
			var movie_enc=encodeURIComponent(movie); //eng с кодировкой пробелов
			var movie_imdb=ru2en.translit(movie_ru); //eng с кодировкой пробелов + транслит для рус
			var movie_allm=ru2en.translit(movie);    //eng с кодировкой пробелов + транслит для рус
			var movie_hdclub=ru2en.decode_mv(movie_ru);  //рус в веб-кодировке
			var movie_nnm=encodeURIComponent(movie2_ru); //рус с кодировкой пробелов
			var movie_subs=movie_allm.toLowerCase().replace(/  +/g, ' ').replace(/ /g, '-'); //eng нижний регистр+дефисы вместо пробелов
			var imdb_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAABS0lEQVQokc1Su0oDURA9c+/e3WgWY4hCTKGBBIlGC8VHo4Wtf2ApgnZiHetUapkvsPU3YiFWIqYQFJEgKgRMsnnsZu9Y7IZsm0acYmaKc4YzZ4acahrjhBgL/ScEIyhSAgwiaIYYZgBaQwj4GswRgpS4e3QTtqh/DQpZVXv1shnj/dP3fV4rmA/PXjGnZqeFrwFAnh/ZpqLtw0bc5ONyK2HzSbm9khMHpabrDu6f3LOr9lZRzc9JZdBoh3yGYhYBuLzuATAVAOyux5gxkxSlSiu1922qCAEAA6YlTEWby0agmAjM+Olgf8cCmKIu3dZ0p8tuX6/mxcaS7PYZwOmFk0qS19eVm14wEQA51bQQePvwJyxqOjoeIykJQKOpWWNxwXipDyxF9iQlpwQzKHgNIQAGaCgOoMBWDhvm0NnwDlqPoKOdEEKj8Q9/6RcF1Hrkxxdk8wAAAABJRU5ErkJggg==";
			var fvico_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABs0lEQVR4AWL4//8/RRjO8Iucx+noO0O2qmlbUEnt5r3Juas+hsQD6KaG7dqCKPgx72Pe9GIY27btZBrbtm3btm0nO12D7tVXe63jqtqqU/iDw9K58sEruKkngH0DBljOE+T/qqx/Ln718RZOFasxyd3XRbWzlFMxRbgOTx9QWFzHtZlD+aqLb108sOAIAai6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CYII=";
			var rtr_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAA3NCSVQICAjb4U/gAAAAflBMVEVHcEwAymoAzGM1TesAzWLpHD00TOo2TekCyGjmHUI2SuzXI0wA2VvkHkAfv1vjH0VRRdM0UOY0TegAzmPmGTMA0V83TOblHUEAzGPYJ0Q1TebjHkMtS/AH0lI1T+T2DzsA2mXwFTwgtF0AzWMzTex3PK6ONpoiUfgAzmPjH0TAm7EFAAAAKHRSTlMAGLxW++uk/ljZ8ZfUOkRzQma9Zwqk107rGpTAESKBwLaqhM7Xfmz0WmgDGQAAAKBJREFUGJVVj9kWgyAMBSOCrNaqdd+q3cj//2ARuhznbe7hJgHgR3OBAw2mB08ZZvB900kpEVF2QaMJMqdMItO+JaiAAVHHC+KwBydrrxrZ4/Vkma8IF6y4Jvx+DjOItduiTwXnqq4LiIillmzGzHwnhsp6qK0S5/O+tWydUmOE4jxMcWvIlPeFb3hubQSuoBRPQlAKcEE8jnn//1z+OeINbNYMSNFVNogAAAAASUVORK5CYII=";
			var i7tor_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAyBJREFUOI1dk0toXGUYhp///8+cmTnTuWXSSDJTO0IrBhdqLypq1VZEoYEKiouiRRC1uBE3bupKcFEoijsX0kUpKOJGKl4WtVhvaLyUGiGm9mI77WQmk0nmfk7OOf/nwgar7+Z7+Xh5Ni+v4n9qyI6CkHhUE90OJC3SiTBNF33GRc0V1HdrN+bVupHaNJ1yZvsIdXzxir951TemUElcc9POlRRx6CF/OuhzLoNjuffnmmr/DYBTchcV1KGoxRvtNa3cqeLJ7ajjaskm6diE3eKs1gimeoTVEnE9g3yeDX/8SbnXAefk7umoFf3WDsTE5erzu478USVQB8inx0gnDMp0SURfrTybe69G78Eislxi6ainzvdUU+4lxp65dDW6o1Xe/PLM/m+fYtvGPX4+i856aM8FrXEkgu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io1VdUMihCKRsIIoXMj/QcfALiq6buVeragpLZKidTO0lpqI7UdT+Yj3cF/dktQ+wjrMXAAAAAASUVORK5CYII=";
			var google_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAglJREFUOI2Nk99L02EUxj/vNkthRdToFxLNJqaJESYVXtSN3ZS1CqMM6qKLQKJ/oPsF3eV1F1HRBrVcGV4FdRPeJUK0oeYaUmyzRbOxpvtuTxd+v7atIA+ci/e8z3nOe57zHmgwSQFJEUkzksq2z9ixtkZ8bSKSxvR/i0r6Z3LCQRRfxZS7claZ7u3KHPApd3lQxfE67rhDYmyCMSCo5RLfh89QSc6A2w1WebWCZwNaLtLU08fWxy+cus+NMRecniVJi+dOKtPfrUzPLhUij2TNz8lKzqkQfqjs0XZV8j8a2/FjiyPrQ1iZI61Kd+yUtZBahxSSpDC2wrImA1qZQMXo6HqTJSnhAfwAys9h3NA80FsnsLn1kw6vWTv/qkCwy829ay0AbZ46sMBUGkZUY9uaDW4DtQgXkATwbG6nBEwsxOtHPLqJRMhLIuTl4mEPhbLY53M51/Mu4D1AevcdDi6e4NRUhM9LX/6qns3D/UmLchX6O9cePmW0+j0/AQzErvO1mOVbpcjdQyMca+3FZVxMp6e5/SaFL32DPT6LJzdbHAK/85GiwPlSdYXg+Agfl1J4jJuyKghoMi5kCuzQcd4OhWjZCMAzY8yQQwAQB/YDvJx9zYPZGO9ycapA35YAVwOnudQ56FSOA13G/JmOsw/Rdcz+qRqXqU51yS8prNXlWrE9Ycf2NuJ/A6uf5JCErH2FAAAAAElFTkSuQmCC";
			var kinozal_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAs5JREFUOI11k2tIk3EUxn/v61tpbZb4amosUTNGlkhleakPUbguewW1T9OiyFZiSBkjog/OCLrIunyIoguUZUFQo61cGoF3w0hMoUwrIcxq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qzPYrPDt0FbAPB+AwrJwAMfKMjwKZOtU1Ib98/ugdk87Dit4zRD6AdZwa6mAgkxb9I6RnD0lQkYE/+PpUi810LdTc/SiddOM2vggztCGZqZXrbcxgg4kAQWwY/E0gy+MM7iCA14XfRMTvBjo1lgXvclX3f3xjo52phqWg2J8Mqkob3MsPInmKye7YDdzVY2YfBbUvaAHoBUYS+zSMIbh8hHUrIl3taDEQcoeoppa7Dnn4Wt8T8OiNnAnYHMdODWwp4WuRz2MHz8HzoNx7uaEpyLcGhWWnOgvd0W+0HRbiIoo92elYue48ESEpAjdhsGOq8/A5sq7YHGECUUFz6kxNG8noAOL1cioMCvSkBPpnMkYa/ZFrnPpSozT956DranYTL1obuH8QJasiP7SkMiciL297Qb55P4SMq3Qk0WA19iWKqQhOSzEhhSYrDGAXKF+AxRriqn3KfoqK+jqnSTxKk7PhbP/DMQf5KY+3AGOtYDlb0s/AQFoqz9wpDO7AAAAAElFTkSuQmCC";
			var opensubtitles_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAnUlEQVQokc1SUQ1DIQxs5wAk1AIWsABWagELWKgWLNRCkcA+upCw7OPlZVl2H017ydG7BoAbWGuttS42jzsbfoXeuxsVEWeIyMycNDMnXxmYGQAQERH3KCK1VkSMMc45j+dVlYi8DyGoqpM5589+zCyEsAVuIOfsflQ1pXQImLn3vsO01gDAqyt95wEReQs9xtihSylXLvct/NlfegLxtZUd3E9jfAAAAABJRU5ErkJggg==";
			var podnapisi_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAdtJREFUOI11k7uqWkEYhb+93VuS7eV0ksZOLMTGylaxsVA5YJPOQnyCNEr6iJ1IXsA3sAkiCL6AICgqohaCFwQb8QJekj+F2Yatnh8WMwwza9Za84/CrezAN+DCx6UDxcdF5d/4BVgB+Hw+otEo1+v1vknTNFqtFrqu7weDwS9FUb4+EnlCoZBUq1VJJBKyXq9lNpvdsV6vJZ1OS61Wk2g0ehSR9zu5OblcLmy3W5xOJx6P50m/qqqcTidardZnRVF+AjUA1dzgcDjw+/2oqvp0GKBSqVAqlej1eqZlq4LZbEa1WqXZbJLJZLhcrHkahsFms6FcLgP8ecogFovJZDKRZDIp8/lcptOpBcvlUgA5Ho8CnJ8INE0Tr9cruVxORETO57MFIiIul0sCgYCF4G44Ho8zHo/Z7/c3b5pmAcBut6Pf71vDNSeNRgO/38/b2xsAiqJYAOB2uwkGgy9D9kQiEel2u5JKpWSxWDxlsFqtBJDNZmOxcH+F0WhEsVik3W6Tz+ctnQig6zoAhULhtYJwOCz1el2y2ax8VIB0Op3XCg6HA5PJ5H7zYx+YCobDoWXdJFBtNhuGYdDpdKhUKk8W7HY7cGsobj8T+P8bPwE/gNNLg9ZSgN/Ad4C/TzwSV9SVxC4AAAAASUVORK5CYII=";
			var rottentomatoes_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAc1JREFUOI2Vkktrk1EQhp853y2R2IIo3lBRUZrGjb9AoYp/QKFQEDeioDs3bl0UpRRLl65EQdy48BeoC1duTEWrNVAVEZVIa0lq813OGTdpmuQjtH1Wc5h33pk550A/08enmB19B8DkngtMHbyc03Th95zuHRhHxANTYab8kmJwltgtw4/HgwykE82MviLyz+AUnIIIKKDuDyIWwxK+fcH1jze7DcxGtPqILPvUtlVUOZW6FM+UrvzLdj+vNU7Mv/574/e5ofe5CS5OHpseigq3FgW9s7CSfN5V4OrRUvTr2bd074dGQNHgQkE9gwmEFF2N3rZKHYOsEv70WroPp2BhduLI2tjXplepLodpwctfnIB1rhZW45OSlL27wY7oduK0IwjWLM4XbGByxeuERkjq8SVfA/+8Ve1JpsV8136cKjJsJgyG/X31W0IBFXPICGzebjCeUaUusrmyHwHEue8Ga994bN/BiGAb9qkAxKeLiYHAbbHYF7DWLYRz8YgBkJX4mifC4EfbIBDInDbDuXgE2l85XHQP43pr3Kk2QyN4Qs9Spt01NELq3HxUbe1cz+WWT8refQ39MUQOIzIMpKK6hHM1GtmD8It70q3/D6WKrgmCznUMAAAAAElFTkSuQmCC";
			var subscene_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAACBUlEQVQokU2Sy0vUYRiFn3dmoCIaUwgXlUEjXUydFg5RKghKBF2IapFRbSOSaBtFiyCENm36D6Jl0CKDIBfZfWFkQrgoiCG6aF6brKF+57T4zUTf8uPwcs5zTmw4eYX6sx0YGxvJQRgrCWzJVuBcTRdhO6yaGmxjTIINTtXIOdsAVtjYjatXXjy+b7C/tFD5ef/FxPCte3OVH4aQsGxlG4p9gZFSV1dPHxjsL5W/zlZ//+7p3LKpuene89chB05d51DyLwH2YH8J2DM0HPjcob7bD18ig2ysBMjUpJIloPx1Frh+5pikm3dH55e+Y9US2+Ekm2/vRUqThJOZ+aX9u4sdmzfs7dox8vjVz+ovMHbYtQxr2ruxsQJhTZU/zcx/H+ja0dzU0Ltz28jT17+q1VCSgkLK5tu6sVLSQKA378rTcwsDpY7mpobO1o13Rp8BdoIMzgA1Sk5If61bD57sv3AN6CluK7a22IklMFImnFiSZWLtyhWXTh0cOro3pIn3H59MTAH51auQIu3Syin5EzhkrM5C4eyRAaBlXWN6frGyPDY+iU1EijWb374rJR3w4fP0t7nFUluh1FboaG1ZrCyfuHzjy8wsYJQWEOsPnwdR7yWUAL3FrcDY+CR1J+nAUJIDWfqfNNKjV2/DCdSvWIClyETOUqRDsmxZDuqzTT1gsOVU8hd6pofIlPFCzAAAAABJRU5ErkJggg==";
			var yohoho_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAA3NCSVQICAjb4U/gAAAARVBMVEUsO0dXZW9zfoXN0dMgMj8kNUMXKjgrOUUtPUowQEyYoKZib3iKk5mmrbHt7u6yt7rY291IV2IBFiXa3+DAxMc9S1f////MB3BLAAAAAWJLR0QAiAUdSAAAAI9JREFUGJVVj0kWwyAMQ81kJAKZ0/sftS6QRbE3+g/bkuSc5X35J6whAmASsYom04usHy/EQnIgEe5OfcgSwaG1bLp7dZXSvyAfoYbo9u2WPgTG8lm0tfP2kR0kdyEFr7XpBMtFA2crHYiB1caCW10aW9NRCG5rTeOu3TELiGZkerU1gBlllzMsRpae9j//F/zoBZecZUOYAAAAAElFTkSuQmCC";
			var youtube_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAJ9JREFUOI3FkkEKg0AMRd8E0Ru4c1/0BoJn8XD2GO6E3kBx784bCGq66NBVaKdW8ENgyJ+f/JDA1XBWUqEEbsDuUwKMDh5mFYVGYVXQwFgVmrcDBT1o34lCfUTsG9cCZCbbddD332pkAqQmtSyQ56+J2xbi2PqVSrhhGxEwm0ySwDBAUXzSzxEwmVRVhRiY/l+jf9+B7Qft5jUnnfKleAL5LDy9WUKyUwAAAABJRU5ErkJggg==";
			var icheckmovies_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAsNJREFUOI2Vk09oVFcUxn/3vTeZyUyUCWlip40mkagjYyZNa0XRVQmI2QRdlKg7FWKRLMxCupCQmP4VDHQRRFyUgIWEggt3bgqVEgtdOJpM0qYETTJqRJEYk/Tdefe+42Kc6MKF/eDAhcv53ftxvqNEhK6uLjHG8H/keR6jo6NKdXZ2SjQaJQzD9UsRwRhDGeq6LpFIBKUUCIgC4zpk5pfwAIIgIAxDlFLr55070zQ3b8VxHObmFpiczGONxYtVoATa889JP1rFC8MQEUFE0FpTX/8xPT1f0dKSwXVdRACE2dn7XL76MzO5Cb78Z5mPXgaMtVSjOjo6pPyLVOpDhoZ+JJlM4vv+G8MC0ao4Lx4/4bd9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wvYKKQ1l5jFfHzun4WskPT5o0c9c/q0j85n5861IP/uQWa+n/PnL9F8WMR8fPbmD1nhBQGXl5b8u1z20qWLLcjU5EQLMn/1qoCXp17WtaSYj8/emEn4+pvvtAQfj44KOD7e3ubz8+d99vDhJujFlJenhnUtFPPxubsLWQFvrFxXtVqtthzPjI+runqzIGAmioSEi9+m9VqyiIuxMUsnzAwMNyHXm5D7j0A+fP89AdNRZDoaFEL/K6Q0l5gNHp7xVrHOsVfrwAqrhQJ9/f3UajUGw5DdRoOeQ4cggKXlXb6e6uKtNx7AVu2TdpA2k37z6VArgZulksU/bu05D+45Jx19N62bjwUJwF+SI/4ZmvsuEjKt9ekJhYSQ8quz2aY4145yZ5mWYyP0dE9ijbX1Lu5WoP4goPuIDBzbJXgmgC06ytQBaBcrnMf6PboOnARhxw103zr/D/u22cLku3pbAAAAAElFTkSuQmCC";
			var themoviedb_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAA3NCSVQICAjb4U/gAAAASFBMVEVHcExSwb1kw7Nyx60AADYBAiwBIT8VMUgCJUENLEcZtdc+vscxvM0ludRAtb0pschpq5QNvOcBDzkDfaRbjnqI060MnsULlbo1XZwLAAAACHRSTlMA////////2+nJsOMAAAABYktHRACIBR1IAAAAW0lEQVQYlY3PSQ6AIAwF0KKlLaiAON3/pqLEBNQFf/mSDh+ATREGYKnCYGowbYCIOucGwtB3yjnv7REpAa5bAjWMk50X/QcSwwM7XSNCmJOWUnGW2h/7lHvXPwFXvQgnNCMwUgAAAABJRU5ErkJggg==";
			var mrqe_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAulJREFUOI19k01MnHUQxn/v7nb3hTbFBboJWKAVo8VbW/ohsdkgUZSDISSGS0Oaqol6M208mGA5eDIxwdZD2YOaEFsaIpq0jegiUpqmH9TS1mBdNrvBCG2lfDTd72Xf/+MBa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Gxyl+Ry/RxaKy5mEN/5ed7neX8v/OMIKSUtLS0DQhVu/kv+r+JoNIrruqiqim3bWqFQuCmSyeT02w+5iFeuMnrvEZGtUTRVQwgBQM3zqBUrDJ6/xNNXz7EsC8/zkFLi8/nmhKJr5YFTZ/0Xrl3mdvY+g9k7UJmFJWc51reBvk27GO47hzP5jZ17e1cbmaZZEcDiXOl7MHy8CbosUIMglN+9pQTpwtRrxq9kGb/+kLbtnQT8ftLptK0c7tkncp9ysBnQ1v1pBhACFB1iKXpHL3IofRRFCAzDABDawf0HmC8vgm7Uwa1CYZzmxmYymQwAlmWhBdc08NmdB9FY/2c1cGybsbExwuEwqVQKzavVaFADIGv1FwgwDIOrQ0PEYzFaW1tRJj++I6aFYWmujltCYC122SE7MUE+n0fXdQSw+L44G+zMbIQt3cvUV/S/UgFwprmxe5jOryHazAihUIhEIuEIoPjy2YuGN9oUZ0ZOggb4V4xy+W5cINbNzOnHRNa3rXZKJBK2ME2zksvl9Ad3R+jZs4NiYIkfxYXVBnrAT5MWpDSzQNe2JPF4HFVVURQFx3Gk1t7efqtarR7pP3GsLsWOjg6EEEgpKZVKmmmaT+qT/9/zE++UuSqjFWjkAAAAAElFTkSuQmCC";
			var subtitry_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAEhJREFUOI3tkTEKACAMAxPp/78cJ6GkaFcRb07ag1CSkCCJHRYFSUYuSSohJ2cBIPxyZ+APxiqdim6Qs8Wg4z6Dv8INBg+sMAFG+1U9kwkyGgAAAABJRU5ErkJggg==";
			var rarbgmirror_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAflJREFUOI2F0z9oXEcQx/HPCSWY22DcvFe4CK9KoYOQIhZxE1/j5lQLUpig2lIVIhchsY1xZadIYR8uXKhXfZUhnFOeXAVOhBDCI+XbJjHsEozRpjid/O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0p3AERen4ZCZoRgQAAAABJRU5ErkJggg==";
			var ub1337x_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAfFJREFUOI3Fk79rFHEQxT8z393bTaKgSUAUjlMUbFTsbGxEwcJUamMpgoVami5WIqlirSiksLEQQQsxf4IoGBVBRBJMxMvh5ecle3t3+/2OhYlGLlYpHJhhmnnMe29GzIzthG5rGoh+d1eOXmBn/y1UDZGYxtI4rWwMF0MpPcXgvlFcnOI05fv0E+69HvkbIM/e4mI3F+IjJsreJL1OO39M8FXSvmv1vDiBGuLbYSDP3nRT8H6KbGU4taKlFqi1OUAUn0f15DLx0IZWAz67jerzbgpRBMbELjpPq14umRn09A2jbjEPlmqkDGrnI2vL9xEJ3QC2Xltro7sSd3Yh0F/raNmcK2sSoZ28oDo1RiurIn8W30Sh+JVF8aGnaD5wLgIRNHKExiIDX9+/Ym7mEasrsLK0hQtZA8ygd4eS9pUJgs9WsdoCfnkeovYgIrvptH9stnHTHRgIUHRO1+r1i+1vX+jMfqaYryEizBSlw5SSGzgHzm0B0GpCK09oNm4267WSZQ0qSZis9OqLDQeCcRmRg4j8QwPz52abdkbUYaLg/V18MZJIWLMQmG1RBq5iwXUDYIcQvRNAzYz9KZ/AXqL6bk/EBCIE75nOZRhjqFtEdcdwLq+kNgkS44uHIOuC2XgloYLhcFGKt+PAMwD579/4E9XT4ppxJtWQAAAAAElFTkSuQmCC";
			var duckduckgo_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAv5JREFUOI1tk19oW3UcxT+/m5ubepP0bmFZSlK9s03nv6bbCA4VnYgvvuqQtfZB8UknhTkHFqSITLDCSufLZIJDfGnGoD7WB1EU/4BtV83ajXZZbdL1tmnpatYkvX+Se30IZFP7ff6ewzmccwT/Oa83HieUGCZ+MF1uS+oAobVcHmNhmvLKoMgYxv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7NnNRNVrVURBVXRQlrQBM76at8vB82BaIuij6LRWA/ZMBgMfbCYDB6AxAyrcFQXTOzRreewBztten55zcOz5KIIj2SKRky897770v2YgCUdg9OCQKL/cPqUoiLogWse1QRFsHycEFkSJqFhARgCJqzWsAgLBwWNqBmQEUXDdeAtlhZaT+xU0aoLZqwEIQVUv+5djJanY1BrAzuk6cqOpYV741x/bpZcaZwKqO1dYP9FewmhOzr8+PjgIAPx5kA+4lu2i5AAAAAElFTkSuQmCC";
		/*
			var fvico_img="data:image/png;base64,";
			alert(movie+"\n"+year+"\n"+movie_ru);
			alert(movie_enc+"\n"+movie_imdb+"\n"+movie_hdclub+"\n"+movie_nnm+"\n"+year);
		*/
			if(!jQuery.browser.mozilla){
				var url2db = 'http://www.omdbapi.com/?apikey=' + API_KEY_OMDB + '&t=' + movie_enc + '&y=' + year + '&plot=short&r=json';
		//alert(url2db);
				GM_xmlhttpRequest({
					method: 'GET',
					url: url2db,
					onload: function(response) {
						var data = JSON.parse(response.responseText);
						console.log(data);
						if (data.Response === 'False') {
							if((movie+" ").indexOf("s ")-(movie+" ").indexOf("'s ") > 1){
								var movie_s = (movie+" ").replace("s ", "'s ")
								var movie_encs=encodeURIComponent(movie_s);
								url2db = 'http://www.omdbapi.com/?apikey=' + API_KEY_OMDB + '&t=' + movie_encs + '&y=' + year + '&plot=short&r=json';
							}
							$("#loading").detach();
							$(".toli").append('<a style="margin: 10px;" target="_blank" title="IMDB" href="http://www.imdb.com/find?q='+movie_enc+'"><img style="border:0; margin-top: 3px; margin-bottom : 3px;"  src="'+imdb_img+'"></a>');
						} else {
							/* получаем полную информацию  */  /*
							let movie_imdb = {
								imdbID: data.imdbID,
								Title: '<a href="http://www.imdb.com/title/'+data.imdbID+'" target="_blank">'+data.Title+'</a>',
								Year: data.Year,
							};*/
							if(data.imdbID!==""){
								movie_imdbID=data.imdbID;
								$("#loading").detach();
								$(".toli").append('<a style="margin: 10px;" target="_blank" title="rarbgmirror.com" href="https://rarbgmirror.com/torrents.php?search='+movie_imdbID+'"><img style="border:0; margin-top: 3px; margin-bottom: 3px;" src="'+rarbgmirror_img+'"></a>');
								$(".toli").append('<a style="margin: 10px;" target="_blank" title="iCheckMovies" href="https://www.icheckmovies.com/search/movies/?query='+movie_imdbID+'"><img style="border:0; margin-top: 3px; margin-bottom: 3px;" src="'+icheckmovies_img+'"></a>');
								$(".toli").append('<a style="margin: 10px;" target="_blank" title="torrent в Google" href="https://www.google.ru/search?hl=en&lr=&q=torrent%20'+movie_imdbID+'"><img style="border:0; margin-top: 3px; margin-bottom: 3px;" src="'+google_img+'"></a>');
								$(".toli").append('<a style="margin: 10px;" target="_blank" title="Gdrive Player" href="https://database.gdriveplayer.me/player.php?imdb='+movie_imdbID+'"><img style="border:0; margin-top: 3px; margin-bottom: 3px;" src="'+movieposter_img+'"></a>');
								$(".toli").append('<a style="margin: 10px;" target="_blank" title="IMDB" href="http://www.imdb.com/title/'+movie_imdbID+'"><img style="border:0; margin-top: 3px; margin-bottom: 3px;" src="'+imdb_img+'"></a>');
							}
						}
					},
					onerror: function(){
						console.warn('request failed: ' + url2db);
					}
				});
			}else{
				$.ajax({
					url:"http://www.omdbapi.com/?apikey="+API_KEY_OMDB,
					data:"t="+movie_imdb+"&y="+year+"&plot=short&r=json",
					jsonp:"callback",
					jsonpCallback:"callbackName",
					dataType:"jsonp",
					timeout:6000
				}).done(function callbackName(data){
					if(data.Response=="True"){
						$("#loading").detach();
						movie_imdbID=data.imdbID;
						$(".toli").append('<a style="margin: 10px;" target="_blank" title="IMDB" href="http://www.imdb.com/title/'+movie_imdbID+'"><img style="border:0; margin-top: 3px; margin-bottom : 3px;" src="'+imdb_img+'"></a>');
					}else{
						$("#loading").detach();
						$(".toli").append('<a style="margin: 10px;" target="_blank" title="IMDB" href="http://www.imdb.com/find?q='+movie_enc+'"><img style="border:0; margin-top: 3px; margin-bottom : 3px;" src="'+imdb_img+'"></a>');
					}
				}).fail(function(jqXHR,data){
					$("#loading").detach();
					$(".toli").append('<a style="margin: 10px;" target="_blank" title="IMDB" href="http://www.imdb.com/find?q='+movie_enc+'"><img style="border:0; margin-top: 3px; margin-bottom : 3px;" src="'+imdb_img+'"></a>');
				});
			}
			var link1='<a target="_blank" title="RuTracker.org" href="http://rutracker.net/forum/tracker.php?nm='+movie_enc+" "+year+'"><img style="border:0; margin-top: 3px; margin-bottom : 3px; width: 16px; height: 16px;" src="'+rtr_img+'"></a>';
			var link2='<a target="_blank" title="RuTor.org" href="http://rutor.info/search/'+movie_enc+" "+year+'"><img src="'+newrutor_img+'"></a>';//http://g-tor.xyz/ http://xrutor.org/ http://rutor.info/ и http://rutor.is/
			var link3='<a target="_blank" title="NNM-Club.me" href="http://nnmclub.to/forum/tracker.php?nm='+movie_nnm+" "+year+'"><img src="'+nnmclub_img+'"></a>';
			var link4='<a target="_blank" title="KinoZal.tv" href="http://kinozal.tv/browse.php?s='+movie+" "+year+'"><img src="'+kinozal_img+'"></a>';
			var link5='<a target="_blank" title="allmovie.com" href="http://www.allmovie.com/search/movies/'+movie_allm+" "+year+'"><img src="'+allmovie_img+'"></a>';
			var link6='<a target="_blank" title="yohoho.cc" href="https://yohoho.cc/#'+movie_nr+'"><img src="'+yohoho_img+'"></a>';
			var link7='<a target="_blank" title="7tor.org" href="http://7tor.org/search.php?sr=topics&sf=titleonly&fp=0&tracker_search=torrent&keywords='+movie_enc+'"><img src="'+i7tor_img+'"></a>';
			var link8='<a target="_blank" title="OpenSubs" href="https://www.opensubtitles.org/en/search2/sublanguageid-all/moviename-'+movie+" "+year+'"><img src="'+opensubtitles_img+'"></a>';
			var link9='<a target="_blank" title="Русские субтитры" href="https://subtitry.ru/subtitles/?film='+movie_allm+'"><img src="'+subtitry_img+'"></a>';
			var link10='<a target="_blank" title="Subscene" href="https://subscene.com/subtitles/'+movie_subs+'"><img src="'+subscene_img+'"></a>';
			var link11='<a target="_blank" title="субтитры в Google" href="https://www.google.ru/search?hl=en&lr=&q=subtitle%20intitle:'+movie_nnm+" "+year+'"><img src="'+google_img+'"></a>';
			var link12='<a target="_blank" title="podnapisi.net" href="https://www.podnapisi.net/en/subtitles/search/?keywords='+movie+'&movie_type=&seasons=&episodes=&year=&type="><img src="'+podnapisi_img+'"></a>';
			var link13='<a target="_blank" title="Movie Review Query Engine" href="https://www.mrqe.com/search?utf8=%E2%9C%93&q='+movie_enc+'&commit=%C2%A0"><img src="'+mrqe_img+'"></a>';
			var link14='<a target="_blank" title="The TVDB" href="https://www.thetvdb.com/search?query='+movie_enc+'"><img src="'+thetvdb_img+'"></a>';
			var link15='<a target="_blank" title="MoviePosterDB" href="https://en-ru.movieposterdb.com/search?q='+movie_allm+'"><img src="'+movieposter_img+'"></a>';
			var link16='<a target="_blank" title="Rotten Tomatoes" href="https://www.rottentomatoes.com/search/?search='+movie_allm+'"><img src="'+rottentomatoes_img+'"></a>';
			var link17='<a target="_blank" title="The Movie Database (TMDb)" href="https://www.themoviedb.org/search?query='+movie_nnm+'"><img src="'+themoviedb_img+'"></a>';
			var link18='<a target="_blank" title="criticker.com" href="https://www.criticker.com/?search='+movie+'&type=films"><img src="'+criticker_img+'"></a>';
			var link19='<a target="_blank" title="metacritic.com" href="https://www.metacritic.com/movie/'+movie_subs+'"><img src="'+metacritic_img+'"></a>';
			var link20='<a target="_blank" title="Google" href="https://www.google.ru/search?q='+movie_nnm+" "+year+'"><img src="'+google_img+'"></a>';
			var link21='<a target="_blank" title="DuckDuckGo.com" href="https://duckduckgo.com/?q='+movie_nnm+" "+year+'&ia=web"><img src="'+duckduckgo_img+'"></a>';
			var link22='<a target="_blank" title="Wikipedia" href="https://ru.wikipedia.org/w/index.php?sort=relevance&search='+movie_nnm+"+"+year+'+film+%D1%84%D0%B8%D0%BB%D1%8C%D0%BC+intitle%3A'+movie_nnm+'&title=Special%3ASearch&profile=advanced&fulltext=1&advancedSearch-current=%7B%22fields%22%3A%7B%22intitle%22%3A%22'+movie_nnm+'%22%2C%22plain%22%3A%5B%22film%22%2C%22%D1%84%D0%B8%D0%BB%D1%8C%D0%BC%22%5D%7D%7D&ns0=1"><img src="'+wiki_img+'"></a>';
			var link23='<a target="_blank" title="youtube.com" href="http://www.youtube.com/results?search_query='+movie_nnm+" "+year+'"><img src="'+youtube_img+'"></a>';
			var link24='<a target="_blank" title="kickasstorrents.to" href="https://kickasstorrents.to/usearch/'+movie_enc+" "+year+'/"><img src="'+kickasstorrents_img+'"></a>';
			var link25='<a target="_blank" title="thepiratebay.org" href="https://thepiratebay.org/search.php?q='+movie_enc+" "+year+'"><img src="'+thepiratebay_img+'"></a>';
			var link26='<a target="_blank" title="netflix.com" href="https://www.netflix.com/search/'+movie_enc+" "+year+'"><img src="'+netflix_img+'"></a>';
			var link27='<a target="_blank" title="1337x.unblocker.cc" href="https://1337x.unblocker.cc/category-search/'+movie_enc+" "+year+'"><img src="'+ub1337x_img+'"></a>';
			var link28='<a target="_blank" title="torrentdownloads.me" href="https://www.torrentdownloads.me/search/?search='+movie_nnm+" "+year+'"><img src="'+torrentdownloads_img+'"></a>';

			var post='<div class="toli">'+link1+link2+link3+link4+link5+link6+link7+link8+link9+link10+link11+link12+link13+link14+link15+link16+link17+link18+link19+link20+link21+link22+link23+link24+link25+link26+link27+link28+'</div>';

			if($("[class^='styles_posterContainer__1w5Ik']").length>0){
//				$("[class^='styles_posterContainer__']").append(post);
				$("[class^='styles_posterContainer__1w5Ik']").append(post);
				$(".toli").css({"margin-top":"5px","margin-bottom":"5px",width:"300px"});
				$(".toli a").css({margin:"10px"});
				$(".toli a img").css({border:"0","margin-top":"3px","margin-bottom":"3px"});
			}else{
				$("img[class~='film-poster']").after(post);
				$(".toli").css({"margin-top":"5px","margin-bottom":"5px",width:"300px"});
				$(".toli a").css({margin:"10px"});
				$(".toli a img").css({border:"0","margin-top":"3px","margin-bottom":"3px"});
			}
			$(".toli").append('<a id="loading" style="margin: 10px;" target="_blank" title="IMDB" href="http://www.imdb.com/title/"><img style="border:0; margin-top: 3px; margin-bottom : 3px; width: 16px; height: 16px;"  src="'+imdb_img+'"></a>');
		});
		(function() {var css = "";
				css += ["@namespace url(http://www.w3.org/1999/xhtml);",
						"",
						"/* модификация вида */"
				].join("\n");
				if (false || (document.domain == "kinopoisk.ru" || document.domain.substring(document.domain.indexOf(".kinopoisk.ru") + 1) == "kinopoisk.ru")){
					css += [
						" div[class^=\"styles_root__\"],div[class^=\"styles_basicInfoSection\"],div[class^=\"styles_basicMediaSection\"] {padding: 0px 0 0px!important;}",
						" div[class*=\"styles_nameplate_\"] {right: 240px;!important;}",
						" "
					].join("\n");
					lkp=location.href;
					if (lkp.match('kinopoisk.ru/series/')){
						css += [
							"div[class*=\"styles_rootWithBranding_\"]{display: none!important;}",
							""
						].join("\n");
					}
				}
	//	}
				if (typeof GM_addStyle != "undefined") {
					GM_addStyle(css);
				} else if (typeof PRO_addStyle != "undefined") {
					PRO_addStyle(css);
				} else if (typeof addStyle != "undefined") {
					addStyle(css);
				} else {
					var node = document.createElement("style");
					node.type = "text/css";
					node.appendChild(document.createTextNode(css));
					var heads = document.getElementsByTagName("head");
					if (heads.length > 0) {
						heads[0].appendChild(node);
					} else {
						// no head yet, stick it whereever
						document.documentElement.appendChild(node);
					}
				}
		}());
	} catch (e) {
		unsafeWindow.console.log(e);
	}
}