-
Notifications
You must be signed in to change notification settings - Fork 0
/
disable.js
29 lines (29 loc) · 2.18 KB
/
disable.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$(".comment-mode-enabled").click(function(){
$('#player-api').prependTo( $('#player-mole-container') )
$("#comment-mode-disable").css("display","none");
$("#comment-mode-enable").css("display","inline-block");
$("#player-api").removeAttr('www-core-2x-webp-vfl59ixOR').css("height","");
$("#player-api").removeAttr('www-core-2x-webp-vfl59ixOR').css("width","");
$("#player-api").removeClass('yt-card');
$(".player-api").removeAttr('www-core-2x-webp-vfl59ixOR').css("background","");
$("#watch7-content").removeAttr('www-core-2x-webp-vfl59ixOR').css("margin-top","");
$("#watch7-sidebar-contents").removeAttr('www-core-2x-webp-vfl59ixOR').css("position","");
$("#watch7-sidebar-contents").removeAttr('www-core-2x-webp-vfl59ixOR').css("width","");
$(".video-stream").removeAttr('www-core-2x-webp-vfl59ixOR').css("width","");
$(".video-stream").removeAttr('www-player-2x-webp-vflgpIFfP').css("height","");
$(".html5-video-container").removeAttr('www-player-2x-webp-vflgpIFfP').css("height","360px");
$(".ytp-right-controls").removeAttr('www-core-2x-webp-vfl59ixOR').css("position","");
$(".ytp-right-controls").removeAttr('www-core-2x-webp-vfl59ixOR').css("left","");
$(".html5-video-player").removeAttr('www-core-2x-webp-vfl59ixOR').css("height","");
$(".html5-main-video").removeAttr('www-core-2x-webp-vfl59ixOR').css("height","");
$(".ytp-progress-bar-container").css("width","");
$(".ytp-progress-list").removeAttr('www-core-2x-webp-vfl59ixOR').css("width","");
$(".ytp-progress-bar").removeAttr('www-core-2x-webp-vfl59ixOR').css("width","");
$("#page").removeAttr('www-core-2x-webp-vfl59ixOR').css("padding-top","");
$(".ytp-size-button").removeAttr('www-player-2x-webp-vflgpIFfP').css("display","");
$(".ytp-subtitles-button").removeAttr('www-core-2x-webp-vfl59ixOR').css("display", "");
$(".ytp-fullscreen-button").removeAttr('www-core-2x-webp-vfl59ixOR').css("display", "");
$(".watch-sidebar-gutter").removeAttr('www-core-2x-webp-vfl59ixOR').css("padding-top", "");
$(".watch-sidebar-gutter").removeAttr('www-core-2x-webp-vfl59ixOR').css("padding-right", "");
$(".watch-sidebar-gutter").removeAttr('www-core-2x-webp-vfl59ixOR').css("padding-left", "");
})(window, jQuery);