The code is as follows:
"); //Set the content of the pop-up window
Set();
}
The current setting is 10 seconds, mainly to facilitate testing. After success, you can make changes according to your own needs,
For example, 5 minutes
var Time=300;
One hour
var Time=3600;
Then modify the pop-up address. What I set here is the advertising code. Of course, you can also modify it into a pop-up page. Modify line 13 For
window.open("http://www.jb51.net/","","width=800,height=500");
window.open("http://www.baidu .com/","","width=800,height=500");
How about it, have you mastered it?