Skip to content

Instantly share code, notes, and snippets.

View rsc-awhite's full-sized avatar

Andrew White rsc-awhite

View GitHub Profile
// ==UserScript==
// @name Hamish and Andy merch site closed bypass
// @description Bypasses closed sign. Fast and loose baby!
// @author Whitey
// @include https://merch.hamishandandy.com/*
// @run-at document-end
// ==/UserScript==
window.addEventListener('load', function() {
console.log("HandA script loaded fine");
styles = document.body.getElementsByTagName("style"); for (x=0;x<styles.length;x++) { if (styles[x].innerHTML.indexOf("overlay-bg.png") !== -1) { document.body.removeChild(document.body.getElementsByTagName("style")[x]) } }
/*
# Author: Andrew White
# Last updated: 26/06/2017
# Purpose: Overrides generic icons in Munki update page depending on regex match.
*/
// Future version probably has proper functions, icon array, nicer regex matches
dir = "custom/resources/"
apple_icon = dir + "macos-update.png";

Keybase proof

I hereby claim:

  • I am rsc-awhite on github.
  • I am whiteydude (https://keybase.io/whiteydude) on keybase.
  • I have a public key ASB2TiwfhOMjCAf_PwRiuRQTtcJnGQLDrjeeI-Iqurtxvgo

To claim this, I am signing this object: