Greasy Fork

Greasy Fork is available in English.

Google Logo Reviver

for the people who hate every single change anybody makes

当前为 2015-09-04 提交的版本,查看 最新版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Google Logo Reviver
// @version      1.1
// @description  for the people who hate every single change anybody makes
// @author       @Anth0ny62
// @match        *://*.google.tld/*
// @match        *://*.google.*/*
// @grant        GM_addStyle
// @require      http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.js
// @namespace http://greasyfork.icu/users/13403
// ==/UserScript==

var css = "._P7b {"                                                                                           +
            "left: 395px!important;"                                                                          +
            "top: 60px!important;"                                                                            +
          "}"                                                                                                 +
          "div#hplogo {"                                                                                      +
            "background: url(https://i.imgur.com/mB72ah9.png) no-repeat!important;"                           +
            "background-size: 285px 173px!important;"                                                         +
            "height: 173px!important;"                                                                        +
            "width: 285px!important;"                                                                         +
            "margin-top: -70px;"                                                                              +
          "}"                                                                                                 +
          ".init img#hplogo { padding-top: 55px!important; }"                                                 +
          "#hplogo div { left: 222px!important; top: 120px!important; }"                                      +
          ".nojsv.logocont #logo {"                                                                           +
            "height: 69.2px!important;"                                                                       +
            "width: 120px!important;"                                                                         +
            "left: -10px!important;"                                                                          +
            "top: -21px!important;"                                                                           +
          "}"                                                                                                 +
            "#logo img { top: 0; }"                                                                           +
          "}"                                                                                                 ;

GM_addStyle(css);


$("#hplogo a:first img").attr("src", "https://i.imgur.com/mB72ah9.png");
$("img#hplogo").attr("src", "https://i.imgur.com/mB72ah9.png");

$(".init img#hplogo").attr("height", "152");

$(".nojsv.logocont #logo img").attr("width", "114");
$(".nojsv.logocont #logo img").attr("height", "69.2");
$(".nojsv.logocont #logo img").attr("src", "https://i.imgur.com/mB72ah9.png");