mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 07:30:59 -07:00
Check Cookie
This commit is contained in:
parent
09902eb7ef
commit
c639a18ec8
1 changed files with 8 additions and 0 deletions
|
@ -21,3 +21,11 @@ if (navigator.userAgent.indexOf('Edge') != -1) {
|
||||||
'Currently, Misskey cannot run correctly on your browser (Microsoft Edge). ' +
|
'Currently, Misskey cannot run correctly on your browser (Microsoft Edge). ' +
|
||||||
'Supported browsers: Google Chrome, Mozilla Firefox, Apple Safari, etc');
|
'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…
Reference in a new issue