Skip to content

Instantly share code, notes, and snippets.

@rnorth
Created September 25, 2012 09:13
Show Gist options
  • Save rnorth/3780792 to your computer and use it in GitHub Desktop.
Save rnorth/3780792 to your computer and use it in GitHub Desktop.
Tampermonkey script: Apple Dev ID team selection helper
// ==UserScript==
// @name Apple Dev ID team selection helper
// @namespace git://gist.github.com/3780792.git
// @version 0.1
// @description Makes the select team dropdown more helpful if you have Dev and Enterprise enrolments for the same firm
// @match https://developer.apple.com/*/selectTeam.action
// @copyright 2012, Richard North
// ==/UserScript==
var options = document.getElementsByTagName("option");
for (var i=0; i < options.length; i++) {
var option = options[i];
if (option.getAttribute("value")=="---INSERT TEAM ID HERE---") {
option.innerHTML = option.innerHTML + " Developer";
} else {
option.innerHTML = option.innerHTML + " Enterprise";
} }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment