Changeset 24371
- Timestamp:
- 11/20/08 02:40:23 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/vimperator-plugins/trunk/multi_requester.js
r24361 r24371 5 5 * @description-ja リクエストの結果をバッファに出力する。 6 6 * @author suVene suvene@zeromemory.info 7 * @version 0.2. 17 * @version 0.2.2 8 8 * @minVersion 2.0pre 9 9 * @maxVersion 2.0pre … … 483 483 .getService(Components.interfaces.nsITextToSubURI); 484 484 url = url.replace(/%s/g, ttbu.ConvertAndEscape(urlEncode, parsedArgs.str)); 485 $U.log(url );485 $U.log(url + '::' + siteinfo.xpath); 486 486 487 487 if (special) { … … 537 537 url = res.request.url; 538 538 escapedUrl = util.escapeHTML(url); 539 xpath = res.request.options.siteinfo. resultXpath;539 xpath = res.request.options.siteinfo.xpath; 540 540 doc = res.getHTMLDocument(xpath); 541 541 if (!doc) throw 'XPath result is undefined or null.: XPath -> ' + xpath; … … 545 545 (new XMLSerializer()).serializeToString(doc).replace(/<[^>]+>/g, function(all) all.toLowerCase()) + 546 546 '</div>'; 547 $U.echo(new XMLList(html));547 try { $U.echo(new XMLList(html)); } catch (e) { $U.echo(html); } 548 548 549 549 } catch (e) {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)