Sign up
PR
Events
Свердловск, Украина_DISCO CLUB YKR.OP, Sverdlovsk, 22:00 // 21 March 2009
House
Бриз, Lugansk, 21:00 // 28 June 2008
Techno
2XMONO
Рыгованов Виталий(dipaziv)

 

// == "collapsed") collapsed = true; if (!collapsed) container.className += " collapsed"; var watchTabs = ["watch-like", "watch-unlike", "watch-share", "watch-embed", "watch-flag"]; for (var i = 0; i ); if (tab) { var tClasses = tab.className.split(" "); for (var j = 0; i == "active") tClasses.splice(i, 1); tab.className = tClasses.join(" "); } } } if (document.getElementById("ytd-watch-download-button").getAttribute("data-ytd-new-version") == "yes") { var updateDivs = document.getElementsByClassName("ytd-update-div"); for (var i = 0; i .style.display = ""; var updateLinks = document.getElementsByClassName("ytd-update-link"); for (var i = 0; i .style.display = ""; } }, }; var dlButton = document.createElement("button"); dlButton.setAttribute("id", "ytd-watch-download-button"); dlButton.className = "yt-uix-button yt-uix-tooltip"; dlButton.setAttribute("data-button-action", "ytd.loadDownloadMenu"); dlButton.setAttribute("title", "Сохранить видео на жесткий диск"); dlButton.setAttribute("type", "button"); dlButton.setAttribute("onclick", "; return false;"); ytd.dlButton = dlButton; var dlButtonContent = document.createElement("span"); dlButtonContent.className = "yt-uix-button-content"; dlButtonContent.appendChild(document.createTextNode("Скачать")); dlButton.appendChild(dlButtonContent); dlButton.appendChild(document.createTextNode(" ")); var dlButtonArrow = document.createElement("img"); dlButtonArrow.className = "yt-uix-button-arrow"; dlButtonArrow.setAttribute("src", "http://s.ytimg.com/yt/img/pixel-vfl73.gif"); dlButtonArrow.setAttribute("alt", ""); dlButton.appendChild(dlButtonArrow); var dlButtonMenu = document.createElement("div"); dlButtonMenu.className = " yt-uix-button-menu"; dlButtonMenu.style.display = "none"; dlButtonMenu.style.backgroundColor = "#EBEBEB"; dlButton.appendChild(dlButtonMenu); var watchEmbed = getElem("watch-embed"); watchEmbed.parentNode.insertBefore(dlButton, watchEmbed); watchEmbed.parentNode.insertBefore(document.createTextNode(" "), watchEmbed); if (document.documentElement.getAttribute("lang") == "fr") { var watchShare = document.getElementById("watch-share"); if (watchShare) { var img = watchShare.getElementsByTagName("img")[0]; if (img) img.style.display = "none"; } } var swfArgs = new Array(); var moviePlayer = document.getElementById("movie_player"); var fmtStreamMap = false; var videoId; var token; if (yt.getConfig("SWF_CONFIG")) { swfArgs = yt.getConfig("SWF_CONFIG").args; fmtStreamMap = swfArgs["fmt_stream_map"]; if (!fmtStreamMap) return compatError(); fmtStreamMap = fmtStreamMap.split(","); videoId = swfArgs["video_id"]; token = swfArgs["t"]; } else if (moviePlayer) { var flashvars = getElem("movie_player").getAttribute("flashvars").split("&"); for (var flashvar in flashvars) swfArgs[flashvars[flashvar].substring(0, flashvars[flashvar].indexOf("="))] = flashvars[flashvar].substring(flashvars[flashvar].indexOf("=") + 1); fmtStreamMap = swfArgs["fmt_stream_map"]; if (!fmtStreamMap) return compatError(); fmtStreamMap = unescape(fmtStreamMap).split(","); videoId = swfArgs["video_id"]; token = swfArgs["t"]; } else if (typeof videoPlayer == "undefined" && document.getElementById("watch-player") && document.getElementById("watch-player").getElementsByTagName("script").length) { var flashvars = document.getElementById("watch-player").getElementsByTagName("script")[0].textContent; flashvars = flashvars.substring(flashvars.indexOf("flashvars=\\\"") + 12); flashvars = flashvars.substring(0, flashvars.indexOf("\"")).split("&"); for (var flashvar in flashvars) swfArgs[flashvars[flashvar].substring(0, flashvars[flashvar].indexOf("="))] = flashvars[flashvar].substring(flashvars[flashvar].indexOf("=") + 1); fmtStreamMap = swfArgs["fmt_stream_map"]; if (!fmtStreamMap) return compatError(); fmtStreamMap = unescape(fmtStreamMap).split(","); videoId = swfArgs["video_id"]; token = swfArgs["t"]; } var isWidescreen = yt.getConfig('IS_WIDESCREEN'); var title = getElem("watch-headline-title").textContent; if (title) title = title.replace(/^\s\s*/, "").replace(/\s\s*$/, "").replace(/"/g, "-").replace(/%/g, "%25").replace(/=/g, "%3D").replace(/,/g, "%2C").replace(/&/g, "%26").replace(/#/g, "%23").replace(/\?/g, "%3F").replace(/\//g, "_").replace(/\\/g, "_").replace(/ /g, "+"); ytd.title = title; dlButton.setAttribute("data-ytd-title", title); if (videoId && token) { ytd.formats[5].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=5"; ytd.formats[5].guessed = true; ytd.formats[18].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=18"; ytd.formats[18].guessed = true; ytd.formats[13].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=13"; ytd.formats[13].guessed = true; ytd.formats[17].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=17"; ytd.formats[17].guessed = true; ytd.formats[36].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=36"; ytd.formats[36].guessed = true; if (yt.getConfig('IS_HD_AVAILABLE')) { ytd.formats[22].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=22"; ytd.formats[22].guessed = true; } } var dlLink; if ((dlLink = document.getElementById("download-hq-button")) && (dlLink = dlLink.getAttribute("href")) && dlLink.indexOf(".youtube.com/videoplayback?") + 1) { var url = dlLink.split('?')[0]; var args = dlLink.substring(url.length + 1).split('&'); var titleChangable = true; var fmt = 18; if (title) for (var arg in args) { arg = args[arg]; if (arg.indexOf("sparams=") == 0) { var sparams = unescape(arg.substring(8)).split(','); for (var sparam in sparams) if (sparams[sparam] == "title") { titleChangable = false; break; } break; } } dlLink = url + "?"; for (var arg in args) { if (title && titleChangable && args[arg].indexOf("title=") == 0) args[arg] = "title=" + title; else if (args[arg].indexOf("itag=") == 0) if (!(fmt = parseInt(args[arg].substring(5)))) fmt = 18; dlLink += args[arg]; if (arg .xb.substring(formats5.xb.indexOf("?") + 1).split("&"); var fmt; for (var j = 0; j .xb + "&title=" + (title ? title : "video"); ytd.formats[fmt].guessed = false; } else ytd.formats[fmt] = { fmt: fmt, quality: { level: ytd.formats[18].quality.level + 0.1, description: formats5.u }, url: formats5.xb + "&title=" + (title ? title : "video") }; } } else compatError(); if (fmtStreamMap) if (fmtStreamMap[0] == "") { if (!videoId || !token) return compatError(); ytd.formats[0].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token; ytd.formats[0].guessed = true; } else { var lastQLevel = 99; for (var fmt in fmtStreamMap) { fmt = fmtStreamMap[fmt].split("|"); var url = fmt[1] + "&title=" + (title ? title : "video"); fmt = parseInt(fmt[0]); if (ytd.formats[fmt]) { lastQLevel = ytd.formats[fmt].quality.level; ytd.formats[fmt].url = url; ytd.formats[fmt].guessed = false; } else ytd.formats[fmt] = { fmt: fmt, quality: { level: lastQLevel - 0.5, description: "Unknown Format" }, url: url }; } } var recommended; var highestQLevel = -1; var formatList = new Array(); var formatListMobile = new Array(); ytd.watchedFmts = new Array(); for (var fmt in ytd.formats) if (ytd.formats[fmt].url) { if (isWidescreen && ytd.formats[fmt].mres) ytd.formats[fmt].mres = ytd.formats[fmt].wmres; if (ytd.formats[fmt].mobile) formatListMobile[formatListMobile.length] = ytd.formats[fmt]; else { if (ytd.formats[fmt].quality.level > highestQLevel) { highestQLevel = ytd.formats[fmt].quality.level; recommended = ytd.formats[fmt]; } formatList[formatList.length] = ytd.formats[fmt]; } if (ytd.formats[fmt].guessed) ytd.watchedFmts.push(ytd.formats[fmt].fmt); } if (recommended) recommended.recommended = true; formatList.sort(function(a, b) {return b.quality.level - a.quality.level;}); formatListMobile.sort(function(a, b) {return b.quality.level - a.quality.level;}); dlButton.setAttribute("data-ytd-watched", ytd.watchedFmts.join(" ")); var formatDiv = document.createElement("div"); formatDiv.className = "yt-uix-button-menu-item"; formatDiv.style.fontSize = "smaller"; formatDiv.style.fontWeight = "bold"; formatDiv.style.backgroundColor = "#EFEFEF"; formatDiv.style.cursor = "default"; var formatSpan = document.createElement("span"); if (formatList.length) formatSpan.appendChild(document.createTextNode("Выберите формат для загрузки:")); else formatSpan.appendChild(document.createTextNode("Ошибка: Нет форматов для загрузки.")); formatDiv.appendChild(formatSpan); dlButtonMenu.appendChild(formatDiv); for (var fmt in formatList) dlButtonMenu.appendChild(createDLLink(formatList[fmt])); if (formatListMobile.length) { var mFormatDiv = document.createElement("div"); mFormatDiv.className = "yt-uix-button-menu-item"; mFormatDiv.style.fontSize = "smaller"; mFormatDiv.style.fontWeight = "bold"; mFormatDiv.style.backgroundColor = "#EFEFEF"; mFormatDiv.style.cursor = "default"; var mFormatSpan = document.createElement("span"); mFormatSpan.appendChild(document.createTextNode("Или выберите совместимый с мобильным телефоном формат 3GP:")); mFormatDiv.appendChild(mFormatSpan); dlButtonMenu.appendChild(mFormatDiv); for (var fmt in formatListMobile) dlButtonMenu.appendChild(createDLLink(formatListMobile[fmt])); } if (updateNeeded == true || checkUpdates == true) { var updateDiv = document.createElement("div"); updateDiv.className = "yt-uix-button-menu-item ytd-update-div"; updateDiv.style.fontSize = "smaller"; updateDiv.style.fontWeight = "bold"; updateDiv.style.backgroundColor = "#EFEFEF"; updateDiv.style.cursor = "default"; if (checkUpdates == true) updateDiv.style.display = "none"; var updateSpan = document.createElement("span"); updateSpan.appendChild(document.createTextNode("Доступна новая версия YouTube Video Download")); updateDiv.appendChild(updateSpan); dlButtonMenu.appendChild(updateDiv); var linkA = document.createElement("a"); linkA.className = "yt-uix-button-menu-item ytd-update-link"; linkA.style.marginTop = "1px"; linkA.style.marginBottom = "1px"; if (checkUpdates == true) linkA.style.display = "none"; linkA.setAttribute("href", "http://userscripts.org/scripts/source/62634.user.js"); var linkSpan = document.createElement("span"); linkSpan.appendChild(document.createTextNode("Нажмите здесь для обновления")); linkA.appendChild(linkSpan); dlButtonMenu.appendChild(linkA); } })((new Boolean(false)), (new Boolean(false))); // ]]> // == "collapsed") collapsed = true; if (!collapsed) container.className += " collapsed"; var watchTabs = ["watch-like", "watch-unlike", "watch-share", "watch-embed", "watch-flag"]; for (var i = 0; i ); if (tab) { var tClasses = tab.className.split(" "); for (var j = 0; i == "active") tClasses.splice(i, 1); tab.className = tClasses.join(" "); } } } if (document.getElementById("ytd-watch-download-button").getAttribute("data-ytd-new-version") == "yes") { var updateDivs = document.getElementsByClassName("ytd-update-div"); for (var i = 0; i .style.display = ""; var updateLinks = document.getElementsByClassName("ytd-update-link"); for (var i = 0; i .style.display = ""; } }, }; var dlButton = document.createElement("button"); dlButton.setAttribute("id", "ytd-watch-download-button"); dlButton.className = "yt-uix-button yt-uix-tooltip"; dlButton.setAttribute("data-button-action", "ytd.loadDownloadMenu"); dlButton.setAttribute("title", "Сохранить видео на жесткий диск"); dlButton.setAttribute("type", "button"); dlButton.setAttribute("onclick", "; return false;"); ytd.dlButton = dlButton; var dlButtonContent = document.createElement("span"); dlButtonContent.className = "yt-uix-button-content"; dlButtonContent.appendChild(document.createTextNode("Скачать")); dlButton.appendChild(dlButtonContent); dlButton.appendChild(document.createTextNode(" ")); var dlButtonArrow = document.createElement("img"); dlButtonArrow.className = "yt-uix-button-arrow"; dlButtonArrow.setAttribute("src", "http://s.ytimg.com/yt/img/pixel-vfl73.gif"); dlButtonArrow.setAttribute("alt", ""); dlButton.appendChild(dlButtonArrow); var dlButtonMenu = document.createElement("div"); dlButtonMenu.className = " yt-uix-button-menu"; dlButtonMenu.style.display = "none"; dlButtonMenu.style.backgroundColor = "#EBEBEB"; dlButton.appendChild(dlButtonMenu); var watchEmbed = getElem("watch-embed"); watchEmbed.parentNode.insertBefore(dlButton, watchEmbed); watchEmbed.parentNode.insertBefore(document.createTextNode(" "), watchEmbed); if (document.documentElement.getAttribute("lang") == "fr") { var watchShare = document.getElementById("watch-share"); if (watchShare) { var img = watchShare.getElementsByTagName("img")[0]; if (img) img.style.display = "none"; } } var swfArgs = new Array(); var moviePlayer = document.getElementById("movie_player"); var fmtStreamMap = false; var videoId; var token; if (yt.getConfig("SWF_CONFIG")) { swfArgs = yt.getConfig("SWF_CONFIG").args; fmtStreamMap = swfArgs["fmt_stream_map"]; if (!fmtStreamMap) return compatError(); fmtStreamMap = fmtStreamMap.split(","); videoId = swfArgs["video_id"]; token = swfArgs["t"]; } else if (moviePlayer) { var flashvars = getElem("movie_player").getAttribute("flashvars").split("&"); for (var flashvar in flashvars) swfArgs[flashvars[flashvar].substring(0, flashvars[flashvar].indexOf("="))] = flashvars[flashvar].substring(flashvars[flashvar].indexOf("=") + 1); fmtStreamMap = swfArgs["fmt_stream_map"]; if (!fmtStreamMap) return compatError(); fmtStreamMap = unescape(fmtStreamMap).split(","); videoId = swfArgs["video_id"]; token = swfArgs["t"]; } else if (typeof videoPlayer == "undefined" && document.getElementById("watch-player") && document.getElementById("watch-player").getElementsByTagName("script").length) { var flashvars = document.getElementById("watch-player").getElementsByTagName("script")[0].textContent; flashvars = flashvars.substring(flashvars.indexOf("flashvars=\\\"") + 12); flashvars = flashvars.substring(0, flashvars.indexOf("\"")).split("&"); for (var flashvar in flashvars) swfArgs[flashvars[flashvar].substring(0, flashvars[flashvar].indexOf("="))] = flashvars[flashvar].substring(flashvars[flashvar].indexOf("=") + 1); fmtStreamMap = swfArgs["fmt_stream_map"]; if (!fmtStreamMap) return compatError(); fmtStreamMap = unescape(fmtStreamMap).split(","); videoId = swfArgs["video_id"]; token = swfArgs["t"]; } var isWidescreen = yt.getConfig('IS_WIDESCREEN'); var title = getElem("watch-headline-title").textContent; if (title) title = title.replace(/^\s\s*/, "").replace(/\s\s*$/, "").replace(/"/g, "-").replace(/%/g, "%25").replace(/=/g, "%3D").replace(/,/g, "%2C").replace(/&/g, "%26").replace(/#/g, "%23").replace(/\?/g, "%3F").replace(/\//g, "_").replace(/\\/g, "_").replace(/ /g, "+"); ytd.title = title; dlButton.setAttribute("data-ytd-title", title); if (videoId && token) { ytd.formats[5].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=5"; ytd.formats[5].guessed = true; ytd.formats[18].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=18"; ytd.formats[18].guessed = true; ytd.formats[13].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=13"; ytd.formats[13].guessed = true; ytd.formats[17].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=17"; ytd.formats[17].guessed = true; ytd.formats[36].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=36"; ytd.formats[36].guessed = true; if (yt.getConfig('IS_HD_AVAILABLE')) { ytd.formats[22].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=22"; ytd.formats[22].guessed = true; } } var dlLink; if ((dlLink = document.getElementById("download-hq-button")) && (dlLink = dlLink.getAttribute("href")) && dlLink.indexOf(".youtube.com/videoplayback?") + 1) { var url = dlLink.split('?')[0]; var args = dlLink.substring(url.length + 1).split('&'); var titleChangable = true; var fmt = 18; if (title) for (var arg in args) { arg = args[arg]; if (arg.indexOf("sparams=") == 0) { var sparams = unescape(arg.substring(8)).split(','); for (var sparam in sparams) if (sparams[sparam] == "title") { titleChangable = false; break; } break; } } dlLink = url + "?"; for (var arg in args) { if (title && titleChangable && args[arg].indexOf("title=") == 0) args[arg] = "title=" + title; else if (args[arg].indexOf("itag=") == 0) if (!(fmt = parseInt(args[arg].substring(5)))) fmt = 18; dlLink += args[arg]; if (arg .xb.substring(formats5.xb.indexOf("?") + 1).split("&"); var fmt; for (var j = 0; j .xb + "&title=" + (title ? title : "video"); ytd.formats[fmt].guessed = false; } else ytd.formats[fmt] = { fmt: fmt, quality: { level: ytd.formats[18].quality.level + 0.1, description: formats5.u }, url: formats5.xb + "&title=" + (title ? title : "video") }; } } else compatError(); if (fmtStreamMap) if (fmtStreamMap[0] == "") { if (!videoId || !token) return compatError(); ytd.formats[0].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token; ytd.formats[0].guessed = true; } else { var lastQLevel = 99; for (var fmt in fmtStreamMap) { fmt = fmtStreamMap[fmt].split("|"); var url = fmt[1] + "&title=" + (title ? title : "video"); fmt = parseInt(fmt[0]); if (ytd.formats[fmt]) { lastQLevel = ytd.formats[fmt].quality.level; ytd.formats[fmt].url = url; ytd.formats[fmt].guessed = false; } else ytd.formats[fmt] = { fmt: fmt, quality: { level: lastQLevel - 0.5, description: "Unknown Format" }, url: url }; } } var recommended; var highestQLevel = -1; var formatList = new Array(); var formatListMobile = new Array(); ytd.watchedFmts = new Array(); for (var fmt in ytd.formats) if (ytd.formats[fmt].url) { if (isWidescreen && ytd.formats[fmt].mres) ytd.formats[fmt].mres = ytd.formats[fmt].wmres; if (ytd.formats[fmt].mobile) formatListMobile[formatListMobile.length] = ytd.formats[fmt]; else { if (ytd.formats[fmt].quality.level > highestQLevel) { highestQLevel = ytd.formats[fmt].quality.level; recommended = ytd.formats[fmt]; } formatList[formatList.length] = ytd.formats[fmt]; } if (ytd.formats[fmt].guessed) ytd.watchedFmts.push(ytd.formats[fmt].fmt); } if (recommended) recommended.recommended = true; formatList.sort(function(a, b) {return b.quality.level - a.quality.level;}); formatListMobile.sort(function(a, b) {return b.quality.level - a.quality.level;}); dlButton.setAttribute("data-ytd-watched", ytd.watchedFmts.join(" ")); var formatDiv = document.createElement("div"); formatDiv.className = "yt-uix-button-menu-item"; formatDiv.style.fontSize = "smaller"; formatDiv.style.fontWeight = "bold"; formatDiv.style.backgroundColor = "#EFEFEF"; formatDiv.style.cursor = "default"; var formatSpan = document.createElement("span"); if (formatList.length) formatSpan.appendChild(document.createTextNode("Выберите формат для загрузки:")); else formatSpan.appendChild(document.createTextNode("Ошибка: Нет форматов для загрузки.")); formatDiv.appendChild(formatSpan); dlButtonMenu.appendChild(formatDiv); for (var fmt in formatList) dlButtonMenu.appendChild(createDLLink(formatList[fmt])); if (formatListMobile.length) { var mFormatDiv = document.createElement("div"); mFormatDiv.className = "yt-uix-button-menu-item"; mFormatDiv.style.fontSize = "smaller"; mFormatDiv.style.fontWeight = "bold"; mFormatDiv.style.backgroundColor = "#EFEFEF"; mFormatDiv.style.cursor = "default"; var mFormatSpan = document.createElement("span"); mFormatSpan.appendChild(document.createTextNode("Или выберите совместимый с мобильным телефоном формат 3GP:")); mFormatDiv.appendChild(mFormatSpan); dlButtonMenu.appendChild(mFormatDiv); for (var fmt in formatListMobile) dlButtonMenu.appendChild(createDLLink(formatListMobile[fmt])); } if (updateNeeded == true || checkUpdates == true) { var updateDiv = document.createElement("div"); updateDiv.className = "yt-uix-button-menu-item ytd-update-div"; updateDiv.style.fontSize = "smaller"; updateDiv.style.fontWeight = "bold"; updateDiv.style.backgroundColor = "#EFEFEF"; updateDiv.style.cursor = "default"; if (checkUpdates == true) updateDiv.style.display = "none"; var updateSpan = document.createElement("span"); updateSpan.appendChild(document.createTextNode("Доступна новая версия YouTube Video Download")); updateDiv.appendChild(updateSpan); dlButtonMenu.appendChild(updateDiv); var linkA = document.createElement("a"); linkA.className = "yt-uix-button-menu-item ytd-update-link"; linkA.style.marginTop = "1px"; linkA.style.marginBottom = "1px"; if (checkUpdates == true) linkA.style.display = "none"; linkA.setAttribute("href", "http://userscripts.org/scripts/source/62634.user.js"); var linkSpan = document.createElement("span"); linkSpan.appendChild(document.createTextNode("Нажмите здесь для обновления")); linkA.appendChild(linkSpan); dlButtonMenu.appendChild(linkA); } })((new Boolean(false)), (new Boolean(false))); // ]]> // == "collapsed") collapsed = true; if (!collapsed) container.className += " collapsed"; var watchTabs = ["watch-like", "watch-unlike", "watch-share", "watch-embed", "watch-flag"]; for (var i = 0; i ); if (tab) { var tClasses = tab.className.split(" "); for (var j = 0; i == "active") tClasses.splice(i, 1); tab.className = tClasses.join(" "); } } } if (document.getElementById("ytd-watch-download-button").getAttribute("data-ytd-new-version") == "yes") { var updateDivs = document.getElementsByClassName("ytd-update-div"); for (var i = 0; i .style.display = ""; var updateLinks = document.getElementsByClassName("ytd-update-link"); for (var i = 0; i .style.display = ""; } }, }; var dlButton = document.createElement("button"); dlButton.setAttribute("id", "ytd-watch-download-button"); dlButton.className = "yt-uix-button yt-uix-tooltip"; dlButton.setAttribute("data-button-action", "ytd.loadDownloadMenu"); dlButton.setAttribute("title", "Сохранить видео на жесткий диск"); dlButton.setAttribute("type", "button"); dlButton.setAttribute("onclick", "; return false;"); ytd.dlButton = dlButton; var dlButtonContent = document.createElement("span"); dlButtonContent.className = "yt-uix-button-content"; dlButtonContent.appendChild(document.createTextNode("Скачать")); dlButton.appendChild(dlButtonContent); dlButton.appendChild(document.createTextNode(" ")); var dlButtonArrow = document.createElement("img"); dlButtonArrow.className = "yt-uix-button-arrow"; dlButtonArrow.setAttribute("src", "http://s.ytimg.com/yt/img/pixel-vfl73.gif"); dlButtonArrow.setAttribute("alt", ""); dlButton.appendChild(dlButtonArrow); var dlButtonMenu = document.createElement("div"); dlButtonMenu.className = " yt-uix-button-menu"; dlButtonMenu.style.display = "none"; dlButtonMenu.style.backgroundColor = "#EBEBEB"; dlButton.appendChild(dlButtonMenu); var watchEmbed = getElem("watch-embed"); watchEmbed.parentNode.insertBefore(dlButton, watchEmbed); watchEmbed.parentNode.insertBefore(document.createTextNode(" "), watchEmbed); if (document.documentElement.getAttribute("lang") == "fr") { var watchShare = document.getElementById("watch-share"); if (watchShare) { var img = watchShare.getElementsByTagName("img")[0]; if (img) img.style.display = "none"; } } var swfArgs = new Array(); var moviePlayer = document.getElementById("movie_player"); var fmtStreamMap = false; var videoId; var token; if (yt.getConfig("SWF_CONFIG")) { swfArgs = yt.getConfig("SWF_CONFIG").args; fmtStreamMap = swfArgs["fmt_stream_map"]; if (!fmtStreamMap) return compatError(); fmtStreamMap = fmtStreamMap.split(","); videoId = swfArgs["video_id"]; token = swfArgs["t"]; } else if (moviePlayer) { var flashvars = getElem("movie_player").getAttribute("flashvars").split("&"); for (var flashvar in flashvars) swfArgs[flashvars[flashvar].substring(0, flashvars[flashvar].indexOf("="))] = flashvars[flashvar].substring(flashvars[flashvar].indexOf("=") + 1); fmtStreamMap = swfArgs["fmt_stream_map"]; if (!fmtStreamMap) return compatError(); fmtStreamMap = unescape(fmtStreamMap).split(","); videoId = swfArgs["video_id"]; token = swfArgs["t"]; } else if (typeof videoPlayer == "undefined" && document.getElementById("watch-player") && document.getElementById("watch-player").getElementsByTagName("script").length) { var flashvars = document.getElementById("watch-player").getElementsByTagName("script")[0].textContent; flashvars = flashvars.substring(flashvars.indexOf("flashvars=\\\"") + 12); flashvars = flashvars.substring(0, flashvars.indexOf("\"")).split("&"); for (var flashvar in flashvars) swfArgs[flashvars[flashvar].substring(0, flashvars[flashvar].indexOf("="))] = flashvars[flashvar].substring(flashvars[flashvar].indexOf("=") + 1); fmtStreamMap = swfArgs["fmt_stream_map"]; if (!fmtStreamMap) return compatError(); fmtStreamMap = unescape(fmtStreamMap).split(","); videoId = swfArgs["video_id"]; token = swfArgs["t"]; } var isWidescreen = yt.getConfig('IS_WIDESCREEN'); var title = getElem("watch-headline-title").textContent; if (title) title = title.replace(/^\s\s*/, "").replace(/\s\s*$/, "").replace(/"/g, "-").replace(/%/g, "%25").replace(/=/g, "%3D").replace(/,/g, "%2C").replace(/&/g, "%26").replace(/#/g, "%23").replace(/\?/g, "%3F").replace(/\//g, "_").replace(/\\/g, "_").replace(/ /g, "+"); ytd.title = title; dlButton.setAttribute("data-ytd-title", title); if (videoId && token) { ytd.formats[5].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=5"; ytd.formats[5].guessed = true; ytd.formats[18].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=18"; ytd.formats[18].guessed = true; ytd.formats[13].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=13"; ytd.formats[13].guessed = true; ytd.formats[17].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=17"; ytd.formats[17].guessed = true; ytd.formats[36].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=36"; ytd.formats[36].guessed = true; if (yt.getConfig('IS_HD_AVAILABLE')) { ytd.formats[22].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=22"; ytd.formats[22].guessed = true; } } var dlLink; if ((dlLink = document.getElementById("download-hq-button")) && (dlLink = dlLink.getAttribute("href")) && dlLink.indexOf(".youtube.com/videoplayback?") + 1) { var url = dlLink.split('?')[0]; var args = dlLink.substring(url.length + 1).split('&'); var titleChangable = true; var fmt = 18; if (title) for (var arg in args) { arg = args[arg]; if (arg.indexOf("sparams=") == 0) { var sparams = unescape(arg.substring(8)).split(','); for (var sparam in sparams) if (sparams[sparam] == "title") { titleChangable = false; break; } break; } } dlLink = url + "?"; for (var arg in args) { if (title && titleChangable && args[arg].indexOf("title=") == 0) args[arg] = "title=" + title; else if (args[arg].indexOf("itag=") == 0) if (!(fmt = parseInt(args[arg].substring(5)))) fmt = 18; dlLink += args[arg]; if (arg .xb.substring(formats5.xb.indexOf("?") + 1).split("&"); var fmt; for (var j = 0; j .xb + "&title=" + (title ? title : "video"); ytd.formats[fmt].guessed = false; } else ytd.formats[fmt] = { fmt: fmt, quality: { level: ytd.formats[18].quality.level + 0.1, description: formats5.u }, url: formats5.xb + "&title=" + (title ? title : "video") }; } } else compatError(); if (fmtStreamMap) if (fmtStreamMap[0] == "") { if (!videoId || !token) return compatError(); ytd.formats[0].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token; ytd.formats[0].guessed = true; } else { var lastQLevel = 99; for (var fmt in fmtStreamMap) { fmt = fmtStreamMap[fmt].split("|"); var url = fmt[1] + "&title=" + (title ? title : "video"); fmt = parseInt(fmt[0]); if (ytd.formats[fmt]) { lastQLevel = ytd.formats[fmt].quality.level; ytd.formats[fmt].url = url; ytd.formats[fmt].guessed = false; } else ytd.formats[fmt] = { fmt: fmt, quality: { level: lastQLevel - 0.5, description: "Unknown Format" }, url: url }; } } var recommended; var highestQLevel = -1; var formatList = new Array(); var formatListMobile = new Array(); ytd.watchedFmts = new Array(); for (var fmt in ytd.formats) if (ytd.formats[fmt].url) { if (isWidescreen && ytd.formats[fmt].mres) ytd.formats[fmt].mres = ytd.formats[fmt].wmres; if (ytd.formats[fmt].mobile) formatListMobile[formatListMobile.length] = ytd.formats[fmt]; else { if (ytd.formats[fmt].quality.level > highestQLevel) { highestQLevel = ytd.formats[fmt].quality.level; recommended = ytd.formats[fmt]; } formatList[formatList.length] = ytd.formats[fmt]; } if (ytd.formats[fmt].guessed) ytd.watchedFmts.push(ytd.formats[fmt].fmt); } if (recommended) recommended.recommended = true; formatList.sort(function(a, b) {return b.quality.level - a.quality.level;}); formatListMobile.sort(function(a, b) {return b.quality.level - a.quality.level;}); dlButton.setAttribute("data-ytd-watched", ytd.watchedFmts.join(" ")); var formatDiv = document.createElement("div"); formatDiv.className = "yt-uix-button-menu-item"; formatDiv.style.fontSize = "smaller"; formatDiv.style.fontWeight = "bold"; formatDiv.style.backgroundColor = "#EFEFEF"; formatDiv.style.cursor = "default"; var formatSpan = document.createElement("span"); if (formatList.length) formatSpan.appendChild(document.createTextNode("Выберите формат для загрузки:")); else formatSpan.appendChild(document.createTextNode("Ошибка: Нет форматов для загрузки.")); formatDiv.appendChild(formatSpan); dlButtonMenu.appendChild(formatDiv); for (var fmt in formatList) dlButtonMenu.appendChild(createDLLink(formatList[fmt])); if (formatListMobile.length) { var mFormatDiv = document.createElement("div"); mFormatDiv.className = "yt-uix-button-menu-item"; mFormatDiv.style.fontSize = "smaller"; mFormatDiv.style.fontWeight = "bold"; mFormatDiv.style.backgroundColor = "#EFEFEF"; mFormatDiv.style.cursor = "default"; var mFormatSpan = document.createElement("span"); mFormatSpan.appendChild(document.createTextNode("Или выберите совместимый с мобильным телефоном формат 3GP:")); mFormatDiv.appendChild(mFormatSpan); dlButtonMenu.appendChild(mFormatDiv); for (var fmt in formatListMobile) dlButtonMenu.appendChild(createDLLink(formatListMobile[fmt])); } if (updateNeeded == true || checkUpdates == true) { var updateDiv = document.createElement("div"); updateDiv.className = "yt-uix-button-menu-item ytd-update-div"; updateDiv.style.fontSize = "smaller"; updateDiv.style.fontWeight = "bold"; updateDiv.style.backgroundColor = "#EFEFEF"; updateDiv.style.cursor = "default"; if (checkUpdates == true) updateDiv.style.display = "none"; var updateSpan = document.createElement("span"); updateSpan.appendChild(document.createTextNode("Доступна новая версия YouTube Video Download")); updateDiv.appendChild(updateSpan); dlButtonMenu.appendChild(updateDiv); var linkA = document.createElement("a"); linkA.className = "yt-uix-button-menu-item ytd-update-link"; linkA.style.marginTop = "1px"; linkA.style.marginBottom = "1px"; if (checkUpdates == true) linkA.style.display = "none"; linkA.setAttribute("href", "http://userscripts.org/scripts/source/62634.user.js"); var linkSpan = document.createElement("span"); linkSpan.appendChild(document.createTextNode("Нажмите здесь для обновления")); linkA.appendChild(linkSpan); dlButtonMenu.appendChild(linkA); } })((new Boolean(false)), (new Boolean(false))); // ]]> // == "collapsed") collapsed = true; if (!collapsed) container.className += " collapsed"; var watchTabs = ["watch-like", "watch-unlike", "watch-share", "watch-embed", "watch-flag"]; for (var i = 0; i ); if (tab) { var tClasses = tab.className.split(" "); for (var j = 0; i == "active") tClasses.splice(i, 1); tab.className = tClasses.join(" "); } } } if (document.getElementById("ytd-watch-download-button").getAttribute("data-ytd-new-version") == "yes") { var updateDivs = document.getElementsByClassName("ytd-update-div"); for (var i = 0; i .style.display = ""; var updateLinks = document.getElementsByClassName("ytd-update-link"); for (var i = 0; i .style.display = ""; } }, }; var dlButton = document.createElement("button"); dlButton.setAttribute("id", "ytd-watch-download-button"); dlButton.className = "yt-uix-button yt-uix-tooltip"; dlButton.setAttribute("data-button-action", "ytd.loadDownloadMenu"); dlButton.setAttribute("title", "Сохранить видео на жесткий диск"); dlButton.setAttribute("type", "button"); dlButton.setAttribute("onclick", "; return false;"); ytd.dlButton = dlButton; var dlButtonContent = document.createElement("span"); dlButtonContent.className = "yt-uix-button-content"; dlButtonContent.appendChild(document.createTextNode("Скачать")); dlButton.appendChild(dlButtonContent); dlButton.appendChild(document.createTextNode(" ")); var dlButtonArrow = document.createElement("img"); dlButtonArrow.className = "yt-uix-button-arrow"; dlButtonArrow.setAttribute("src", "http://s.ytimg.com/yt/img/pixel-vfl73.gif"); dlButtonArrow.setAttribute("alt", ""); dlButton.appendChild(dlButtonArrow); var dlButtonMenu = document.createElement("div"); dlButtonMenu.className = " yt-uix-button-menu"; dlButtonMenu.style.display = "none"; dlButtonMenu.style.backgroundColor = "#EBEBEB"; dlButton.appendChild(dlButtonMenu); var watchEmbed = getElem("watch-embed"); watchEmbed.parentNode.insertBefore(dlButton, watchEmbed); watchEmbed.parentNode.insertBefore(document.createTextNode(" "), watchEmbed); if (document.documentElement.getAttribute("lang") == "fr") { var watchShare = document.getElementById("watch-share"); if (watchShare) { var img = watchShare.getElementsByTagName("img")[0]; if (img) img.style.display = "none"; } } var swfArgs = new Array(); var moviePlayer = document.getElementById("movie_player"); var fmtStreamMap = false; var videoId; var token; if (yt.getConfig("SWF_CONFIG")) { swfArgs = yt.getConfig("SWF_CONFIG").args; fmtStreamMap = swfArgs["fmt_stream_map"]; if (!fmtStreamMap) return compatError(); fmtStreamMap = fmtStreamMap.split(","); videoId = swfArgs["video_id"]; token = swfArgs["t"]; } else if (moviePlayer) { var flashvars = getElem("movie_player").getAttribute("flashvars").split("&"); for (var flashvar in flashvars) swfArgs[flashvars[flashvar].substring(0, flashvars[flashvar].indexOf("="))] = flashvars[flashvar].substring(flashvars[flashvar].indexOf("=") + 1); fmtStreamMap = swfArgs["fmt_stream_map"]; if (!fmtStreamMap) return compatError(); fmtStreamMap = unescape(fmtStreamMap).split(","); videoId = swfArgs["video_id"]; token = swfArgs["t"]; } else if (typeof videoPlayer == "undefined" && document.getElementById("watch-player") && document.getElementById("watch-player").getElementsByTagName("script").length) { var flashvars = document.getElementById("watch-player").getElementsByTagName("script")[0].textContent; flashvars = flashvars.substring(flashvars.indexOf("flashvars=\\\"") + 12); flashvars = flashvars.substring(0, flashvars.indexOf("\"")).split("&"); for (var flashvar in flashvars) swfArgs[flashvars[flashvar].substring(0, flashvars[flashvar].indexOf("="))] = flashvars[flashvar].substring(flashvars[flashvar].indexOf("=") + 1); fmtStreamMap = swfArgs["fmt_stream_map"]; if (!fmtStreamMap) return compatError(); fmtStreamMap = unescape(fmtStreamMap).split(","); videoId = swfArgs["video_id"]; token = swfArgs["t"]; } var isWidescreen = yt.getConfig('IS_WIDESCREEN'); var title = getElem("watch-headline-title").textContent; if (title) title = title.replace(/^\s\s*/, "").replace(/\s\s*$/, "").replace(/"/g, "-").replace(/%/g, "%25").replace(/=/g, "%3D").replace(/,/g, "%2C").replace(/&/g, "%26").replace(/#/g, "%23").replace(/\?/g, "%3F").replace(/\//g, "_").replace(/\\/g, "_").replace(/ /g, "+"); ytd.title = title; dlButton.setAttribute("data-ytd-title", title); if (videoId && token) { ytd.formats[5].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=5"; ytd.formats[5].guessed = true; ytd.formats[18].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=18"; ytd.formats[18].guessed = true; ytd.formats[13].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=13"; ytd.formats[13].guessed = true; ytd.formats[17].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=17"; ytd.formats[17].guessed = true; ytd.formats[36].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=36"; ytd.formats[36].guessed = true; if (yt.getConfig('IS_HD_AVAILABLE')) { ytd.formats[22].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token + "&fmt=22"; ytd.formats[22].guessed = true; } } var dlLink; if ((dlLink = document.getElementById("download-hq-button")) && (dlLink = dlLink.getAttribute("href")) && dlLink.indexOf(".youtube.com/videoplayback?") + 1) { var url = dlLink.split('?')[0]; var args = dlLink.substring(url.length + 1).split('&'); var titleChangable = true; var fmt = 18; if (title) for (var arg in args) { arg = args[arg]; if (arg.indexOf("sparams=") == 0) { var sparams = unescape(arg.substring(8)).split(','); for (var sparam in sparams) if (sparams[sparam] == "title") { titleChangable = false; break; } break; } } dlLink = url + "?"; for (var arg in args) { if (title && titleChangable && args[arg].indexOf("title=") == 0) args[arg] = "title=" + title; else if (args[arg].indexOf("itag=") == 0) if (!(fmt = parseInt(args[arg].substring(5)))) fmt = 18; dlLink += args[arg]; if (arg .xb.substring(formats5.xb.indexOf("?") + 1).split("&"); var fmt; for (var j = 0; j .xb + "&title=" + (title ? title : "video"); ytd.formats[fmt].guessed = false; } else ytd.formats[fmt] = { fmt: fmt, quality: { level: ytd.formats[18].quality.level + 0.1, description: formats5.u }, url: formats5.xb + "&title=" + (title ? title : "video") }; } } else compatError(); if (fmtStreamMap) if (fmtStreamMap[0] == "") { if (!videoId || !token) return compatError(); ytd.formats[0].url = "http://" + document.location.host + "/get_video?video_id=" + videoId + "&t=" + token; ytd.formats[0].guessed = true; } else { var lastQLevel = 99; for (var fmt in fmtStreamMap) { fmt = fmtStreamMap[fmt].split("|"); var url = fmt[1] + "&title=" + (title ? title : "video"); fmt = parseInt(fmt[0]); if (ytd.formats[fmt]) { lastQLevel = ytd.formats[fmt].quality.level; ytd.formats[fmt].url = url; ytd.formats[fmt].guessed = false; } else ytd.formats[fmt] = { fmt: fmt, quality: { level: lastQLevel - 0.5, description: "Unknown Format" }, url: url }; } } var recommended; var highestQLevel = -1; var formatList = new Array(); var formatListMobile = new Array(); ytd.watchedFmts = new Array(); for (var fmt in ytd.formats) if (ytd.formats[fmt].url) { if (isWidescreen && ytd.formats[fmt].mres) ytd.formats[fmt].mres = ytd.formats[fmt].wmres; if (ytd.formats[fmt].mobile) formatListMobile[formatListMobile.length] = ytd.formats[fmt]; else { if (ytd.formats[fmt].quality.level > highestQLevel) { highestQLevel = ytd.formats[fmt].quality.level; recommended = ytd.formats[fmt]; } formatList[formatList.length] = ytd.formats[fmt]; } if (ytd.formats[fmt].guessed) ytd.watchedFmts.push(ytd.formats[fmt].fmt); } if (recommended) recommended.recommended = true; formatList.sort(function(a, b) {return b.quality.level - a.quality.level;}); formatListMobile.sort(function(a, b) {return b.quality.level - a.quality.level;}); dlButton.setAttribute("data-ytd-watched", ytd.watchedFmts.join(" ")); var formatDiv = document.createElement("div"); formatDiv.className = "yt-uix-button-menu-item"; formatDiv.style.fontSize = "smaller"; formatDiv.style.fontWeight = "bold"; formatDiv.style.backgroundColor = "#EFEFEF"; formatDiv.style.cursor = "default"; var formatSpan = document.createElement("span"); if (formatList.length) formatSpan.appendChild(document.createTextNode("Выберите формат для загрузки:")); else formatSpan.appendChild(document.createTextNode("Ошибка: Нет форматов для загрузки.")); formatDiv.appendChild(formatSpan); dlButtonMenu.appendChild(formatDiv); for (var fmt in formatList) dlButtonMenu.appendChild(createDLLink(formatList[fmt])); if (formatListMobile.length) { var mFormatDiv = document.createElement("div"); mFormatDiv.className = "yt-uix-button-menu-item"; mFormatDiv.style.fontSize = "smaller"; mFormatDiv.style.fontWeight = "bold"; mFormatDiv.style.backgroundColor = "#EFEFEF"; mFormatDiv.style.cursor = "default"; var mFormatSpan = document.createElement("span"); mFormatSpan.appendChild(document.createTextNode("Или выберите совместимый с мобильным телефоном формат 3GP:")); mFormatDiv.appendChild(mFormatSpan); dlButtonMenu.appendChild(mFormatDiv); for (var fmt in formatListMobile) dlButtonMenu.appendChild(createDLLink(formatListMobile[fmt])); } if (updateNeeded == true || checkUpdates == true) { var updateDiv = document.createElement("div"); updateDiv.className = "yt-uix-button-menu-item ytd-update-div"; updateDiv.style.fontSize = "smaller"; updateDiv.style.fontWeight = "bold"; updateDiv.style.backgroundColor = "#EFEFEF"; updateDiv.style.cursor = "default"; if (checkUpdates == true) updateDiv.style.display = "none"; var updateSpan = document.createElement("span"); updateSpan.appendChild(document.createTextNode("Доступна новая версия YouTube Video Download")); updateDiv.appendChild(updateSpan); dlButtonMenu.appendChild(updateDiv); var linkA = document.createElement("a"); linkA.className = "yt-uix-button-menu-item ytd-update-link"; linkA.style.marginTop = "1px"; linkA.style.marginBottom = "1px"; if (checkUpdates == true) linkA.style.display = "none"; linkA.setAttribute("href", "http://userscripts.org/scripts/source/62634.user.js"); var linkSpan = document.createElement("span"); linkSpan.appendChild(document.createTextNode("Нажмите здесь для обновления")); linkA.appendChild(linkSpan); dlButtonMenu.appendChild(linkA); } })((new Boolean(false)), (new Boolean(false))); // ]]>
Contacts
Виталий Рыгованов
Main style: Techno
Favorite styles: Electro Techno, Tech House
Location: Ukraine
Resident: Укроп (Sverdlovsk)
Was just once: Живот (Harkov), SoundStreet (Sverdlovsk), Бриз (Sverdlovsk), Saxon (Krasnyi Luch)