mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-07-04 01:56:37 +08:00
chore: improve compatibility for firefox (#38)
This commit is contained in:
@@ -5,6 +5,7 @@ export * from './fetch-sse'
|
||||
export * from './get-conversation-pairs'
|
||||
export * from './get-possible-element-by-query-selector'
|
||||
export * from './init-session'
|
||||
export * from './is-firefox.mjs'
|
||||
export * from './is-mobile'
|
||||
export * from './is-safari'
|
||||
export * from './limited-fetch'
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
export function isFirefox() {
|
||||
return navigator.userAgent.includes('Firefox')
|
||||
}
|
||||
Reference in New Issue
Block a user