|
148 | 148 | // @description:zu Yengeza izimpendulo ze-AI ku-DuckDuckGo |
149 | 149 | // @author KudoAI |
150 | 150 | // @namespace https://kudoai.com |
151 | | -// @version 2026.7.27.7 |
| 151 | +// @version 2026.7.27.8 |
152 | 152 | // @license MIT |
153 | 153 | // @icon https://cdn.jsdelivr.net/gh/KudoAI/duckduckgpt@e73859f/assets/images/icons/app/icon48.png |
154 | 154 | // @icon64 https://cdn.jsdelivr.net/gh/KudoAI/duckduckgpt@e73859f/assets/images/icons/app/icon64.png |
|
190 | 190 | // @connect chatgpt.com |
191 | 191 | // @connect fanyi.sogou.com |
192 | 192 | // @connect raw.githubusercontent.com |
| 193 | +// @connect scriptcat.org |
193 | 194 | // @require https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@4.15.6/dist/chatgpt.min.js#sha256-zp2Wy06WHvPDCRWgIE/ZHNT0cLqAGIsgleJjfDEITjw= |
194 | 195 | // @require https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.2.0/crypto-js.min.js#sha256-dppVXeVTurw1ozOPNE3XqhYmDJPOosfbKQcHyQSE58w= |
195 | 196 | // @require https://cdn.jsdelivr.net/npm/json5@2.2.3/dist/index.min.js#sha256-S7ltnVPzgKyAGBlBG4wQhorJqYTehj5WQCrADCKJufE= |
|
263 | 264 | window.app = { |
264 | 265 | version: GM_info.script.version, chatgptjsVer: /chatgpt\.js@([\d.]+)/.exec(GM_info.scriptMetaStr)[1], |
265 | 266 | commitHashes: { |
266 | | - app: 'eb250bc', // for cached <app|messages>.json |
267 | | - aiweb: 'be17b5f' // for cached ai-chat-apis.json5 + <code-languages|katex-delimiters|sogou-tts-lang-codes>.json |
| 267 | + app: '2babed', // for cached <app|messages>.json |
| 268 | + aiweb: '435d5ea' // for cached ai-chat-apis.json5 + <code-languages|katex-delimiters|sogou-tts-lang-codes>.json |
268 | 269 | }, |
269 | 270 | config: {} |
270 | 271 | } |
|
1964 | 1965 | feedback() { |
1965 | 1966 |
|
1966 | 1967 | // Init buttons |
1967 | | - let btns = [function productHunt(){}, function linkedin(){}, function g2(){}, function alternativeto(){}] |
| 1968 | + let btns = [ |
| 1969 | + function productHunt(){}, |
| 1970 | + function linkedin(){}, |
| 1971 | + function g2(){}, |
| 1972 | + function alternativeto(){}, |
| 1973 | + function scriptcat(){} |
| 1974 | + ] |
1968 | 1975 | if (modals.stack[0] != 'about') btns.push(function github(){}) |
1969 | 1976 |
|
1970 | 1977 | // Show modal |
|
1993 | 2000 | : btn.textContent == 'G2' ? app.urls.review.g2 |
1994 | 2001 | : btn.textContent == 'Linkedin' ? app.urls.review.linkedin |
1995 | 2002 | : btn.textContent == 'Product Hunt' ? app.urls.review.productHunt |
| 2003 | + : btn.textContent == 'Scriptcat' ? app.urls.review.scriptcat |
1996 | 2004 | : app.urls.discuss |
1997 | 2005 | ) |
1998 | 2006 | }) |
|
0 commit comments