[javascript][POC]Extract urls,srcs and hrefs from all HTML elements in any website



  • // javascript code snippet
    urls = []
    $$('*').forEach(element => {
      urls.push(element.src)
      urls.push(element.href)
      urls.push(element.url)
    }); 
    console.log(...new Set(urls)) 
    

Log in to reply