mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-23 23:02:23 +00:00
map fix
This commit is contained in:
parent
3516070b6e
commit
b6047899a8
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user