Closed BelleNottelling closed 7 years ago
Can you give more context here?
@BenNottelling bump
I was thinking about adding the coinhive script, but I don't really want to have the site marked as "malware/viruses" so I'll pass on it
Hi! Thank you for this great proxy! How can I add any additional content to proxified page? E.g. banner or text (and google analytics code maybe), preferably to header?
@colroyce The answer is probably too complicated to explain in a GitHub issue, but the most straightforward way would be to use the DOMDocument APIs to append content to $doc
right before the $doc->saveHTML();
call at the bottom of the script.
Oh, thank you so much!
@colroyce You're welcome!
How can content (like an image) be added to an HTML
<body> </body>
?