-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed light scheme modal BG to use gray rising particles
- Loading branch information
Showing
23 changed files
with
59 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -225,7 +225,7 @@ | |
// @description:zu Ziba itshala lokucabanga okuzoshintshwa ngokuzenzakalelayo uma ukubuka chatgpt.com | ||
// @author Adam Lui | ||
// @namespace https://github.com/adamlui | ||
// @version 2025.1.29.2 | ||
// @version 2025.1.29.3 | ||
// @license MIT | ||
// @icon https://assets.autoclearchatgpt.com/images/icons/openai/black/icon48.png?v=f461c06 | ||
// @icon64 https://assets.autoclearchatgpt.com/images/icons/openai/black/icon64.png?v=f461c06 | ||
|
@@ -243,7 +243,7 @@ | |
// @connect gm.autoclearchatgpt.com | ||
// @connect raw.githubusercontent.com | ||
// @require https://cdn.jsdelivr.net/npm/@kudoai/[email protected]/dist/chatgpt.min.js#sha256-+C0x4BOFQc38aZB3pvUC2THu+ZSvuCxRphGdtRLjCDg= | ||
// @resource brpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/black.min.css?v=727feff#sha256-7ycEGqwB5zKKoaW3olhaFP8yj0KEXe+Ks2kS/4iRGZM= | ||
// @resource grpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/gray.min.css?v=727feff#sha256-7ycEGqwB5zKKoaW3olhaFP8yj0KEXe+Ks2kS/4iRGZM= | ||
// @resource wrpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/white.min.css?v=727feff#sha256-6xBXczm7yM1MZ/v0o1KVFfJGehHk47KJjq8oTktH4KE= | ||
// @grant GM_setValue | ||
// @grant GM_getValue | ||
|
@@ -753,15 +753,15 @@ | |
return style | ||
} | ||
|
||
function addRisingParticles(targetNode) { // requires https://assets.aiwebextensions.com/styles/rising-particles/dist/<black|white>.min.css | ||
function addRisingParticles(targetNode) { // requires https://assets.aiwebextensions.com/styles/rising-particles/dist/<gray|white>.min.css | ||
if (targetNode.querySelector('[id*=particles]')) return | ||
const particlesDivsContainer = document.createElement('div') | ||
particlesDivsContainer.style.cssText = 'position: absolute ; top: 0 ; left: 0 ;' // hug targetNode's top-left corner | ||
+ 'height: 100% ; width: 100% ; border-radius: 15px ; overflow: clip ;' // bound innards exactly by targetNode | ||
+ 'z-index: -1'; // allow interactive elems to be clicked | ||
['sm', 'med', 'lg'].forEach(particleSize => { | ||
const particlesDiv = document.createElement('div') | ||
particlesDiv.id = `${ env.ui.scheme == 'dark' ? 'white' : 'black' }-particles-${particleSize}` | ||
particlesDiv.id = `${ env.ui.scheme == 'dark' ? 'white' : 'gray' }-particles-${particleSize}` | ||
particlesDivsContainer.append(particlesDiv) | ||
}) | ||
targetNode.prepend(particlesDivsContainer) | ||
|
@@ -930,7 +930,7 @@ | |
env.ui.firstLink = chatgpt.getNewChatLink(); | ||
|
||
// Add RISING PARTICLES styles | ||
['brp', 'wrp'].forEach(cssType => document.head.append(createStyle(GM_getResourceText(`${cssType}CSS`)))) | ||
['grp', 'wrp'].forEach(cssType => document.head.append(createStyle(GM_getResourceText(`${cssType}CSS`)))) | ||
|
||
toggles.sidebar.insert() | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 2025.1.29.3 | ||
// @version 2025.1.29.4 | ||
// @license MIT | ||
// @icon https://assets.chatgptautorefresh.com/images/icons/openai/black/icon48.png?v=f11a0a8 | ||
// @icon64 https://assets.chatgptautorefresh.com/images/icons/openai/black/icon64.png?v=f11a0a8 | ||
|
@@ -239,7 +239,7 @@ | |
// @connect gm.chatgptautorefresh.com | ||
// @connect raw.githubusercontent.com | ||
// @require https://cdn.jsdelivr.net/npm/@kudoai/[email protected]/dist/chatgpt.min.js#sha256-+C0x4BOFQc38aZB3pvUC2THu+ZSvuCxRphGdtRLjCDg= | ||
// @resource brpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/black.min.css?v=727feff#sha256-7ycEGqwB5zKKoaW3olhaFP8yj0KEXe+Ks2kS/4iRGZM= | ||
// @resource grpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/gray.min.css?v=727feff#sha256-7ycEGqwB5zKKoaW3olhaFP8yj0KEXe+Ks2kS/4iRGZM= | ||
// @resource wrpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/white.min.css?v=727feff#sha256-6xBXczm7yM1MZ/v0o1KVFfJGehHk47KJjq8oTktH4KE= | ||
// @grant GM_setValue | ||
// @grant GM_getValue | ||
|
@@ -787,15 +787,15 @@ | |
return style | ||
} | ||
|
||
function addRisingParticles(targetNode) { // requires https://assets.aiwebextensions.com/styles/rising-particles/dist/<black|white>.min.css | ||
function addRisingParticles(targetNode) { // requires https://assets.aiwebextensions.com/styles/rising-particles/dist/<gray|white>.min.css | ||
if (targetNode.querySelector('[id*=particles]')) return | ||
const particlesDivsContainer = document.createElement('div') | ||
particlesDivsContainer.style.cssText = 'position: absolute ; top: 0 ; left: 0 ;' // hug targetNode's top-left corner | ||
+ 'height: 100% ; width: 100% ; border-radius: 15px ; overflow: clip ;' // bound innards exactly by targetNode | ||
+ 'z-index: -1'; // allow interactive elems to be clicked | ||
['sm', 'med', 'lg'].forEach(particleSize => { | ||
const particlesDiv = document.createElement('div') | ||
particlesDiv.id = `${ env.ui.scheme == 'dark' ? 'white' : 'black' }-particles-${particleSize}` | ||
particlesDiv.id = `${ env.ui.scheme == 'dark' ? 'white' : 'gray' }-particles-${particleSize}` | ||
particlesDivsContainer.append(particlesDiv) | ||
}) | ||
targetNode.prepend(particlesDivsContainer) | ||
|
@@ -950,7 +950,7 @@ | |
env.ui.firstLink = chatgpt.getNewChatLink(); | ||
|
||
// Add RISING PARTICLES styles | ||
['brp', 'wrp'].forEach(cssType => document.head.append(createStyle(GM_getResourceText(`${cssType}CSS`)))) | ||
['grp', 'wrp'].forEach(cssType => document.head.append(createStyle(GM_getResourceText(`${cssType}CSS`)))) | ||
|
||
toggles.sidebar.insert() | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -225,7 +225,7 @@ | |
// @description:zu Dlala izimpendulo ze-ChatGPT ngokuzenzakalela | ||
// @author Adam Lui | ||
// @namespace https://github.com/adamlui | ||
// @version 2025.1.29.6 | ||
// @version 2025.1.29.7 | ||
// @license MIT | ||
// @icon https://assets.chatgptautotalk.com/images/icons/openai/black/icon48.png?v=9f1ed3c | ||
// @icon64 https://assets.chatgptautotalk.com/images/icons/openai/black/icon64.png?v=9f1ed3c | ||
|
@@ -234,7 +234,7 @@ | |
// @connect gm.chatgptautotalk.com | ||
// @connect raw.githubusercontent.com | ||
// @require https://cdn.jsdelivr.net/npm/@kudoai/[email protected]/dist/chatgpt.min.js#sha256-+C0x4BOFQc38aZB3pvUC2THu+ZSvuCxRphGdtRLjCDg= | ||
// @resource brpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/black.min.css?v=727feff#sha256-7ycEGqwB5zKKoaW3olhaFP8yj0KEXe+Ks2kS/4iRGZM= | ||
// @resource grpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/gray.min.css?v=727feff#sha256-7ycEGqwB5zKKoaW3olhaFP8yj0KEXe+Ks2kS/4iRGZM= | ||
// @resource wrpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/white.min.css?v=727feff#sha256-6xBXczm7yM1MZ/v0o1KVFfJGehHk47KJjq8oTktH4KE= | ||
// @grant GM_setValue | ||
// @grant GM_getValue | ||
|
@@ -738,15 +738,15 @@ | |
return style | ||
} | ||
|
||
function addRisingParticles(targetNode) { // requires https://assets.aiwebextensions.com/styles/rising-particles/dist/<black|white>.min.css | ||
function addRisingParticles(targetNode) { // requires https://assets.aiwebextensions.com/styles/rising-particles/dist/<gray|white>.min.css | ||
if (targetNode.querySelector('[id*=particles]')) return | ||
const particlesDivsContainer = document.createElement('div') | ||
particlesDivsContainer.style.cssText = 'position: absolute ; top: 0 ; left: 0 ;' // hug targetNode's top-left corner | ||
+ 'height: 100% ; width: 100% ; border-radius: 15px ; overflow: clip ;' // bound innards exactly by targetNode | ||
+ 'z-index: -1'; // allow interactive elems to be clicked | ||
['sm', 'med', 'lg'].forEach(particleSize => { | ||
const particlesDiv = document.createElement('div') | ||
particlesDiv.id = `${ env.ui.scheme == 'dark' ? 'white' : 'black' }-particles-${particleSize}` | ||
particlesDiv.id = `${ env.ui.scheme == 'dark' ? 'white' : 'gray' }-particles-${particleSize}` | ||
particlesDivsContainer.append(particlesDiv) | ||
}) | ||
targetNode.prepend(particlesDivsContainer) | ||
|
@@ -895,7 +895,7 @@ | |
env.ui.firstLink = chatgpt.getNewChatLink(); | ||
|
||
// Add RISING PARTICLES styles | ||
['brp', 'wrp'].forEach(cssType => document.head.append(createStyle(GM_getResourceText(`${cssType}CSS`)))) | ||
['grp', 'wrp'].forEach(cssType => document.head.append(createStyle(GM_getResourceText(`${cssType}CSS`)))) | ||
|
||
toggles.sidebar.insert() | ||
|
||
|
Oops, something went wrong.