Commits

shl...@52c325ad-5fd0-0310-8a0f-c43feede02cc  committed 9b8b633

Added the perldoc.perl.org script.

  • Participants
  • Parent commits 836a2b6

Comments (0)

Files changed (1)

File greasemonkey-scripts/perldoc.perl.org-get-rid-of-position-fixed.user.js

+// ==UserScript==
+// @name         perldoc.perl.org-get-rid-of-position-fixed
+// @version      0.0.1
+// @description  Gets rid of the floating (position: fixed) header in perldoc.perl.org
+// @author       Shlomi Fish ( http://www.shlomifish.org/ )
+// @include      http://perldoc.perl.org/*
+// ==/UserScript==
+// ===============================================================
+
+//
+// License is X11 License:
+// http://www.opensource.org/licenses/mit-license.php
+
+unsafeWindow.onscroll = null;
+
+unsafeWindow.addEventListener( "load", function () {         
+    unsafeWindow.onscroll = null;
+    }
+);