|
235 | 235 | // @description:zu Thuthukisa iChatGPT ngemodi zesikrini ezibanzi/egcwele/ephezulu + imodi yokuvimbela i-spam. Futhi isebenza ku-perplexity.ai + poe.com! |
236 | 236 | // @author Adam Lui |
237 | 237 | // @namespace https://github.com/adamlui |
238 | | -// @version 2025.4.12 |
| 238 | +// @version 2025.4.12.1 |
239 | 239 | // @license MIT |
240 | 240 | // @icon https://assets.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon48.png?v=844b16e |
241 | 241 | // @icon64 https://assets.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon64.png?v=844b16e |
|
263 | 263 | // @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@f9ebcb0/chromium/extension/lib/ui.js#sha256-Bg82hwdZyJAORV7B6Vg3uIxQ8qnJhCsU624NyjQrKcA= |
264 | 264 | // @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@108d910/chromium/extension/components/buttons.js#sha256-uosIQM9yKBfPTyAi/8TYwsas2uQwgNvLZlf0SxW1Ujw= |
265 | 265 | // @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@d96f327/chromium/extension/components/icons.js#sha256-lrAx3C5E0gugnjUHqw/wLamG7aE9UTCfAJwM0WM8jjo= |
266 | | -// @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@7c41d55/chromium/extension/components/modals.js#sha256-ETMRpzM8O1ymtxnc3dhYcogck069jEysN2PVqFeX74s= |
| 266 | +// @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@7976575/chromium/extension/components/modals.js#sha256-ToVrDha3EyjcngeYKszCnps+IemouGFlHXfOYxCATYQ= |
267 | 267 | // @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@e5eab32/chromium/extension/components/tooltip.js#sha256-Kap4OeexWGm87d8NexOsS3Cy8sJdL/Mxj/CTNCZxox8= |
268 | 268 | // @resource rpgCSS https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@727feff/assets/styles/rising-particles/dist/gray.min.css#sha256-48sEWzNUGUOP04ur52G5VOfGZPSnZQfrF3szUr4VaRs= |
269 | 269 | // @resource rpwCSS https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@727feff/assets/styles/rising-particles/dist/white.min.css#sha256-6xBXczm7yM1MZ/v0o1KVFfJGehHk47KJjq8oTktH4KE= |
|
317 | 317 | // Init APP data |
318 | 318 | const app = { |
319 | 319 | version: GM_info.script.version, configKeyPrefix: `${env.site} Widescreen`, |
320 | | - chatgptJSver: /chatgpt\.js@([\d.]+)/.exec(GM_info.scriptMetaStr)[1], |
321 | | - urls: { update: 'https://gm.chatgptwidescreen.com' }, |
322 | | - latestResourceCommitHash: '108d910' // for cached app.json + sites.json5 + messages.json |
| 320 | + chatgptJSver: /chatgpt\.js@([\d.]+)/.exec(GM_info.scriptMetaStr)[1], urls: {}, |
| 321 | + latestResourceCommitHash: '7976575' // for cached app.json + sites.json5 + messages.json |
323 | 322 | } |
324 | 323 | app.urls.resourceHost = `https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@${app.latestResourceCommitHash}` |
325 | 324 | const remoteAppData = await new Promise(resolve => xhr({ |
|
612 | 611 |
|
613 | 612 | function updateCheck() { |
614 | 613 | xhr({ |
615 | | - method: 'GET', url: app.urls.update + '?t=' + Date.now(), |
| 614 | + method: 'GET', url: `${app.urls.update.gm}?t=${Date.now()}`, |
616 | 615 | headers: { 'Cache-Control': 'no-cache' }, |
617 | 616 | onload: resp => { |
618 | 617 |
|
|
0 commit comments