You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ==UserScript==// @name New Userscript// @namespace https://bbs.tampermonkey.net.cn/// @version 0.1.0// @description try to take over the world!// @author You// @match https://chat.openai.com/?model=gpt-4// @grant unsafeWindow// ==/UserScript==(function(){'use strict';setInterval(()=>{console.log('123');},1000);// Your code here...})();
临时解决方案:
// ==UserScript==// @name New Userscript// @namespace https://bbs.tampermonkey.net.cn/// @version 0.1.0// @description try to take over the world!// @author You// @match https://chat.openai.com/?model=gpt-4// @grant unsafeWindow// ==/UserScript==constsetInterval=unsafeWindow.setInterval;(function(){'use strict';setInterval(()=>{console.log('123');},1000);// Your code here...})();
Activity
CodFrm commentedon May 17, 2023
这也许和我的沙盒实现有关系,在一些特定的网站上会出现这个问题,我编写了一个简单的脚本,在chatgpt上无法运行,但是在其它网站上可以运行。应该是chatgpt网站对这些方法进行了处理,导致了上下文丢失而产生这个问题。我会尝试在今天解决这个问题
临时解决方案:
🐛 修复沙盒隔离问题 #189
CodFrm commentedon May 17, 2023
修复
哥哥试一下这个版本:https://github.com/scriptscat/scriptcat/actions/runs/5003742572
近期准备把之前囤的issue都解决一下,然后再发下一个版本
JadynWong commentedon May 17, 2023
感谢, 测试可用.
CodFrm commentedon May 17, 2023
向着主流油猴扩展前进😄