monolith
monolith copied to clipboard
How to get just HTML, no <script>
Just ran monolith --no-css --no-images "https://github.com/teamhanko/hanko/blob/main/frontend/elements/README.md#css-shadow-parts"
And got back massive response
Where 70% of response is that <script> tag. I just need to get HTML, not sure how.
Thanks. 🖤
Hello Nikita,
I think --no-js is what you're looking for, it should remove all <script> tags as well. If the site very JS-heavy, try leveraging that Chrome-based pre-render trick described in the README, that should work.