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

  1. // ==UserScript==
  2. // @name Sticky Search Bar for Google SERP
  3. // @description Keeps Google Search Bar sticky (fixed position) for use in SEO research with GoogleMonkeyR's infinite scroll/ease of use
  4. // @author Nyk Zukowski
  5. // @include https://www.google.com/*
  6. // @grant GM_addStyle
  7. // @version 1.0.1
  8. // @namespace https://greasyfork.org/users/54551
  9. // ==/UserScript==
  10.  
  11. /*jshint multistr: true */
  12.  
  13. /* Found these elements by Inspecting in Chrome, applied custom CSS and duplicated here; working cleanly as of 12 July 2016 */
  14.  
  15. GM_addStyle(" .sfbg { position: fixed; } }");
  16.  
  17. GM_addStyle(" #searchform { position: fixed !important; margin: -10px 0 0 !important; }");
  18.  
  19. GM_addStyle(" .div.sfbg, div.sfbgg { height: 80px !important; }");