mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-20 22:16:54 +02:00
map fix
This commit is contained in:
parent
3516070b6e
commit
b6047899a8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue