$(function(){
var not_first_view_page = sessionStorage.getItem('not_first_view_page');
if(!not_first_view_page){
popup.show();
sessionStorage.setItem('not_first_view_page',true);
}
});
$(function(){
var not_first_view_page = sessionStorage.getItem('not_first_view_page');
if(!not_first_view_page){
popup.show();
sessionStorage.setItem('not_first_view_page',true);
}
});
转载于:https://www.cnblogs.com/ccMelissa/p/6085004.html