chore: block csdn
This commit is contained in:
parent
a0a8462f5f
commit
a6104635d5
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ export default defineContentScript({
|
||||||
cssInjectionMode: 'ui',
|
cssInjectionMode: 'ui',
|
||||||
runAt: 'document_end',
|
runAt: 'document_end',
|
||||||
matches: ['https://*/*'],
|
matches: ['https://*/*'],
|
||||||
excludeMatches: ['*://localhost/*', '*://127.0.0.1/*'],
|
excludeMatches: ['*://localhost/*', '*://127.0.0.1/*', '*://*.csdn.net/*', '*://*.csdn.com/*'],
|
||||||
async main(ctx) {
|
async main(ctx) {
|
||||||
const store = Remesh.store({
|
const store = Remesh.store({
|
||||||
externs: [LocalStorageImpl, IndexDBStorageImpl, BrowserSyncStorageImpl, PeerRoomImpl, ToastImpl, DanmakuImpl]
|
externs: [LocalStorageImpl, IndexDBStorageImpl, BrowserSyncStorageImpl, PeerRoomImpl, ToastImpl, DanmakuImpl]
|
||||||
|
|
Loading…
Reference in a new issue