Last active
July 1, 2017 20:33
-
-
Save aa65535/8201058 to your computer and use it in GitHub Desktop.
Matrix67首页
This file contains hidden or 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
| 0000000000000000000000000000011111111111111111000000001000000000000000100000000101111111111111010000000010111111111111101000000001011011111111110100000000101110111111111010000000010111101111111101000000001011101111111110100000000101101110000111010000000010111111111111101000000001011111111111110100000000101111111111111010000000010000000000000001000000001111111111111111100000000000000000000000000000 | |
| 0000110000111100001100000000011000111111000110000000000100011111100010000000000011001111110011000000000001111111111111100000000000001111111111000000000000000011111111000000000000000011111111110000000000001111111111111111000000000000111111111100000000000000011111111110000000000000111111111111110000000000011011111111011000000000001000111111000100000000001100000110000011000000000110000000000001100000 |
This file contains hidden or 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
| function mapping(a) { | |
| function inverse(id) { | |
| var xhr = new XMLHttpRequest(); | |
| xhr.open('GET', '/change.php?ID=' + id, true); | |
| xhr.setRequestHeader('If-Modified-Since', '0'); | |
| xhr.send(''); | |
| } | |
| for (var i = 0, l = a.length; i < l; i++) { | |
| if (a[i] == '1') { | |
| inverse(i + 1); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment