有没有办法获得页面上评估的Userscript代码?
我已经创建了用户标记,以便在某些网站上放松我的帐户登录,但是现在我担心: 网站所有者可以查看我的用户文字的代码吗?
我正在为Edge/Chrome使用TampermonKey扩展名,以及用于iOS Safari的“用户标记”扩展名/应用程序。
I have created userscripts to ease logging in my accounts on some websites, but now I'm concerned:
Can a site owner see the code of my userscripts?
I'm using Tampermonkey extension for Edge/Chrome, and "Userscripts" Extension/App for iOS Safari.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通常,网站不会&无法检测使用者。这一切都取决于用户标语的编写方式以及网站是否知道要查找的此类用户。
您可以阅读 @Grant Directive'> @Grant Directive和检测A用户脚本通过页面应该进一步解释。
Usually, websites don't & can't detect userscripts. It all depends on how the userscript code is written and if the website is aware of the such userscript to look for it.
You can read the reply in @grant directive and detecting a user script by a page which should explain it further.