Drive Music Player - width 75%, new header banner

Drive Music Player; width 75%, new header banner

目前为 2018-05-30 提交的版本。查看 最新版本

// ==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     http*://*docs.google.com*
// @version     1.5
// @run-at document-end
// @grant       GM_addStyle
// ==/UserScript==

// Main - Drive Music Player - width 75%, new header banner

var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = '             <!--\n--><!--\n-->body .main-container { <!--\n-->    width: 75% !important ;<!--\n-->}<!--\n--><!--\n--><!--\n-->body .logo {<!--\n-->    background: url(https://i.imgur.com/MOk1qK5.png) no-repeat !important ;<!--\n-->    background-size: 640px !important ;<!--\n-->    background-position: 2em 2em !important ;<!--\n-->    width: 100% !important ;<!--\n-->    height: 110px !important ;<!--\n-->    background-color: #ccc !important ;<!--\n-->    background-repeat: no-repeat !important ;<!--\n-->}<!--\n--><!--\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--><!--\n--><!--\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--><!--\n--><!--\n--><!--\n--><!--\n--><!--\n-->                ';
document.getElementsByTagName('head')[0].appendChild(style);
function my2(){

var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = '             <!--\n--><!--\n-->body .main-container { <!--\n-->    width: 75% !important ;<!--\n-->}<!--\n--><!--\n--><!--\n-->body .logo {<!--\n-->    background: url(https://i.imgur.com/MOk1qK5.png) no-repeat !important ;<!--\n-->    background-size: 640px !important ;<!--\n-->    background-position: 2em 2em !important ;<!--\n-->    width: 100% !important ;<!--\n-->    height: 110px !important ;<!--\n-->    background-color: #ccc !important ;<!--\n-->    background-repeat: no-repeat !important ;<!--\n-->}<!--\n--><!--\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--><!--\n--><!--\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--><!--\n--><!--\n--><!--\n--><!--\n--><!--\n-->                ';
document.getElementsByTagName('head')[0].appendChild(style);
}
document.getElementById('jp_container_1').addEventListener("mouseover", my2);







QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址