Skip to content

Instantly share code, notes, and snippets.

View AleksandrZhukov's full-sized avatar

Oleksandr Zhukov AleksandrZhukov

  • Finofo
  • Calgary, Canada
View GitHub Profile
<html><head>
<script type="text/javascript">
function loadXMLDoc()
{ var xmlhttp;
var txt, x, i;
if (window.XMLHttpRequest)
{ // код для IE7+, Firefox, Chrome, Opera, Safari
xmlhttp = new XMLHttpRequest();
}
else
// Here You can type your custom JavaScript...
$("#mv_box").find("#video_player").css({"width": "1280px", "height": "720px"})
$("#mv_box").find(".video_box_wrap").removeAttr("style")
el_1 = "<span id='expandInfo' onclick='expandInfo()' style='position: absolute; top: 20px; right: 20px; display: inline-block; font-size: 0px; width: 18px; height: 18px; cursor: pointer; -webkit-user-select: none; transform:rotate(0); background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4BpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE0IDc5LjE1Njc5NywgMjAxNC8wOC8yMC0wOTo1MzowMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJ
// ==UserScript==
// @name ytSpeedControl
// @namespace https://github.com/rmv125
// @include https://www.youtube.com/watch?*
// @version 2
// @grant none
// ==/UserScript==
const CHANGE_STEP = 0.05;
const MIN_VALUE = 1;
[
{
"url": "https://tripmydream.com/media/podborki/8-filmov-o-natsionalnoj-kyhne-raznuh-narodov",
"title": "8 фильмов о национальной кухне разных народов",
"films": [
{
"title": "Джули и Джулия: Готовим счастье по рецепту",
"rating": "Рейтинг: IMDb 7, Кинопоиск 7.6"
},