YouTube Top Header Position Relative

Set YouTube's top header position (the top header will no longer scroll along with the page)

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

  1. // ==UserScript==
  2. // @name YouTube Top Header Position Relative
  3. // @namespace drev@greasemonkey
  4. // @description Set YouTube's top header position (the top header will no longer scroll along with the page)
  5. // @include https://www.youtube.com/watch*
  6. // @version 1
  7. // @grant none
  8. // ==/UserScript==
  9. var masterhead = document.getElementById("masthead-positioner");
  10. masterhead.style.position = 'relative';