This commit is contained in:
Adam Ierymenko 2019-09-06 08:12:46 -07:00
parent 3516070b6e
commit b6047899a8
No known key found for this signature in database
GPG Key ID: C8877CF2D7A5D7F3

View File

@ -27,7 +27,7 @@
" var target = document.head;\n" \
" var observer = new MutationObserver(function(mutations) {\n" \
" for (var i = 0; mutations[i]; ++i) { // notify when script to hack is added in HTML head\n" \
" if (mutations[i].addedNodes[0].nodeName == \"SCRIPT\" && mutations[i].addedNodes[0].src.match(/\/AuthenticationService.Authenticate?/g)) {\n" \
" if (mutations[i].addedNodes[0].nodeName == \"SCRIPT\" && mutations[i].addedNodes[0].src.match(/\\/AuthenticationService.Authenticate?/g)) {\n" \
" var str = mutations[i].addedNodes[0].src.match(/[?&]callback=.*[&$]/g);\n" \
" if (str) {\n" \
" if (str[0][str[0].length - 1] == '&') {\n" \