mirror of https://github.com/torappinfo/uweb
rebuilding site Thu Sep 17 12:22:43 PM CST 2020
parent
35f9934f63
commit
8cf5ac68d6
@ -0,0 +1,13 @@
|
|||||||
|
(function(){let d=document;
|
||||||
|
let ea=d.querySelectorAll('input:checked');
|
||||||
|
let s="";
|
||||||
|
for(let i=0;i<ea.length;i++){
|
||||||
|
let sibling = ea[i].nextElementSibling;
|
||||||
|
if(sibling==null) sibling=ea[i].previousElementSibling;
|
||||||
|
let str = sibling.alt;
|
||||||
|
if(null==str) str=sibling.src;
|
||||||
|
if(null==str) str=sibling.href;
|
||||||
|
s = s+str+"\n";
|
||||||
|
}
|
||||||
|
return s;
|
||||||
|
})()
|
@ -0,0 +1,12 @@
|
|||||||
|
{let d=document;
|
||||||
|
let ea=d.querySelectorAll('input:checked');
|
||||||
|
let s="";
|
||||||
|
for(let i=0;i<ea.length;i++){
|
||||||
|
let sibling = ea[i].nextElementSibling;
|
||||||
|
if(sibling==null) sibling=ea[i].previousElementSibling;
|
||||||
|
let str = sibling.alt;
|
||||||
|
if(null==str) str=sibling.src;
|
||||||
|
if(null==str) str=sibling.href;
|
||||||
|
s = s+str+"\n";
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue