Skip to content

Commit

Permalink
Removed .browser methods from top-level that aren't semantic ↞ [aut…
Browse files Browse the repository at this point in the history
…o-sync from `KudoAI/chatgpt.js`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Jun 23, 2024
1 parent 09c4e93 commit 93b87a3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions starters/chrome/extension/lib/chatgpt.js
Original file line number Diff line number Diff line change
Expand Up @@ -1048,9 +1048,7 @@ const chatgpt = { // eslint-disable-line no-redeclare
}
},

isChromium: function() { return chatgpt.browser.isChromium(); },
isDarkMode: function() { return document.documentElement.classList.toString().includes('dark'); },
isFirefox: function() { return chatgpt.browser.isFirefox(); },
isFullScreen: function() { return chatgpt.browser.isFullScreen(); },

isIdle: function() {
Expand All @@ -1068,7 +1066,6 @@ const chatgpt = { // eslint-disable-line no-redeclare
});},

isLightMode: function() { return document.documentElement.classList.toString().includes('light'); },
isMobileDevice: function() { return chatgpt.browser.isMobile(); },

logout: function() { window.location.href = 'https://chat.openai.com/auth/logout'; },

Expand Down

0 comments on commit 93b87a3

Please sign in to comment.