projects
/
app.wkmirror
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6428527
)
inject.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 30 Dec 2011 06:52:33 +0000
(14:52 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 30 Dec 2011 06:52:33 +0000
(14:52 +0800)
inject.js
patch
|
blob
|
history
diff --git
a/inject.js
b/inject.js
index
1fa8474
..
f002bdd
100644
(file)
--- a/
inject.js
+++ b/
inject.js
@@
-63,12
+63,12
@@
BrowserMirror = {
xmlhttp.onload=function() {
var ar= [];
- console.log('creating byte array?');
+
var r = new Uint8Array(xmlhttp.response);
for (i=0;i<r.byteLength;i++) {
ar.push(r[i]);
}
- console.log('got array..');
+
console.log(
JSON.stringify ({
requesturl : url,