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
Something went wrong. Try again.
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')