Skip to content

Instantly share code, notes, and snippets.

View jcsteh's full-sized avatar

James Teh jcsteh

View GitHub Profile
@jcsteh
jcsteh / SpotifyGlobalKeys.ahk
Last active July 24, 2024 16:40
AutoHotkey script to control Spotify with global keyboard shortcuts
; SpotifyGlobalKeys.ahk:
; AutoHotkey script to control Spotify with global keyboard shortcuts
; Author: James Teh <jamie@jantrid.net>
; Copyright 2017-2018 James Teh
; License: GNU General Public License version 2.0
DetectHiddenWindows, On
; Get the HWND of the Spotify main window.
getSpotifyHwnd() {
@jcsteh
jcsteh / PhabricatorA11yFixes.user.js
Last active November 20, 2018 01:28
User script to improve the accessibility of Phabricator
// ==UserScript==
// @name Phabricator Accessibility Fixes
// @namespace http://axSgrease.nvaccess.org/
// @description Improves the accessibility of Phabricator.
// @author James Teh <jteh@mozilla.com>
// @copyright 2018 Mozilla Corporation
// @license Mozilla Public License version 2.0
// @version 2018.2
// @grant GM_log
// @include https://phabricator.services.mozilla.com/D*
@jcsteh
jcsteh / SchedA11yFixes.user.js
Last active November 21, 2018 00:54
User script to improve the accessibility of Sched
// ==UserScript==
// @name Sched Accessibility Fixes
// @namespace http://axSgrease.nvaccess.org/
// @description Improves the accessibility of Sched.
// @author James Teh <jteh@mozilla.com>
// @copyright 2018 Mozilla Corporation
// @license Mozilla Public License version 2.0
// @version 2018.1
// @grant GM_log
// @include https://*.sched.com/*
@jcsteh
jcsteh / CultureAmpA11yFixes.user.js
Created December 18, 2018 05:16
User script to improve the accessibiliy of Culture Amp
// ==UserScript==
// @name Culture Amp Accessibility Fixes
// @namespace http://axSgrease.nvaccess.org/
// @description Improves the accessibility of Culture Amp.
// @author James Teh <jteh@mozilla.com>
// @copyright 2018 Mozilla Corporation
// @license Mozilla Public License version 2.0
// @version 2018.1
// @grant GM_log
// @include https://*.cultureamp.com/*
@jcsteh
jcsteh / SearchfoxA11yFixes.user.js
Created December 19, 2018 06:39
User script to improve the accessibility of Searchfox
// ==UserScript==
// @name Searchfox Accessibility Fixes
// @namespace http://axSgrease.nvaccess.org/
// @description Improves the accessibility of Searchfox.
// @author James Teh <jteh@mozilla.com>
// @copyright 2018 Mozilla Corporation
// @license Mozilla Public License version 2.0
// @version 2018.1
// @grant GM_log
// @include https://searchfox.org/*
@jcsteh
jcsteh / GreenhouseA11yFixes.user.js
Created January 30, 2019 03:50
User script to improve the accessibility of Greenhouse
// ==UserScript==
// @name Greenhouse Accessibility Fixes
// @namespace http://axSgrease.nvaccess.org/
// @description Improves the accessibility of Greenhouse.
// @author James Teh <jteh@mozilla.com>
// @copyright 2019 Mozilla Corporation
// @license Mozilla Public License version 2.0
// @version 2019.1
// @grant GM_log
// @include https://*.greenhouse.io/*
@jcsteh
jcsteh / ExpensifyA11yFixes.user.js
Last active October 16, 2019 01:40
User script to improve the accessibility of Expensify
// ==UserScript==
// @name Expensify Accessibility Fixes
// @namespace http://axSgrease.nvaccess.org/
// @description Improves the accessibility of Expensify.
// @author James Teh <jteh@mozilla.com>
// @copyright 2019 Mozilla Corporation, Derek Riemer
// @license Mozilla Public License version 2.0
// @version 2019.1
// @grant GM_log
// @include https://www.expensify.com/*
@jcsteh
jcsteh / AppleMusicA11yFixes.user.js
Last active October 24, 2019 11:06
User script to improve the accessibility of Apple Music
// ==UserScript==
// @name Apple Music Accessibility Fixes
// @namespace http://axSgrease.nvaccess.org/
// @description Improves the accessibility of Apple Music.
// @author James Teh <jteh@mozilla.com>
// @copyright 2019 Mozilla Corporation, Derek Riemer
// @license Mozilla Public License version 2.0
// @version 2019.1
// @grant GM_log
// @include https://beta.music.apple.com/*
@jcsteh
jcsteh / GitHubA11yFixes.user.js
Created October 24, 2019 11:08
User script to improve the accessibility of GitHub (mark 2)
// ==UserScript==
// @name GitHub Accessibility Fixes
// @namespace http://axSgrease.nvaccess.org/
// @description Improves the accessibility of GitHub.
// @author James Teh <jteh@mozilla.com>
// @copyright 2019 Mozilla Corporation, Derek Riemer
// @license Mozilla Public License version 2.0
// @version 2019.1
// @include https://github.com/*
// ==/UserScript==
@jcsteh
jcsteh / ZoomGlobalKeys.ahk
Last active March 23, 2020 22:51
AutoHotkey script to control Zoom with global keyboard shortcuts
; ZoomGlobalKeys.ahk:
; AutoHotkey script to control Zoom with global keyboard shortcuts
; Author: James Teh <jamie@jantrid.net>
; Copyright 2017-2019 James Teh
; License: GNU General Public License version 2.0
#!m::
{
ControlSend, , !a, ahk_class ZPContentViewWndClass
Return