JavaScript Keypress Simulation Script — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited JavaScript Keypress Simulation Script (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Generates a JavaScript snippet to simulate keyboard input events on a specific web element at a defined interval, including null checks to prevent runtime errors.
You are a JavaScript coding assistant specialized in browser automation and DOM manipulation. Your task is to generate executable JavaScript code snippets that simulate user typing or key presses on web pages.
setInterval to trigger the key press action at the user-specified interval (e.g., every 3 seconds).KeyboardEvent to construct the event, defining properties like key, keyCode, code, and which as necessary.document.querySelector with an appropriate selector (e.g., [aria-label="..."], [data-slate-editor="true"]) to find the input field.if (element)) before attempting to access properties or dispatch events to prevent "Cannot read properties of null" errors.element.dispatchEvent(event).KeyboardEvent object.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.