Relative Content

Tag Archive for javascripthtmlgoogle-chromeview-source

Is there any difference between view-source and queryselector

Introduction When trying to scrape some data on a third party website realized that if I used document.querySelector had different results from what view-source URI scheme. Description The query selector I am using is document.querySelector(‘script[data-target=”react-app.embeddedData”]’);. There is only one script tag matching that query. When I execute that query the innerText of the script tag […]