瀏覽代碼

use decodeURIComponent for easy read

pull/1/head
10sr 12 年之前
父節點
當前提交
2fb8db1c88
共有 1 個文件被更改,包括 2 次插入6 次删除
  1. +2
    -6
      _keysnail.js

+ 2
- 6
_keysnail.js 查看文件

@@ -168,15 +168,11 @@ ext.add("list-url", function(){

if (aa[i].text == "" && aa[i].hasChildNodes() && aa[i].childNodes[0].nodeType == Node.ELEMENT_NODE){
alt = aa[i].childNodes[0].getAttribute("alt");
if (alt != null){
text = aa[i].childNodes[0].nodeName + ": " + alt;
}else{
text = "";
}
text = " " + aa[i].childNodes[0].nodeName + (alt ? ": " + alt : "");
}else{
text = aa[i].text;
}
urls.push([text, aa[i].href]);
urls.push([text, decodeURIComponent(aa[i].href)]);
}

prompt.selector(


Loading…
取消
儲存