I am creating a web app with an input box where the user can write anything, including URLs. I want to create a link preview like Facebook and LinkedIn does:
Scrape the given URL and display its main image and heading, without a server round-trip. Is there a way to do this in the browser?