6 lines
129 B
JavaScript
6 lines
129 B
JavaScript
liste = document.querySelectorAll('#main figcaption a')
|
|
liens = []
|
|
liste.forEach(elem=>{
|
|
liens.push(elem.attributes["href"])
|
|
})
|