Drive Music Player width 75%, new header banner

Drive Music Player width 75% new header banner

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name        Drive Music Player  width 75%, new header banner
// @namespace   english
// @description Drive Music Player  width 75%  new header banner
// @include       http://driveplayer.com/*
// @include       *driveplayer.com/*
// @include       http://driveplayer.com*
// @version     1.27
// @run-at document-end
// @grant       GM_addStyle
// ==/UserScript==




var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = '             /*\n*/body .main-container { /*\n*/    width: 75% !important ;/*\n*/}/*\n*//*\n*/body .logo { background: url(https://i.imgur.com/MOk1qK5.png) !important ;/*\n*/    background-size: 55% !important ;/*\n*/    background-position: 1em 1em !important ;/*\n*/    width: 100% !important ;/*\n*/    height: 110px !important ;/*\n*/    background-color: #ccc !important ;/*\n*/    background-repeat: no-repeat !important ;/*\n*/}/*\n*//*\n*/body #footer {/*\n*/    /*\n*/  left: initial !important ;  /*\n*/    margin-left: initial !important ;/*\n*/       margin-top: 3em !important ;/*\n*/    width: 75% !important ;/*\n*/        display: inline-block !important ;/*\n*/    position: relative !important ;/*\n*/       clear: both !important ;/*\n*/}/*\n*//*\n*/.help div {/*\n*/    width: 44% !important ;/*\n*/    float: left !important ;/*\n*/    margin: 0 2em 0 0 !important ;/*\n*/}/*\n*/.help div div {/*\n*/      float: initial !important ;/*\n*/        margin: 0 2.5em 1.5em 0 !important ;/*\n*/}/*\n*/  @media (max-width: 650px){ html body .logo {      padding-top: 0 !important;      height: 80px !important;  background-size: 90% !important ;} }    @media (min-width: 1400px){ html body .logo {     background-size: 566px !important ;} }          ';
document.getElementsByTagName('head')[0].appendChild(style);