Detect when your site is visible to users

tipjs,web_developer

document.onvisibilitychange = function () {
          document.visibilityState === "visible"
             ? (document.title = "👋 Hello")
             : (document.title = "😟 Bye!");
       };

Có thể bạn đã miss một số snippets code

Ajax, call jQuery POST to node.js expressjs

Ajax, call jQuery POST to node.js expressjs

using javascript callback style error handling

Random String

Random String với độ dài tuỳ chọn

kiểm tra email trong javascript

kiểm tra email trong javascript

lỗi access-control-allow-origin và cách khắc phục

lỗi access-control-allow-origin và cách khắc phục trong express, nodejs