Last active
April 16, 2020 04:27
-
-
Save kikiriko200/1d525f4df3eabfa393b9e7e62830a0bc to your computer and use it in GitHub Desktop.
CORS回避用
This file contains 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
$(document).ready(function(){ | |
Object.defineProperty(document,"referrer",{value:"変更したいURL"}); | |
$.ajax({ | |
url:'読み込みたいURL', | |
type:'GET', | |
dataType:'text', | |
}) | |
.done((data) => { | |
したい処理 | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment