EN: Detect the margin of Safety. Determine if it is a secure PWA environment that it can run.
ZH: 判断是否是安全的 PWA 环境。
Usage:
const ret = isSafePWAEnv();console.log(ret); Copy
const ret = isSafePWAEnv();console.log(ret);
Output:
true Copy
true
true 是
EN: Detect the margin of Safety. Determine if it is a secure PWA environment that it can run.
ZH: 判断是否是安全的 PWA 环境。
Usage:
Output: