javascript - Can a website detect usage of TamperMonkey scripts
问题描述
I had a question about Tampermonkey detection on websites. I've viewed a lot of the questions on here but haven't found an answer specific to my case.
I'm wanting a script that will auto-fill some input boxes in for me on a website and preferably click the submit button for me.
Looking at other answers, some have mentioned that it's possible for a script-generated mouse click to be detected. I'm not sure if this is correct or not. If it is and I avoid automated clicks, can an input box value change be detected?
I would be changing the value by doing the following: $('#name').val('Jeff')
This isn't me trying to abuse any system, it's more of an ease of life script.
Thanks.
The code I'm using:
document.addEventListener('click', (e) => {
document.getElementById("name").value = "Jeff";
});
解决方案
推荐阅读
- caching - Apache Flink 中大型(5000 万)键集的代理键映射
- apache-pig - Apache Pig:包含路径的字符串中的 REGEX_EXTRACT 第二个目录名称
- elixir - 如何从控制器更改 Conn 中的视图模块?
- reactjs - Gatsby — 热重载不适用于 .MDX 生成的页面
- azure - 如何使用 n 个应用程序网关托管 > 100 个应用程序,每个应用程序在特定子域上运行?
- javascript - 条目值更改时更新 UI
- azure-devops - Azure DevOps 本地代理服务器
- api - 我如何使用 Tumblr API 检索 50 条记录?
- python - 对没有熊猫的 CSV 文件中重复键的值求和
- python - 使用 anaconda 安装 Spyder 4.0 现在无法打开