
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
event-recorder
Advanced tools
This package ist meant to record window events and to replay them. It stores them in a json array, so you can use it for demonstration purposes.
You can find a demo here
In this first and preliminary version, mouse movements. click events and select box actions are stored. keypress in textareas and input filed is working, as well as radio-buttons and check-boxes. The support of mouseover and mouseout is given, so the user has a WYSIWYG-website impression.
From version 0.0.25 onwards the playback of an audio commend is supported, as well as the option to record or dub your audio-comment (as an mp3 file)
You may download the zipped file or install it via npm
npm install event-recorder
var EventRecorder = require("event-recorder");
Since the Event Recorder needs the dom, it is important that you initate the object after having read in all the dom elemets, be it via document.ready or window.onload
The creation of an instance is easy
EventRecorder = new EventRecorder();
While this makes sense if you want to use the library to store events, you may want to autostart it with alreay stored events. Then an expression like this would be used.
x = new EventRecorder({
autostart: false,
events: data,
recorder: true
});
The events parameter assumes that you have the data already. The recorder option lets you decide whether you see the recorder panel or not. If you want to read in a json file, you may come up with a solution like this:
$.ajax({
url: "./test.json",
success: function (data) {
x = new EventRecorder({
autostart: true,
events: data
audioFile: 'audio_comment.mp3'
});
}
});
Starts a recording session
Stops the recording session
Starts the playback of the recorded data
Shows the recorded data in a json format. Can be used to copy paste the data and store it.
FAQs
records events and plays them back
We found that event-recorder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.