diff --git a/starters/chrome/extension/lib/chatgpt.js b/starters/chrome/extension/lib/chatgpt.js index 9349e28da..eabe3b5b7 100644 --- a/starters/chrome/extension/lib/chatgpt.js +++ b/starters/chrome/extension/lib/chatgpt.js @@ -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() { diff --git a/starters/chrome/extension/manifest.json b/starters/chrome/extension/manifest.json index a376da897..4a7ea300b 100644 --- a/starters/chrome/extension/manifest.json +++ b/starters/chrome/extension/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "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": { "16": "icons/icon16.png",