Sticky Search Bar for Google SERP

Keeps Google Search Bar sticky (fixed position) for use in SEO research with GoogleMonkeyR's infinite scroll/ease of use

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Sticky Search Bar for Google SERP
// @description  Keeps Google Search Bar sticky (fixed position) for use in SEO research with GoogleMonkeyR's infinite scroll/ease of use
// @author       Nyk Zukowski
// @include      https://www.google.com/*
// @grant        GM_addStyle
// @version      1.0.1
// @namespace https://greasyfork.org/users/54551
// ==/UserScript==

/*jshint multistr: true */

/* Found these elements by Inspecting in Chrome, applied custom CSS and duplicated here; working cleanly as of 12 July 2016 */

GM_addStyle(" .sfbg { position: fixed; } }");

GM_addStyle(" #searchform { position: fixed !important; margin: -10px 0 0 !important; }");

GM_addStyle(" .div.sfbg, div.sfbgg { height: 80px !important; }");