Extract to safe.js
This commit is contained in:
11
src/web/app/safe.js
Normal file
11
src/web/app/safe.js
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* 古いブラウザの検知を行う
|
||||
* ブートローダーとは隔離されているため互いに影響を及ぼすことはない
|
||||
*/
|
||||
|
||||
// Detect an old browser
|
||||
if (!'fetch' in window) {
|
||||
alert(
|
||||
'お使いのブラウザが古いためMisskeyを動作させることができません。' +
|
||||
'バージョンを最新のものに更新するか、別のブラウザをお試しください。');
|
||||
}
|
Reference in New Issue
Block a user