Created
October 15, 2019 13:46
-
-
Save alexastall/6329160c5d00db6cd5b74682dea64993 to your computer and use it in GitHub Desktop.
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 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