I have been noticing many websites have an alert message box that popups when you are trying to leave the current page, I know it is done with JavaScript but as I have no idea about JavaScript coding I need your help?
Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.
How to show JavaScript message box before leaving current page?
I don't recommend using this cause it's quite annoying and not very user friendly, but if you need it then power to you 
Find you <body> tag and replace it with <body onbeforeunload="ExitPage();">
Find <head> tag and after it add this J
Replace popup message with your text!

Find you <body> tag and replace it with <body onbeforeunload="ExitPage();">
Find <head> tag and after it add this J
PHP Code:
<script type="text/JavaScript">
function ExitPage()
{
alert ('popup message');
getit()
}
function getit() {
askit = confirm("popup message");
if (askit == true)
alert('popup message');
else
if (askit == false)
alert("popup message");
}
</script>
Replace popup message with your text!
Similar Topics:
- what is the use of off page seo?
- On-Page Optimization?
- On-Page & Off-Page Activities
- How to create the Wikipedia page?
- How to fix Website On Page Issues?
- is there any tool or search operator to check the backlinks of the particular page?
- On-page & Off Page Activities For a Website
- Can Google ads landing page help in the ranking?
- What is the major difference between On page and Off page SEO?
- Best Practices for On-Page SEO
User(s) browsing this thread: 1 Guest(s)