Skip to content

Commit

Permalink
Added chatgpt.browser.isEdge() ↞ [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 17, 2024
1 parent 1fc6954 commit db5238e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions starters/chrome/extension/lib/chatgpt.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ const chatgpt = { // eslint-disable-line no-redeclare
isLightMode: function() { return window.matchMedia?.('(prefers-color-scheme: light)')?.matches; },
isDarkMode: function() { return window.matchMedia?.('(prefers-color-scheme: dark)')?.matches; },
isChromium: function() { return navigator.userAgent.includes('Chrome'); },
isEdge: function() { return navigator.userAgent.includes('Edg'); },
isFirefox: function() { return navigator.userAgent.includes('Firefox'); },

isFullScreen: function() {
Expand Down
2 changes: 1 addition & 1 deletion starters/chrome/extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,

Check warning on line 2 in starters/chrome/extension/manifest.json

View workflow job for this annotation

GitHub Actions / eslint

"manifest_version" must be equal to 2
"name": "ChatGPT Extension",
"description": "A Chrome template to start using chatgpt.js like a boss!",
"version": "2024.6.11",
"version": "2024.6.17",
"author": "chatgpt.js",
"icons": {

Check warning on line 7 in starters/chrome/extension/manifest.json

View workflow job for this annotation

GitHub Actions / eslint

"icons" must be array
"16": "icons/icon16.png",
Expand Down

0 comments on commit db5238e

Please sign in to comment.