GM XHR

jQuery AJAX wrapper for GM_xmlhttpRequest

이 스크립트는 직접 설치하는 용도가 아닙니다. 다른 스크립트에서 메타 지시문 // @require https://update.greasyfork.org/scripts/401399/938754/GM%20XHR.js을(를) 사용하여 포함하는 라이브러리입니다.

작성자
RobotOilInc
버전
1.1
생성일
2020-04-19
갱신일
2021-06-08
크기
2.75KB
라이선스
해당 없음

Allows you to use GM_xmlhttpRequest for $.ajax instead of the default XHR. This means that you can do CORS requests, as long as @connect is set properly.


How to use:

// Setup GM_XHR
$.ajaxSetup({ xhr: function() {return new GM_XHR; } });

Contributions

Original version: