This page lists the currently trending Google topics. I would like to extract this list using JavaScript.
I know it’s theoretically possible using an iframe but there are complications with that approach (such as knowing when the iframe has loaded, using a separate instance of jQuery for that iframe).
Is there a better approach to the iframe?
The page you linked to is an ATOM feed which is basically an XML file. You can parse it/and or use however you like using something like Google Feed API. There is an example on how to use it here
EDIT : here’s a working JSFiddle that extracts the data you need.