Extract to safe.js
This commit is contained in:
parent
e82bdf1511
commit
f06adb5e53
4 changed files with 15 additions and 8 deletions
|
|
@ -11,13 +11,6 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
// Detect an old browser
|
||||
if (window.fetch == undefined) {
|
||||
alert(
|
||||
'お使いのブラウザが古いためMisskeyを動作させることができません。' +
|
||||
'バージョンを最新のものに更新するか、別のブラウザをお試しください。');
|
||||
}
|
||||
|
||||
// Get the current url information
|
||||
const Url = new URL(location.href);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue