Skip to content

Instantly share code, notes, and snippets.

@ihsavru
Created June 17, 2020 06:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ihsavru/2958fd429369309c79ac2cc3f0b68bf0 to your computer and use it in GitHub Desktop.
Save ihsavru/2958fd429369309c79ac2cc3f0b68bf0 to your computer and use it in GitHub Desktop.
A TamperMonkey script to scroll to the bottom of your Pull Requests and reach the checks directly.
// ==UserScript==
// @name Github Scroll to Bottom of PR
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://github.com/*/*/pull/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
window.onload = function(){
window.scrollTo(0,document.body.scrollHeight - 1200);
console.log("You've reached the bottom!");
};
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment