JSFiddle - React, Tailwind, and code Playground
JavaScript
url = 'http://google.com';
window.cbfunc = function(html) { alert(html.results[0]); };
$.getScript('http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%3D%22' +
encodeURIComponent(url) + '%22&format=xml&diagnostics=true&callback=cbfunc');