Youtube true 720p player

Allows you to watch youtube videos in not distorted (scaled) 720p resolution

目前为 2016-11-20 提交的版本。查看 最新版本

// ==UserScript==
// @name Youtube true 720p player
// @description Allows you to watch youtube videos in not distorted (scaled) 720p resolution
// @author Jan harvalík [email protected]
// @version 3.0
// @date 2016-11-19
// @include http://www.youtube.com/watch?*
// @include https://www.youtube.com/watch?*
// @grant GM_xmlhttpRequest
// @grant GM_getValue
// @grant GM_setValue
// @grant         GM_info 
// @grant         GM_getValue 
// @grant         GM_log 
// @grant         GM_openInTab
// @grant         GM_registerMenuCommand 
// @grant         GM_setValue 
// @grant         GM_xmlhttpRequest 
// @grant         GM_addStyle 
// @grant         GM_getResourceText 
// @grant         GM_getResourceURL 
// @license     MIT License
// @namespace https://greasyfork.org/users/12627
// @run-at document-end
// ==/UserScript==
GM_addStyle("\
  ::-webkit-scrollbar { display: none !important;}\
  body {background: black;}\
\
  #masthead-positioner { opacity: 0; }\
  #yt-masthead-container {\
    padding-bottom: 0px;\
    padding-top: 0px;\
  }\
  .appbar-hidden #masthead-positioner-height-offset {height: 24px;}\
\
  #masthead-positioner:hover { opacity: 1; }\
\
  .watch-stage-mode .player-width {\
    width: 1280px;\
    left: -640px;}\
  .watch-stage-mode .player-height {\
    height: 720px;\
  }\
#placeholder-player {margin-bottom: 90px;}\
\
.ytp-progress-bar-container {height: 50px;}\
player-api:hover .ytp-progress-bar-container {height: 50px;}\
\
");