Open haroel opened 5 years ago
well, OnlineJS is a good method for listen networkstate. but I think this http://offlinejs.com/online.php is not a good suggestion.
we change this code like that
w.onlinejs._onLineURL = window.location.href.split(/[?#]+/)[0] || window.location.href;
well, OnlineJS is a good method for listen networkstate. but I think this http://offlinejs.com/online.php is not a good suggestion.
we change this code like that