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

目前为 2016-07-12 提交的版本。查看 最新版本

// ==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 0.0.1.20160712205409
// @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 ( "                                     \
    .big div.tsf-p, form>div.tsf-p {                \
	  position: fixed;                              \
      margin: -10px 0 0 !important;                 \
	}                                               \
" );

GM_addStyle ( "                                     \
    .gb_T {                                         \
	  position: fixed !important;                   \
      right: 10px !important;                       \
      z-index:100000 !important;                    \
	}                                               \
" );