Skip to content

Instantly share code, notes, and snippets.

@alexastall
Created October 15, 2019 13:46
Show Gist options
  • Save alexastall/6329160c5d00db6cd5b74682dea64993 to your computer and use it in GitHub Desktop.
Save alexastall/6329160c5d00db6cd5b74682dea64993 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Remove Azure Portal Blocker
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Remove the Azure timeout screen blocker
// @author Alex Astall
// @match https://portal.azure.com/*
// @grant GM_log
// ==/UserScript==
(function() {
'use strict';
function rm() {
var divToRemove = document.getElementsByClassName("fxs-portal-shield")[0];
if (divToRemove) {
GM_log(new Date(), "Azure Block Found");
divToRemove.parentNode.removeChild(divToRemove);
GM_log(new Date(), "Azure Block Removed");
}
}
var timer = setInterval(rm, 2000);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment