forked from mirror/misskey
delete: 警告を削除
This commit is contained in:
parent
6b0eb2f93b
commit
c66ef96ffd
@ -128,27 +128,6 @@ window.onunhandledrejection = null;
|
|||||||
|
|
||||||
removeSplash();
|
removeSplash();
|
||||||
|
|
||||||
//#region Self-XSS 対策メッセージ
|
|
||||||
console.log(
|
|
||||||
`%c${i18n.ts._selfXssPrevention.warning}`,
|
|
||||||
'color: #f00; background-color: #ff0; font-size: 36px; padding: 4px;',
|
|
||||||
);
|
|
||||||
console.log(
|
|
||||||
`%c${i18n.ts._selfXssPrevention.title}`,
|
|
||||||
'color: #f00; font-weight: 900; font-family: "Hiragino Sans W9", "Hiragino Kaku Gothic ProN", sans-serif; font-size: 24px;',
|
|
||||||
);
|
|
||||||
console.log(
|
|
||||||
`%c${i18n.ts._selfXssPrevention.description1}`,
|
|
||||||
'font-size: 16px; font-weight: 700;',
|
|
||||||
);
|
|
||||||
console.log(
|
|
||||||
`%c${i18n.ts._selfXssPrevention.description2}`,
|
|
||||||
'font-size: 16px;',
|
|
||||||
'font-size: 20px; font-weight: 700; color: #f00;',
|
|
||||||
);
|
|
||||||
console.log(i18n.tsx._selfXssPrevention.description3({ link: 'https://misskey-hub.net/docs/for-users/resources/self-xss/' }));
|
|
||||||
//#endregion
|
|
||||||
|
|
||||||
function removeSplash() {
|
function removeSplash() {
|
||||||
const splash = document.getElementById('splash');
|
const splash = document.getElementById('splash');
|
||||||
if (splash) {
|
if (splash) {
|
||||||
|
@ -273,27 +273,6 @@ export async function common(createVue: () => App<Element>) {
|
|||||||
|
|
||||||
removeSplash();
|
removeSplash();
|
||||||
|
|
||||||
//#region Self-XSS 対策メッセージ
|
|
||||||
console.log(
|
|
||||||
`%c${i18n.ts._selfXssPrevention.warning}`,
|
|
||||||
'color: #f00; background-color: #ff0; font-size: 36px; padding: 4px;',
|
|
||||||
);
|
|
||||||
console.log(
|
|
||||||
`%c${i18n.ts._selfXssPrevention.title}`,
|
|
||||||
'color: #f00; font-weight: 900; font-family: "Hiragino Sans W9", "Hiragino Kaku Gothic ProN", sans-serif; font-size: 24px;',
|
|
||||||
);
|
|
||||||
console.log(
|
|
||||||
`%c${i18n.ts._selfXssPrevention.description1}`,
|
|
||||||
'font-size: 16px; font-weight: 700;',
|
|
||||||
);
|
|
||||||
console.log(
|
|
||||||
`%c${i18n.ts._selfXssPrevention.description2}`,
|
|
||||||
'font-size: 16px;',
|
|
||||||
'font-size: 20px; font-weight: 700; color: #f00;',
|
|
||||||
);
|
|
||||||
console.log(i18n.tsx._selfXssPrevention.description3({ link: 'https://misskey-hub.net/docs/for-users/resources/self-xss/' }));
|
|
||||||
//#endregion
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
isClientUpdated,
|
isClientUpdated,
|
||||||
app,
|
app,
|
||||||
|
Loading…
Reference in New Issue
Block a user