scriptcat icon indicating copy to clipboard operation
scriptcat copied to clipboard

脚本猫,一个可以执行用户脚本的浏览器扩展

Results 175 scriptcat issues
Sort by recently updated
recently updated
newest added

https://sleazyfork.org/zh-CN/scripts/407833-ehsyringe 用油猴能正常使用,scriptcat则不行

之前eslint配置错误,现在修复后代码大片大片的红。。。。。这种eslint的错误就看一个处理一个吧,太多了😭。 然后一些设计的地方也比较乱,期望进行整理,记录如下 ### 消息中心重构 此处将sendResponse删除,将返回值作为send内容,undefined不进行发送,另外对其他发消息的代码进行整理:apps/Manager::listenerMessage 主要是规范好 Promise的返回值 \ 表示将发送数据 \ 表示将由方法自己发送数据 ```ts export type MessageCallback = (body: any, sendResponse: (response?: any) => void, sender?: chrome.runtime.MessageSender) => Promise | any; //...

GM_xmlhttpRequest与GM_download返回对象无属性

bug

比如说 `await CAT_runScript('scriptName');` 这样可以从一些页面脚本,直接调用后台脚本、定时脚本;或者定时脚本相互调用。

enhancement

``` // ==UserScript== // @name New Userscript // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match https://www.baidu.com/* // @icon https://www.google.com/s2/favicons?domain=baidu.com...

> 还未完成的 - [ ] GM_download - [ ] GM_setClipboard - [ ] GM_cookie - [ ] GM_getCookieStore > 这两个需要popup页面的配合,延期处理 - [ ] GM_registerMenuCommand - [ ] GM_unregisterMenuCommand

脚本链接:https://greasyfork.org/zh-CN/scripts/416688 安装后没有设置页面,也不生效 ![image](https://user-images.githubusercontent.com/28993319/190904555-4c4848e3-f5c8-4d50-a096-55c06ef4ea31.png) 对比油猴: ![image](https://user-images.githubusercontent.com/28993319/190904575-a3540e78-1cb8-4d7a-9c73-55b0b94cc254.png)

兼容问题

比如同步的时候可以选择”本地同步到云上“还是”云上同步到本地“。好几次本地脚本写完了,一点同步就还原成云上的版本了

![image](https://user-images.githubusercontent.com/13099303/188095087-d7292cec-46d8-4941-98ac-5b6839ee94fa.png)