Skip to content

Instantly share code, notes, and snippets.

@gabesumner
Last active September 17, 2018 15:11
Show Gist options
  • Save gabesumner/b8840df65be899dcfbfe989e29b3d0f4 to your computer and use it in GitHub Desktop.
Save gabesumner/b8840df65be899dcfbfe989e29b3d0f4 to your computer and use it in GitHub Desktop.
DF18 Platform TM Scripts
// ==UserScript==
// @name Heroku Autocomplete Private Space
// @version 0.1
// @match https://dashboard.heroku.com/teams/align-technologies*
// @require https://code.jquery.com/jquery-3.3.1.min.js
// @grant none
// ==/UserScript==
function rewrite() {
$(".alert-warning").hide();
setTimeout(function() {
if ($(".space-name").is(":focus")) {
setTimeout(function() {
$(".space-name").val("invisalign-eu");
}, 1000);
}
rewrite();
}, 300);
}
$(document).ready(function() {
rewrite();
});
// ==UserScript==
// @name Heroku Connect
// @version 0.1
// @match https://connect.heroku.com/*
// @require https://code.jquery.com/jquery-3.3.1.min.js
// @grant none
// ==/UserScript==
function rewrite() {
$(".alert-danger").css("zIndex", "-10");
$(".connection-state").each(function(element) {
if ($(this).text() == '(UNAUTHORIZED)') {
$(this).text("(DEACTIVATED)");
}
});
setTimeout(function() {
rewrite();
}, 300);
}
$(document).ready(function() {
rewrite();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment