Skip to content

Instantly share code, notes, and snippets.

Yifei Kong yifeikong

Block or report user

Report or block yifeikong

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View AndroidManifext.xml
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
@yifeikong
yifeikong / GM_XHR.js
Created Feb 18, 2017 — forked from monperrus/GM_XHR.js
allows using all Jquery AJAX methods in Greasemonkey
View GM_XHR.js
// allows using all Jquery AJAX methods in Greasemonkey
// inspired from http://ryangreenberg.com/archives/2010/03/greasemonkey_jquery.php
// works with JQuery 1.5
// (c) 2011 Martin Monperrus
// (c) 2010 Ryan Greenberg
//
// Usage:
// $.ajax({
// url: '/p/',
// xhr: function(){return new GM_XHR();},
You can’t perform that action at this time.