Google Logo Reviver (Firefox)

for the firefox users who hate every single change anybody makes

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Google Logo Reviver (Firefox)
// @version      1.1
// @description  for the firefox users who hate every single change anybody makes
// @author       @Anth0ny62
// @include      htt*://*.google.*/*
// @include      htt*://google.*/*
// @exclude	 /^htt.*://(mail|accounts|support|maps|play|news|drive|translate|plus)\.google\.*.*/
// @exclude      /^htt.*://(mail|accounts|support|maps|play|news|drive|translate|plus)\.google\.co.*/
// @grant        GM_addStyle
// @require      http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.js
// @namespace https://greasyfork.org/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; }"                                                                             +
          ".cur .csb {"                                                                                       +
            "background: url(http://i.imgur.com/cetTIuK.png) no-repeat!important;"                            +
            "background-position: -53px 0!important;"                                                         +
          "}"                                                                                                 +
          ".csb.ch {"                                                                                         +
            "background: url(http://i.imgur.com/cetTIuK.png) no-repeat!important;"                            +
            "background-position: -74px 0!important;"                                                         +
          "}"                                                                                                 +
          ".b.navend .csb {"                                                                                  +
            "background: url(http://i.imgur.com/cetTIuK.png) no-repeat!important;"                            +
            "background-position: -24px 0!important;"                                                         +
          "}"                                                                                                 +
          ".b.navend .csb.ch {"                                                                               +
            "background: url(http://i.imgur.com/cetTIuK.png) no-repeat!important;"                            +
            "background-position:-94px 0!important;"                                                          +
            "width: 73px!important;"                                                                          +
          "}"                                                                                                 +
          "#pnprev .csb.ch {"                                                                                 +
            "background: url(http://i.imgur.com/cetTIuK.png) no-repeat!important;"                            +
            "width: 53px!important;"                                                                          +
          "}"                                                                                                 ;

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");