Created
September 25, 2012 09:13
-
-
Save rnorth/3780792 to your computer and use it in GitHub Desktop.
Tampermonkey script: Apple Dev ID team selection helper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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