整理した
This commit is contained in:
parent
8a279a4656
commit
cf33e483f7
552 changed files with 360 additions and 1311 deletions
|
|
@ -1,31 +0,0 @@
|
|||
/**
|
||||
* ブラウザの検証
|
||||
*/
|
||||
|
||||
// Detect an old browser
|
||||
if (!('fetch' in window)) {
|
||||
alert(
|
||||
'お使いのブラウザが古いためMisskeyを動作させることができません。' +
|
||||
'バージョンを最新のものに更新するか、別のブラウザをお試しください。' +
|
||||
'\n\n' +
|
||||
'Your browser seems outdated. ' +
|
||||
'To run Misskey, please update your browser to latest version or try other browsers.');
|
||||
}
|
||||
|
||||
// Detect Edge
|
||||
if (navigator.userAgent.toLowerCase().indexOf('edge') != -1) {
|
||||
alert(
|
||||
'現在、お使いのブラウザ(Microsoft Edge)ではMisskeyは正しく動作しません。' +
|
||||
'サポートしているブラウザ: Google Chrome, Mozilla Firefox, Apple Safari など' +
|
||||
'\n\n' +
|
||||
'Currently, Misskey cannot run correctly on your browser (Microsoft Edge). ' +
|
||||
'Supported browsers: Google Chrome, Mozilla Firefox, Apple Safari, etc');
|
||||
}
|
||||
|
||||
// Check whether cookie enabled
|
||||
if (!navigator.cookieEnabled) {
|
||||
alert(
|
||||
'Misskeyを利用するにはCookieを有効にしてください。' +
|
||||
'\n\n' +
|
||||
'To use Misskey, please enable Cookie.');
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue