mirror of https://github.com/torappinfo/uweb
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
348 B
JavaScript
13 lines
348 B
JavaScript
4 years ago
|
(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;
|
||
4 years ago
|
let str = sibling.getAttribute("href");
|
||
|
if(null==str) str=sibling.getAttribute("src");
|
||
4 years ago
|
s = s+str+"\n";
|
||
|
}
|
||
|
return s;
|
||
|
})()
|