diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-11-20 05:47:09 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-11-20 05:47:09 +0900 |
| commit | a8f51e8e8624ecff4171c7af3d210a0f2ec0f337 (patch) | |
| tree | 38d512d5fba5c778e01bd87a5147f9154bf96884 /src | |
| parent | :v: (diff) | |
| download | misskey-a8f51e8e8624ecff4171c7af3d210a0f2ec0f337.tar.gz misskey-a8f51e8e8624ecff4171c7af3d210a0f2ec0f337.tar.bz2 misskey-a8f51e8e8624ecff4171c7af3d210a0f2ec0f337.zip | |
Check Cookie
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/app/safe.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/web/app/safe.js b/src/web/app/safe.js index 6a0f22fe6c..e8482b0573 100644 --- a/src/web/app/safe.js +++ b/src/web/app/safe.js @@ -21,3 +21,11 @@ if (navigator.userAgent.indexOf('Edge') != -1) { '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.'); +} |