[英]How to automatically pressed key (ctrl+shift+i) through javascript in documents.ready function?
我想通过documnets.ready函数中的javascript打开自动检查元素,而无需按键盘上的键
Similar in essence to: Programmatically triggering Ctrl+S 本质上类似于:以编程方式触发Ctrl + S
And I believe the given answer would apply here too, 我相信给出的答案也适用于此,
There is no way to programmatically trigger input keys in the sandboxed browser environment under normal circumstances.
在正常情况下,无法在沙盒浏览器环境中以编程方式触发输入键。
but I stand to be corrected. 但我有待纠正。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.