error: device not found

請退出adb shell,直接在cmd執行
# Wrong
root@g3:/storage/sdcard0/Download $ adb pull "/LMT icon"
error: device not found
#Right
C:\adb\adb pull "/storage/sdcard0/Download/LMT icon" "LMT icon"
pull: building file list...
pull: /storage/sdcard0/Download/LMT icon/pie10.png -> LMT icon/pie10.png
1 file pulled. 0 files skipped.
550 KB/s (19169 bytes in 0.034s)
view raw demo.sh hosted with ❤ by GitHub

android - adb pull -> device not found - Stack Overflow android - How do i adb pull ALL files of a folder present in SD Card - Stack Overflow

Overwrite Ajax Request

// Method 1
(function(open) {
XMLHttpRequest.prototype.open = function() {
this.addEventListener('load', function() {
console.log('ajax done');
}, false);
open.apply(this, arguments);
};
})(XMLHttpRequest.prototype.open);
// Method 2
(function(open) {
XMLHttpRequest.prototype.open = function() {
this.addEventListener("readystatechange", function() {
if (this.readyState === 4 && this.status === 200) {
console.log('ajax done');
}
}, false);
open.apply(this, arguments);
};
})(XMLHttpRequest.prototype.open);
view raw req.js hosted with ❤ by GitHub

javascript - How can I intercept XMLHttpRequests from a Greasemonkey script? - Stack Overflow XMLHttpRequest.readyState - Web APIs | MDN