Skip to content

Commit

Permalink
Added chatgpt.browser.isBrave() ↞ [auto-sync from KudoAI/chatgpt.js]
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui authored and kudo-sync-bot committed Jun 23, 2024
1 parent 363724d commit b567f07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions starters/chrome/extension/lib/chatgpt.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ const chatgpt = { // eslint-disable-line no-redeclare
isChromium: function() { return navigator.userAgent.includes('Chrome'); },
isChrome: function() { return !!JSON.stringify(navigator.userAgentData?.brands)?.includes('Chrome'); },
isEdge: function() { return navigator.userAgent.includes('Edg'); },
isBrave: function() { return !!JSON.stringify(navigator.userAgentData?.brands)?.includes('Brave'); },
isFirefox: function() { return navigator.userAgent.includes('Firefox'); },

isFullScreen: function() {
Expand Down

0 comments on commit b567f07

Please sign in to comment.