Skip to content

Commit

Permalink
Added chatgpt.hideHeader() ↞ [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 May 9, 2024
1 parent 5659498 commit 56e7500
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions starters/chrome/extension/lib/chatgpt.js
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,8 @@ const chatgpt = { // eslint-disable-line no-redeclare
return navigator.languages[0] || navigator.language || navigator.browserLanguage ||
navigator.systemLanguage || navigator.userLanguage || ''; },

hideHeader: function() { chatgpt.getHeaderDiv().style.display = 'none'; },

history: {
isLoaded: function() {
return new Promise(resolve => {
Expand Down

0 comments on commit 56e7500

Please sign in to comment.