Skip to content

Commit

Permalink
Removed no longer needed transparency removal from sidebar div
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed May 24, 2024
1 parent 6a9fcc9 commit bf6e07b
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
// @description:zu Ziba itshala lokucabanga okuzoshintshwa ngokuzenzakalelayo uma ukubuka chatgpt.com
// @author Adam Lui
// @namespace https://github.com/adamlui
// @version 2024.5.23.6
// @version 2024.5.23.7
// @license MIT
// @icon https://media.autoclearchatgpt.com/images/icons/openai/black/icon48.png?a8868ef
// @icon64 https://media.autoclearchatgpt.com/images/icons/openai/black/icon64.png?a8868ef
Expand Down Expand Up @@ -558,8 +558,6 @@
parentToInsertInto.insertBefore(navToggleDiv, childToInsertBefore)

// Tweak styles
parentToInsertInto.style.backgroundColor = ( // hide transparency revealing chat log
chatgpt.isDarkMode() ? '#0d0d0d' : '#f9f9f9' )
if (!firstLink) parentToInsertInto.children[0].style.marginBottom = '5px'
navToggleDiv.style.paddingLeft = '8px'
document.querySelector('#acToggleFavicon').src = `${ // update navicon color in case scheme changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
// @description:zu *NGOKUPHEPHA* susa ukusetha kabusha ingxoxo yemizuzu eyi-10 + amaphutha enethiwekhi ahlala njalo + Ukuhlolwa kwe-Cloudflare ku-ChatGPT.
// @author Adam Lui
// @namespace https://github.com/adamlui
// @version 2024.5.23.6
// @version 2024.5.23.7
// @license MIT
// @match *://chatgpt.com/*
// @match *://chat.openai.com/*
Expand Down Expand Up @@ -596,8 +596,6 @@
parentToInsertInto.insertBefore(navToggleDiv, childToInsertBefore)

// Tweak styles
parentToInsertInto.style.backgroundColor = ( // hide transparency revealing chat log
chatgpt.isDarkMode() ? '#0d0d0d' : '#f9f9f9' )
if (!firstLink) parentToInsertInto.children[0].style.marginBottom = '5px'
navToggleDiv.style.paddingLeft = '8px'
document.querySelector('#arToggleFavicon').src = `${ // update navicon color in case scheme changed
Expand Down
2 changes: 0 additions & 2 deletions chatgpt-infinity/chrome/extension/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@
parentToInsertInto.insertBefore(navToggleDiv, childToInsertBefore)

// Tweak styles
parentToInsertInto.style.backgroundColor = ( // hide transparency revealing chat log
chatgpt.isDarkMode() ? '#0d0d0d' : '#f9f9f9' )
if (!firstLink) parentToInsertInto.children[0].style.marginBottom = '5px'
navToggleDiv.style.paddingLeft = '8px'
document.querySelector('#infToggleFavicon').src = `${ // update navicon color in case scheme changed
Expand Down
2 changes: 0 additions & 2 deletions chatgpt-infinity/edge/extension/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@
parentToInsertInto.insertBefore(navToggleDiv, childToInsertBefore)

// Tweak styles
parentToInsertInto.style.backgroundColor = ( // hide transparency revealing chat log
chatgpt.isDarkMode() ? '#0d0d0d' : '#f9f9f9' )
if (!firstLink) parentToInsertInto.children[0].style.marginBottom = '5px'
navToggleDiv.style.paddingLeft = '8px'
document.querySelector('#infToggleFavicon').src = `${ // update navicon color in case scheme changed
Expand Down
4 changes: 1 addition & 3 deletions chatgpt-infinity/greasemonkey/chatgpt-infinity.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
// @description:zh-TW 從無所不知的 ChatGPT 生成無窮無盡的答案 (用任何語言!)
// @author Adam Lui
// @namespace https://github.com/adamlui
// @version 2024.5.23.8
// @version 2024.5.23.9
// @license MIT
// @match *://chatgpt.com/*
// @match *://chat.openai.com/*
Expand Down Expand Up @@ -622,8 +622,6 @@
parentToInsertInto.insertBefore(navToggleDiv, childToInsertBefore)

// Tweak styles
parentToInsertInto.style.backgroundColor = ( // hide transparency revealing chat log
chatgpt.isDarkMode() ? '#0d0d0d' : '#f9f9f9' )
if (!firstLink) parentToInsertInto.children[0].style.marginBottom = '5px'
navToggleDiv.style.paddingLeft = '8px'
document.querySelector('#infToggleFavicon').src = `${ // update navicon color in case scheme changed
Expand Down
2 changes: 0 additions & 2 deletions chatgpt-infinity/opera/extension/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@
parentToInsertInto.insertBefore(navToggleDiv, childToInsertBefore)

// Tweak styles
parentToInsertInto.style.backgroundColor = ( // hide transparency revealing chat log
chatgpt.isDarkMode() ? '#0d0d0d' : '#f9f9f9' )
if (!firstLink) parentToInsertInto.children[0].style.marginBottom = '5px'
navToggleDiv.style.paddingLeft = '8px'
document.querySelector('#infToggleFavicon').src = `${ // update navicon color in case scheme changed
Expand Down

0 comments on commit bf6e07b

Please sign in to comment.