Skip to content

Instantly share code, notes, and snippets.

@danbeam
Created February 26, 2013 00:42
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save danbeam/99e7c5d4e8182ff3762e to your computer and use it in GitHub Desktop.
Save danbeam/99e7c5d4e8182ff3762e to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Tree Reloader
// @namespace tree-reloader
// @description Reloads the tree
// @match http://build.chromium.org/*
// @match https://build.chromium.org/*
// @match http://chromegw.corp.google.com/*
// @match https://chromegw.corp.google.com/*
// @match http://chromium-build.appspot.com/*
// @match https://chromium-build.appspot.com/*
// @version 0.1
// ==/UserScript==
(function(window) {
if (/[&?]reload=(\d+)/.test(window.location.search)) {
window.setTimeout(function() {
window.location.reload();
}, window.parseInt(RegExp.$1, 10) * 1000);
}
}(unsafeWindow));
@fieropheonix6
Copy link

@fieropheonix6
Copy link

repository-open-graph-template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment