最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

jquery - JavaScript Macro Recorder - Stack Overflow

programmeradmin6浏览0评论

I am building a web application which I would like to contain a macro recorder, like the one demonstrated here: /

The problem with this macro recorder is that isn't maintained any longer, and appears to break in newer browsers (or, at least in Chrome). Are there any JavaScript/jQuery based macro recorders that you can remend.

Note: I am not referring to anything related to "Lisp-style" macros that are referenced in this post. I mean an actual macro recorder that will capture and record mouse and keyboard events.

I am building a web application which I would like to contain a macro recorder, like the one demonstrated here: http://blog.metawrap./2007/06/22/javascript-macro-recorder/

The problem with this macro recorder is that isn't maintained any longer, and appears to break in newer browsers (or, at least in Chrome). Are there any JavaScript/jQuery based macro recorders that you can remend.

Note: I am not referring to anything related to "Lisp-style" macros that are referenced in this post. I mean an actual macro recorder that will capture and record mouse and keyboard events.

Share Improve this question edited May 23, 2017 at 11:58 CommunityBot 11 silver badge asked Aug 9, 2012 at 22:47 Oliver SprynOliver Spryn 17.4k33 gold badges104 silver badges200 bronze badges 2
  • Have you tested this macro recorder in any browser besides Chrome? I've only tested it in Chrome, and it doesn't work in Chrome at all. – Anderson Green Commented May 4, 2013 at 1:41
  • @AndersonGreen Great find! No, I know the link I provided doesn't work at all in Chrome. If you post your ment as an answer, I'll accept it. – Oliver Spryn Commented May 4, 2013 at 5:23
Add a ment  | 

2 Answers 2

Reset to default 4

I have not yet found any libraries for macro recording, but it may be possible to record macros by capturing keyboard and mouse events or listening for events on a page. I found several JavaScript libraries for recording keyboard and mouse actions, so they may be useful for macro recording:

  • evtrack is a library for event-tracking, including keyboard and mouse-tracking.
  • musjs tracks mouse movements.

It might even be possible to "play back" recorded macros by simulating clicks and key presses on a page. To record a macro on more than one browser tab, it might be necessary to send messages between the tabs.

The following opensource records mouse movements: https://github./danielwix/wix-client-recorder

It is an entirely client-side project.

发布评论

评论列表(0)

  1. 暂无评论