Skip to content

Instantly share code, notes, and snippets.


Andrew White rsc-awhite

View GitHub Profile

Keybase proof

I hereby claim:

  • I am rsc-awhite on github.
  • I am whiteydude ( on keybase.
  • I have a public key ASB2TiwfhOMjCAf_PwRiuRQTtcJnGQLDrjeeI-Iqurtxvgo

To claim this, I am signing this object:

View icon-overrides.js
# 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";
View merch-handa-min.js
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]) } }
View merch-handa-userscript.js
// ==UserScript==
// @name Hamish and Andy merch site closed bypass
// @description Bypasses closed sign. Fast and loose baby!
// @author Whitey
// @include*
// @run-at document-end
// ==/UserScript==
window.addEventListener('load', function() {
console.log("HandA script loaded fine");