diff options
Diffstat (limited to 'direct_bookmark.js')
-rw-r--r-- | direct_bookmark.js | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/direct_bookmark.js b/direct_bookmark.js index df8a3e2..03bbb83 100644 --- a/direct_bookmark.js +++ b/direct_bookmark.js @@ -502,18 +502,22 @@ for Migemo search: require XUL/Migemo Extension });
},
tags:function(user,password){
- var returnValue = [];
- var xhr = new XMLHttpRequest();
- xhr.open("GET", "https://www.google.com/bookmarks", false, user, password);
- xhr.send(null);
-
- var html = parseHTML(xhr.responseText);
- var tags = getElementsByXPath('id("sidenav")/div/ul/li/a[count(*)=1]/text()',html);
-
- tags.forEach(function(tag){
- returnValue.push(tag.textContent.match(/\S+/));
- });
- return returnValue;
+ return [];
+
+ // FIXME: NOT WORKS
+ //
+ // var returnValue = [];
+ // var xhr = new XMLHttpRequest();
+ // xhr.open("GET", "https://www.google.com/bookmarks", false, user, password);
+ // xhr.send(null);
+
+ // var html = parseHTML(xhr.responseText);
+ // var tags = getElementsByXPath('id("sidenav")/div/ul/li/a[count(*)=1]/text()',html);
+
+ // tags.forEach(function(tag){
+ // returnValue.push(tag.textContent.match(/\S+/));
+ // });
+ // return returnValue;
},
},
'f': {
|