|
220 | 220 | // @description:zu *NGOKUPHEPHA* susa ukusetha kabusha ingxoxo yemizuzu eyi-10 + amaphutha enethiwekhi ahlala njalo + Ukuhlolwa kwe-Cloudflare ku-ChatGPT.
|
221 | 221 | // @author Adam Lui
|
222 | 222 | // @namespace https://github.com/adamlui
|
223 |
| -// @version 2025.1.29.3 |
| 223 | +// @version 2025.1.29.4 |
224 | 224 | // @license MIT
|
225 | 225 | // @icon https://assets.chatgptautorefresh.com/images/icons/openai/black/icon48.png?v=f11a0a8
|
226 | 226 | // @icon64 https://assets.chatgptautorefresh.com/images/icons/openai/black/icon64.png?v=f11a0a8
|
|
239 | 239 | // @connect gm.chatgptautorefresh.com
|
240 | 240 | // @connect raw.githubusercontent.com
|
241 | 241 | // @require https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@3.5.0/dist/chatgpt.min.js#sha256-+C0x4BOFQc38aZB3pvUC2THu+ZSvuCxRphGdtRLjCDg=
|
242 |
| -// @resource brpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/black.min.css?v=727feff#sha256-7ycEGqwB5zKKoaW3olhaFP8yj0KEXe+Ks2kS/4iRGZM= |
| 242 | +// @resource grpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/gray.min.css?v=727feff#sha256-7ycEGqwB5zKKoaW3olhaFP8yj0KEXe+Ks2kS/4iRGZM= |
243 | 243 | // @resource wrpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/white.min.css?v=727feff#sha256-6xBXczm7yM1MZ/v0o1KVFfJGehHk47KJjq8oTktH4KE=
|
244 | 244 | // @grant GM_setValue
|
245 | 245 | // @grant GM_getValue
|
|
787 | 787 | return style
|
788 | 788 | }
|
789 | 789 |
|
790 |
| - function addRisingParticles(targetNode) { // requires https://assets.aiwebextensions.com/styles/rising-particles/dist/<black|white>.min.css |
| 790 | + function addRisingParticles(targetNode) { // requires https://assets.aiwebextensions.com/styles/rising-particles/dist/<gray|white>.min.css |
791 | 791 | if (targetNode.querySelector('[id*=particles]')) return
|
792 | 792 | const particlesDivsContainer = document.createElement('div')
|
793 | 793 | particlesDivsContainer.style.cssText = 'position: absolute ; top: 0 ; left: 0 ;' // hug targetNode's top-left corner
|
794 | 794 | + 'height: 100% ; width: 100% ; border-radius: 15px ; overflow: clip ;' // bound innards exactly by targetNode
|
795 | 795 | + 'z-index: -1'; // allow interactive elems to be clicked
|
796 | 796 | ['sm', 'med', 'lg'].forEach(particleSize => {
|
797 | 797 | const particlesDiv = document.createElement('div')
|
798 |
| - particlesDiv.id = `${ env.ui.scheme == 'dark' ? 'white' : 'black' }-particles-${particleSize}` |
| 798 | + particlesDiv.id = `${ env.ui.scheme == 'dark' ? 'white' : 'gray' }-particles-${particleSize}` |
799 | 799 | particlesDivsContainer.append(particlesDiv)
|
800 | 800 | })
|
801 | 801 | targetNode.prepend(particlesDivsContainer)
|
|
950 | 950 | env.ui.firstLink = chatgpt.getNewChatLink();
|
951 | 951 |
|
952 | 952 | // Add RISING PARTICLES styles
|
953 |
| - ['brp', 'wrp'].forEach(cssType => document.head.append(createStyle(GM_getResourceText(`${cssType}CSS`)))) |
| 953 | + ['grp', 'wrp'].forEach(cssType => document.head.append(createStyle(GM_getResourceText(`${cssType}CSS`)))) |
954 | 954 |
|
955 | 955 | toggles.sidebar.insert()
|
956 | 956 |
|
|
0 commit comments