This commit is contained in:
Hakadao
2022-04-09 03:08:49 +08:00
parent 2f496720e2
commit bc04b910e8
2 changed files with 9 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
/* eslint-disable no-console */
import { onMessage } from 'webext-bridge'
import { createApp } from 'vue'
import { createI18n } from 'vue-i18n'
// Firefox `browser.tabs.executeScript()` requires scripts return a primitive value
@@ -29,10 +28,6 @@ import { getCookie, i18n, setCookie, SVG_ICONS } from '~/utils'
setCookie('i-wanna-go-back', '-1', 1)
location.reload()
}
else {
document.querySelectorAll('script').forEach(script => script.remove())
document.body.innerHTML = ''
}
const container = document.createElement('div')
const root = document.createElement('div')

View File

@@ -22,6 +22,15 @@ button {
}
}
// hide the original home page
.login-tip {
display: none;
}
body > #i_cecream,
#i_cecream * {
visibility: hidden !important;
width: 0;
height: 0;
overflow: hidden !important;
pointer-events: none !important;
}