mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
fix: #3
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user