|
225 | 225 | // @description:zu Ziba itshala lokucabanga okuzoshintshwa ngokuzenzakalelayo uma ukubuka chatgpt.com
|
226 | 226 | // @author Adam Lui
|
227 | 227 | // @namespace https://github.com/adamlui
|
228 |
| -// @version 2025.1.29.2 |
| 228 | +// @version 2025.1.29.3 |
229 | 229 | // @license MIT
|
230 | 230 | // @icon https://assets.autoclearchatgpt.com/images/icons/openai/black/icon48.png?v=f461c06
|
231 | 231 | // @icon64 https://assets.autoclearchatgpt.com/images/icons/openai/black/icon64.png?v=f461c06
|
|
243 | 243 | // @connect gm.autoclearchatgpt.com
|
244 | 244 | // @connect raw.githubusercontent.com
|
245 | 245 | // @require https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@3.5.0/dist/chatgpt.min.js#sha256-+C0x4BOFQc38aZB3pvUC2THu+ZSvuCxRphGdtRLjCDg=
|
246 |
| -// @resource brpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/black.min.css?v=727feff#sha256-7ycEGqwB5zKKoaW3olhaFP8yj0KEXe+Ks2kS/4iRGZM= |
| 246 | +// @resource grpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/gray.min.css?v=727feff#sha256-7ycEGqwB5zKKoaW3olhaFP8yj0KEXe+Ks2kS/4iRGZM= |
247 | 247 | // @resource wrpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/white.min.css?v=727feff#sha256-6xBXczm7yM1MZ/v0o1KVFfJGehHk47KJjq8oTktH4KE=
|
248 | 248 | // @grant GM_setValue
|
249 | 249 | // @grant GM_getValue
|
|
753 | 753 | return style
|
754 | 754 | }
|
755 | 755 |
|
756 |
| - function addRisingParticles(targetNode) { // requires https://assets.aiwebextensions.com/styles/rising-particles/dist/<black|white>.min.css |
| 756 | + function addRisingParticles(targetNode) { // requires https://assets.aiwebextensions.com/styles/rising-particles/dist/<gray|white>.min.css |
757 | 757 | if (targetNode.querySelector('[id*=particles]')) return
|
758 | 758 | const particlesDivsContainer = document.createElement('div')
|
759 | 759 | particlesDivsContainer.style.cssText = 'position: absolute ; top: 0 ; left: 0 ;' // hug targetNode's top-left corner
|
760 | 760 | + 'height: 100% ; width: 100% ; border-radius: 15px ; overflow: clip ;' // bound innards exactly by targetNode
|
761 | 761 | + 'z-index: -1'; // allow interactive elems to be clicked
|
762 | 762 | ['sm', 'med', 'lg'].forEach(particleSize => {
|
763 | 763 | const particlesDiv = document.createElement('div')
|
764 |
| - particlesDiv.id = `${ env.ui.scheme == 'dark' ? 'white' : 'black' }-particles-${particleSize}` |
| 764 | + particlesDiv.id = `${ env.ui.scheme == 'dark' ? 'white' : 'gray' }-particles-${particleSize}` |
765 | 765 | particlesDivsContainer.append(particlesDiv)
|
766 | 766 | })
|
767 | 767 | targetNode.prepend(particlesDivsContainer)
|
|
930 | 930 | env.ui.firstLink = chatgpt.getNewChatLink();
|
931 | 931 |
|
932 | 932 | // Add RISING PARTICLES styles
|
933 |
| - ['brp', 'wrp'].forEach(cssType => document.head.append(createStyle(GM_getResourceText(`${cssType}CSS`)))) |
| 933 | + ['grp', 'wrp'].forEach(cssType => document.head.append(createStyle(GM_getResourceText(`${cssType}CSS`)))) |
934 | 934 |
|
935 | 935 | toggles.sidebar.insert()
|
936 | 936 |
|
|
0 commit comments