Open olivierobert opened 8 months ago
There are some issues in the implementation as the rendered HTML is rendered in the same context as the application page, causing even JS to executed (see the GDPR-related popup):
A better standard alternative is to use an iframe. In this case, the srcdoc
attribute can be used to inject the HTML content to the iframe: https://www.w3schools.com/tags/att_iframe_srcdoc.asp
Issue
While the Google search result content is stored in the database, users can only view the HTML as code. The page is not viewable.
As a result, a user cannot verify if the scraping results are correct.
Expected
The HTML content should be viewable on the application, e.g., there could be a view of the content on a new page or in a modal.