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')
|
||||
|
||||
Reference in New Issue
Block a user