I need to make a very basic button, that when clicked sends a particular person an email letting them know that that particular page has a broken pdf embed.
In otherwords, the user view a page containing an embeded pdf. If the pdf is broken, they will click a button. Someone will get an email saying like "page (insert full page url here) has a broken pdf embed". I cannot use PHP because this is to be deployed on a non-php server.
Ok so if I use a mailto tag like this:
<p><a href="javascript:void(window.open('mailto:test@example.com?subject=subject&body=body'))">click here</a></p>
How do I get the full url path into the body of the message?