diff options
author | suVene | 2008-12-07 22:52:49 +0000 |
---|---|---|
committer | suVene | 2008-12-07 22:52:49 +0000 |
commit | d8273ef0c1d25bc9c6f318b82256a2bb1e006fe0 (patch) | |
tree | 3b0d2b8c8c84791a51a342cbc38d23904bb243ac | |
parent | ec4eacbce1de760d1f1f16935bf40d40305142ed (diff) | |
download | vimperator-plugins-d8273ef0c1d25bc9c6f318b82256a2bb1e006fe0.tar.bz2 |
*libty.js bug fix.
*それに伴うmulti_requester.jsの修正
*subject_test.js rename to subject_hatelabo_bottle.js(途中)
*etc.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/branches/1.2@26085 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r-- | multi_requester.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/multi_requester.js b/multi_requester.js index ee368d6..4ec0ee1 100644 --- a/multi_requester.js +++ b/multi_requester.js @@ -4,10 +4,10 @@ * @description request, and the result is displayed to the buffer. * @description-ja リクエストの結果をバッファに出力する。 * @author suVene suvene@zeromemory.info - * @version 0.4.2 + * @version 0.4.3 * @minVersion 1.2 * @maxVersion 1.2 - * Last Change: 07-Dec-2008. + * Last Change: 08-Dec-2008. * ==/VimperatorPlugin== * * HEAD COMMENT {{{ @@ -360,7 +360,7 @@ var MultiRequester = { try { - if (!res.isSuccess || res.responseText == '') throw 'response is fail or null'; + if (!res.isSuccess() || res.responseText == '') throw 'response is fail or null'; url = res.req.url; escapedUrl = liberator.util.escapeHTML(url); @@ -372,7 +372,7 @@ var MultiRequester = { return; } - doc = res.getHTMLDocument(xpath); + doc = res.getHTMLDocument(xpath, null, res.req.options.siteinfo.ignoreTags); if (!doc) throw 'XPath result is undefined or null.: XPath -> ' + xpath; html = '<a href="' + escapedUrl + '" class="hl-Title" target="_self">' + escapedUrl + '</a>' + |