Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/unsight.dev. Detect duplicate GitHub issues, areas of concern and more across related rep unsight.dev
ai clustering github machine-learning
Something went wrong. Try again.
358 B · 14 lines
TypeScript
at web-ext
123456789101112131415const forbiddenProtocols = [ 'chrome-extension://', 'chrome-search://', 'chrome://', 'devtools://', 'edge://', 'https://chrome.google.com/webstore',]
export function isForbiddenUrl(url: string): boolean { return forbiddenProtocols.some(protocol => url.startsWith(protocol))}
export const isFirefox = navigator.userAgent.includes('Firefox')