Comments (9)
看起来是不符合预期的,沙盒模式下,不应该能通过window访问到Quill
from scriptcat.
刚刚试了一下,3个脚本管理器表示都不一样,不过我认为从设计上来说,tm的表现形式应该是正确的 (vm加上setTimeout后正确,难道是vm执行太快了?)
from scriptcat.
我感觉严格上来说,第二个表现应该是比较正确?
from scriptcat.
是的,第二个是tampermonkey
from scriptcat.
我不带window
访问也可以获取到,期望应该是获取不到的🤯
console.log("tm Quill", Quill)
console.log("tm window", "------", window.Quill)
console.log("tm unsafeWindow", "------", unsafeWindow.Quill)
console.log("tm onload", window.onload, unsafeWindow.onload)
from scriptcat.
funny
from scriptcat.
处理了,目前的表现形式与tm一致了,哥哥可以试试这个版本:https://github.com/scriptscat/scriptcat/actions/runs/8873074186
但是不知道会不会对其它内容产生影响,单元测试是通过了(
from scriptcat.
ggnb
from scriptcat.
fix: https://github.com/scriptscat/scriptcat/actions/runs/8874658426
from scriptcat.
Related Issues (20)
- 网站是被污染了吗 HOT 5
- 书写错误
- 希望界面优化一下的地方 HOT 3
- [Feature Request] 后台函数 HOT 1
- 关于 Manifest V3 的疑惑 HOT 6
- [Bug] 使用 SystemJS 打包后运行出错 HOT 5
- 兼容性问题 HOT 1
- [enhancement] 添加`跟踪外部编辑`功能
- 开了云同步,脚本就删不掉 HOT 1
- WebIDE鼠标侧键问题 HOT 1
- Chrome 浏览器上的插件版本更新会清空已有脚本? HOT 2
- crontab优化
- 01-59 7 once * *无效 HOT 4
- 话说可以部署到服务器上吗 HOT 3
- npm run pack 当前文件夹没有 script.pem 文件 HOT 4
- 点击错乱
- 能不能内置一个可打开的页面用来运行前台脚本,而不需要打开任何网站 HOT 12
- 【用户配置】代码删除后主页还是会显示用户配置选项
- 脚本猫进入不了 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scriptcat.