Home  >  Article  >  Web Front-end  >  Sharing several codes for JS closing window or JS closing page_javascript skills

Sharing several codes for JS closing window or JS closing page_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:18:423869browse

The first type: JS automatically closes the window at a scheduled time

Copy the code The code is as follows:


Second type: Click the link to close the JS window without prompt

Copy the code The code is as follows:

Close window

Third type: The window does not prompt for automatic closing js code