简体   繁体   English

是否可以在没有输入设备的情况下触发浏览器的事件处理程序?

[英]Is it possible to trigger a browser's event handlers without input devices?

Is it possible to trigger a browsers event handlers without input devices? 是否可以在没有输入设备的情况下触发浏览器事件处理程序? Can someone with a modified browser or any other method trigger an event handler in a page they requested without physical input devices? 拥有修改后的浏览器或任何其他方法的人是否可以在没有物理输入设备的情况下在他们请求的页面中触发事件处理程序?

确保可以使用事件的相应名称并调用它,例如DOMElementonclick事件处理程序:

element.onclick(); //invokes all of the attached onclick handlers

他们可以使用自动Web浏览工具,例如Firefox的iMacros插件或Chrome的WebDriver。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 jQuery触发锚的onclick事件,而不将浏览器发送到href - JQuery trigger anchor's onclick event without sending browser to href jQuery的click()只能触发DOM 0的事件处理程序以及通过jQuery注册的事件处理程序…? - jQuery's click() can trigger event handlers only for DOM 0 and event handlers registered through jQuery…? 是否可以触发文件下载到用户的浏览器? - Is it possible to trigger file download to a user's browser? 触发输入复选框的change()事件不会触发所有事件处理程序 - Firing change() event for input checkboxes doesn't trigger all event handlers 如何在不输入输入的情况下触发事件 - How to trigger the event without input enter 有没有一种方法可以使用jQuery(或常规DOM API)触发事件而无需调用任何处理程序 - Is there a way to trigger an event with jQuery (or the regular DOM API) without invoking any handlers Powershell 脚本。 如何在浏览器中触发输入字段更改事件? - Powershell script. How to trigger input field change event in the browser? Jquery datepicker 更改事件触发器和输入的默认更改事件 - Jquery datepicker change event trigger and input's default change event 检测浏览器的前进和后退按钮并触发jquery事件 - Detect browser's forward and back button and trigger jquery event 如何更改浏览器的刷新事件并触发自定义功能? - How to alter the Browser's Refresh Event and trigger a custom function?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM