Skip to content

Commit

Permalink
Revert "fix: get rid of chrome errors"
Browse files Browse the repository at this point in the history
This reverts commit b924fff.
  • Loading branch information
BlackGlory committed Dec 20, 2023
1 parent b924fff commit 5ae082a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/background/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ waitForLaunch().then(async details => {
})

chrome.webNavigation.onCommitted.addListener(async ({ tabId, url }) => {
const disallowedURLPatterns: RegExp[] = [
/^chrome:/
, /^chrome-extension:/
]
if (disallowedURLPatterns.some(pattern => pattern.test(url))) return

const { fontList, config } = await all({
fontList: getFontList()
, config: getConfig()
Expand Down

0 comments on commit 5ae082a

Please sign in to comment.