Procházet zdrojové kódy

use decodeURIComponent for easy read

pull/1/head
10sr před 12 roky
rodič
revize
2fb8db1c88
1 změnil soubory, kde provedl 2 přidání a 6 odebrání
  1. +2
    -6
      _keysnail.js

+ 2
- 6
_keysnail.js Zobrazit soubor

@@ -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(


Načítá se…
Zrušit
Uložit