03 2024 档案
摘要:官方下载地址 https://chromewebstore.google.com/detail/lpbhmlbicmgjpacbofijdfpcplfhakeo 截图 安装 离线安装 下载地址 https://static.xutongbao.top/app/chatgpt-chrome-crx-v
阅读全文
摘要:let a = "北京!\n你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好" .m-hooks-userinfo-signature{white-space: pre-line;} 人工智能学习网站: https://ch
阅读全文
摘要:重启itunes: 参考链接: https://baijiahao.baidu.com/s?id=1642568736254330322&wfr=spider&for=pc 人工智能学习网站: https://chat.xutongbao.top
阅读全文
摘要:下载客户端 输入ip地址 输入用户名和密码 连接成功 人工智能学习网站: https://chat.xutongbao.top
阅读全文
摘要:https://developer.chrome.com/docs/extensions/develop/concepts/messaging?hl=zh-cn manifest.json: { "manifest_version": 3, "name": "ChatGPT学习", "version
阅读全文
摘要:manifest.json: { "manifest_version": 3, "name": "ChatGPT学习", "version": "0.0.6", "description": "欢迎加入我们一起学习ChatGPT", "icons": { "16": "./src/images/lo
阅读全文
摘要:manifest.json: { "manifest_version": 3, "name": "ChatGPT学习", "version": "0.0.6", "description": "欢迎加入我们一起学习ChatGPT", "icons": { "16": "./src/images/lo
阅读全文
摘要:在 Chrome 扩展中,从 Manifest V3 开始,后台脚本(background scripts)被服务工作线程(service workers)所取代。这改变了扩展图标点击事件(通常称为浏览器操作或者页面操作)的处理方式。在 Manifest V3 中,您需要使用 chrome.acti
阅读全文
摘要:要调试 background.service_worker 对应的 JavaScript 文件,在 Chrome 扩展开发中可以采取以下步骤: 打开 Chrome 扩展管理页面: 打开 Chrome 浏览器,输入 chrome://extensions/ 并访问此页面,或点击浏览器设置菜单中的 更多
阅读全文
摘要:是的,CSS 文件中引用其他域名的字体文件可能会导致跨域问题。当你从一个源(如你的网站域名)通过 CSS 引用另一个源(另一个域名)上的字体资源时,由于浏览器的同源策略限制,可能会遇到跨域资源共享(CORS)的问题。 浏览器的同源策略要求页面上的脚本只能访问同一域名下的资源,除非另一个域名的服务器设
阅读全文
摘要:https://transfonter.org/ 直接把字体转换成base64 参考链接: https://www.cnblogs.com/victorlyw/articles/9970805.html 人工智能学习网站: https://chat.xutongbao.top
阅读全文
摘要:在JavaScript中,您可以通过比较window对象和它的parent属性来判断当前页面是否嵌套在iframe中。如果页面是顶级页面(不在iframe中),那么window对象和window.parent将会是相同的。如果页面在iframe中,那么window和window.parent将会是不
阅读全文
摘要:效果展示 manifest.json { "manifest_version": 3, "name": "ChatGPT学习", "version": "0.0.2", "description": "ChatGPT,GPT-4,Claude3,Midjourney,Stable Diffusion
阅读全文
摘要:mainfest.json: { "manifest_version": 3, "name": "ChatGPT学习", "version": "0.0.2", "description": "ChatGPT,GPT-4,Claude3,Midjourney,Stable Diffusion,AI,
阅读全文
摘要:打包chrome扩展程序 注册开发者账号 https://developer.chrome.com/docs/webstore/register?hl=zh-cn 人工智能学习网站: https://chat.xutongbao.top
阅读全文
摘要:manifest.json: { "manifest_version": 3, "name": "ChatGPT学习", "version": "0.0.1", "description": "ChatGPT,GPT-4,Claude3,Midjourney,Stable Diffusion,AI,
阅读全文
摘要:视频文件后缀是文件扩展名,用于标识视频文件的格式。有多种视频文件格式,下面列出一些常见的视频文件后缀: 1. .mp4 - MPEG-4 Part 14,常用于存储视频和音频,也可以存储其他数据,如字幕和静态图片。 2. .avi - Audio Video Interleave,由微软开发的多媒体
阅读全文
摘要:const date = new Date() const options = { year: 'numeric', month: '2-digit', day: '2-digit' } const dateString = date.toLocaleDateString('zh-CN', opti
阅读全文
摘要:人工智能学习网站: https://chat.xutongbao.top
阅读全文
摘要:https://wechaty.js.org/zh/docs/api/message?_highlight=message if (await msg.mentionSelf()) { console.log( 'this message were mentioned me! [You were m
阅读全文
摘要:function fileToGenerativePart(path, mimeType) { return { inlineData: { data: Buffer.from(fs.readFileSync(path)).toString('base64'), mimeType, }, } } l
阅读全文
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Docum
阅读全文
摘要:https://www.npmjs.com/package/dotenv require('dotenv').config() console.log('process.env', process.env.apiKeyOnServer) 我开发的chatgpt项目: https://chat.xut
阅读全文
摘要:Mistral AI 是一家总部位于法国的 AI 公司,其使命是将公开可用的模型提升至最先进的性能水平。他们专注于构建快速而安全的大型语言模型(LLM),此类模型可用于从聊天机器人到代码生成等各种任务。 Mistral Large 是Mistral AI最新的文本生成模型。它达到了顶级的推理能力。它
阅读全文
摘要:如果你发现一个npm包已经停止支持require导入方式,并且只允许使用ES6的import语法,你可以尝试以下几种方法来解决这个问题: 更新你的Node.js版本:确保你使用的Node.js版本是支持ES6模块导入的。Node.js 从 v13.2.0 开始默认支持ES6模块,但在这之前,你可能需
阅读全文
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Docum
阅读全文
摘要:netstat -aon|findstr 84 taskkill -PID 19960 -F 杀死所有node进程: taskkill /f /t /im node.exe 我开发的chatgpt网站: https://chat.xutongbao.top
阅读全文
摘要:https://www.npmjs.com/package/body-parser limit Controls the maximum request body size. If this is a number, then the value specifies the number of by
阅读全文
摘要:Error: Request failed with status code 413 at createError The error message “Request failed with status code 413” typically indicates that the request
阅读全文
摘要:const imageToBase64 = require('image-to-base64') const handleImageToBase64 = async ({ visionImgList }) => { const order = async ({ visionImgList }) =>
阅读全文
摘要:Anthropic是一家位于美国加州旧金山的人工智能初创公司,成立于2021年。 该公司由OpenAI(ChatGPT的开发机构)前研究副总裁达里奥·阿莫迪(Dario Amodei)、大语言模型GPT-3论文的第一作者汤姆·布朗(Tom Brown)等人共同创立 Anthropic创始团队是GPT
阅读全文
摘要:wechaty如何实现接收文件和保存文件 Wechaty 是一个开源的聊天机器人框架,它提供了与微信(包括微信个人号和微信公众号)对接的接口,使开发者能够方便地开发出聊天机器人。 对于接收文件和保存文件,你需要使用 Wechaty 提供的 API 进行操作。以下是一个基本的示例,展示了如何使用 We
阅读全文
摘要:https://www.coze.com/ https://www.coze.com/docs/publish/discord.html https://discord.com/developers/applications 我开发的chatgpt网站: https://chat.xutongbao
阅读全文
摘要:node如何解析前端传递过来的命令行字符串 在Node.js中,如果你想处理从前端传递过来的命令行字符串,你可以根据你的应用程序的架构来决定如何接收这些字符串,然后进行解析。一般来说,命令行字符串可能会通过HTTP请求(如GET或POST请求)发送到后端,然后在Node.js中被解析。 以下是一个简
阅读全文