File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
chatgpt/chatgpt-auto-refresh Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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.4.28
223
+ // @version 2025.4.28.1
224
224
// @license MIT
225
225
// @icon https://assets.chatgptautorefresh.com/images/icons/openai/black/icon48.png?v=f11a0a8
226
226
// @icon 64 https://assets.chatgptautorefresh.com/images/icons/openai/black/icon64.png?v=f11a0a8
775
775
// Define UI functions
776
776
777
777
function getScheme ( ) {
778
- return document . documentElement . className
779
- || ( window . matchMedia ?. ( '(prefers-color-scheme: dark)' ) ?. matches ? 'dark' : 'light' )
778
+ return / \b ( l i g h t | d a r k ) \b / . exec ( document . documentElement . className ) ?. [ 1 ]
779
+ || ( window . matchMedia ?. ( '(prefers-color-scheme: dark)' ) ?. matches ? 'dark' : 'light' )
780
780
}
781
781
782
782
function syncConfigToUI ( options ) {
You can’t perform that action at this time.
0 commit comments