I put the webmaster's metric on my website, saw how and how many people visit it, was surprised at the lack of letters / calls, and I want to make sure that when a visitor leaves the site (the window is closed), he will have a form with the text

" If you haven’t found an answer to your question on our website, ask it right here: " <window for entering text by the visitor> and you will be answered with <enter your email address>

When you click "send" on this form, the text typed in the form should be automatically sent to my mail.

Since I don’t know other languages ​​other than NTML (I’m not planning to study (my work is not web-building), I would like this appliance to be in the form of a script, which I will simply paste into the HTML pages of my site. I would be grateful for the ready-made solution, or the link where it was made, and if you need to pay for the creation of such a script, let your price.

  • this is impossible to do, when you close the page, the maximum you can show a standard browser question, something like - would you like to stay - Grundy
  • one
    Possible duplicate question: onbeforeunload does not display text - Grundy
  • If you do not want to study anything other than html, then you can use constructors, for example , Andrew Hobbit

0