-
Notifications
You must be signed in to change notification settings - Fork 315
Closed
Labels
compatibility其它管理器可以运行,脚本猫不能运行其它管理器可以运行,脚本猫不能运行
Description
使用环境
- Mac Big Sur11.4
- Chrome Version 108.0.5359.124 (Official Build) (x86_64)
- Scriptcat版本0.11.0
问题
- 我自己新建的脚本,编写测试代码并启动。scriptcat无法识别
我的脚本代码如下
// ==UserScript==
// @name Beautify Man Pages
// @namespace https://bbs.tampermonkey.net.cn/
// @version 0.1.0
// @description 美化man.he.net 页面的内容
// @author Jikefan
// @match http*://man.he.net/*
// @run-at document-body
// ==/UserScript==
const myBodyStyle = () => {
return 'font-size:12px';
}
(function() {
'use strict';
let body = document.getElementsByTagName('body')[0];
body.style = myBodyStyle();
alert('识别出来了');
})();最后吐槽
不光是自己写的脚本没法检测出来,有时候下载的脚本虽然检测出来了,但是scriptcat就是不执行脚本,就是不工作。太烦了,于是只能用scriptcat来写代码,然后放油猴运行了。但是scriptcat的界面实在太友好了,所以希望尽快解决这个问题。
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
compatibility其它管理器可以运行,脚本猫不能运行其它管理器可以运行,脚本猫不能运行

