Last active
May 2, 2019 07:19
-
-
Save mtinra/7c9a8abf8d67960da39d62de67a5c09b to your computer and use it in GitHub Desktop.
Revisions
-
mtinra revised this gist
May 2, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ <script> const request = new XMLHttpRequest(); const url = 'https://www.google.co.th/'; function CORSTesting() { if(request) { -
mtinra created this gist
May 2, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ <script> const request = new XMLHttpRequest(); const url = 'https://developer.mozilla.org/'; function CORSTesting() { if(request) { request.open('GET', url, true); request.send(); } } CORSTesting(); </script>