Skip to content
FREE ACCOUNT · 5 scripts + 5 guide downloads every week · Full-access passes available worldwide
Try an example in the editor

Find weak Wi-Fi readings

Fictional report. Change a label, signal percentage or threshold to compare the output. The example reads only the text below and changes no device settings.

Matching readings

YOUR DAILY SUPPORT WORKBENCH

JavaScript Desk.

New scripts added regularly. Practical tasks for everyday IT support. See the latest additions →

Find the task. Tailor the script. Keep your work.

51 distinct scripts · Search by task, subject or library · Node.js 22+

Conceptual illustration of javascript support tools.

Start with a free account

Register once to choose 5 scripts and 5 guide downloads per week across all six desks. No card required. A full-access pass unlocks the complete library.

Create your free account or sign in →

SEARCH → TAILOR → REVIEW → COPY

Find your next script.

New to javascript? Start here ↓

TAILOR TO YOUR ENVIRONMENT

Choose a script

Setup and validation

Official documentation ↗
Review checks

Choose checks for the edited text. This page does not run your code.

FULL-ACCESS FEATURE

Explore modules & tools.

Full setup notes, discovery commands and module reference entries are reserved for paid access. Your weekly script allowance is available after sign-in.

Preview membership benefits →

UNDERSTAND WHAT YOU RUN

Modules, setup & testing.

Choose the right runtime

These support scripts run in Node.js, not the browser console. Save them as .mjs for ECMAScript module imports. Most use built-in Node modules; Azure SDK tasks require the packages listed in their requirements.

node --version
node --check script.mjs
# After review:
node script.mjs

Modules and dependencies

node: imports identify built-in modules. Review package.json scripts before running npm commands. Prefer lockfiles and reviewed package versions for projects that need external dependencies.

import { readFile } from "node:fs/promises";
// Read-only dependency inventory in an existing project:
// npm ls --depth=0

Asynchronous support tasks

await keeps network and file operations readable. Use explicit timeouts for remote requests and handle errors; a status response alone does not prove a service is healthy.

try {
  const response = await fetch("https://example.com", {
    signal: AbortSignal.timeout(5000)
  });
  console.log(response.status);
} catch (error) { console.error(error.message); }

Validate and retain

node --check parses a file without running it. Text checks in this workbench are only pattern matching. Save modified code to the runbook and test on fixtures before operational use.

node --check script.mjs
# Runbooks are browser-local, not cloud backups.

YOUR LOCAL WORKSPACE

Build a support runbook.

Saved in this browser only. Export before clearing browser data. Do not store credentials or confidential customer data.

BROWSE THE LIBRARY

JavaScript tasks, by subject.

Browse 76 distinct tasks. Choose 5 scripts and 5 guide downloads per week with a free account. An active full-access pass unlocks the complete library.

Networking · 7 tasks
  • Check an HTTPS health endpoint

    Request one HTTPS endpoint with redirects disabled and a five-second timeout.

    fetch · Node.js 22+
  • Inspect DNS mail routing priorities

    Read MX records and their routing priorities; diagnose DNS email delivery configuration.

    node:dns/promises · Node.js 22+
  • Check proxy environment configuration without showing secrets

    Check whether common proxy variables exist and whether upper/lower-case variants disagree. Does not print proxy URLs, credentials or bypass destinations.

    process.env · Node.js 22+
  • Validate captured HTTP status-line framing

    Inspect one HTTP/1.0 or HTTP/1.1 status line. Flag unsupported protocol syntax or status outside 100-599 without fetching a URL or revealing the reason phrase.

    HTTP · Node.js 20+ (save as .mjs)
  • Find repeated URL query parameter names

    One absolute URL per line. Report line numbers and counts of repeated parameter names; do not fetch URLs or print values.

    fs · Node.js 20+; save as .mjs
  • Inspect DNS SRV service discovery records

    Query the configured DNS resolver for an authorised service name, such as _ldap._tcp.example.com. Shows target, priority, weight and port; does not connect to the returned servers. A DNS query leaves your machine.

    node:dns/promises · Node.js 20+; save as .mjs
  • Detect repeated URLs in a captured redirect chain

    Inspect an ordered JSON array of absolute HTTP(S) URLs copied from a browser trace. Detect repeated destinations without fetching them or printing URLs. Removes fragments only; query values remain part of identity. Input limited to 1 MiB.

    node:fs · Node.js 20+; save as .mjs
Development · 2 tasks
Data validation · 7 tasks
Storage · 1 tasks
Diagnostics · 1 tasks
Files · 5 tasks
Azure · 2 tasks
  • Inventory resources in an Azure group

    Inventory resources in an Azure group. Adapted from Azure-Samples/azure-sdk-for-js-samples with retained MIT licence.

    @azure/identity / @azure/arm-resources · Node.js 22+
  • Check Azure provider registration

    Check Azure provider registration. Adapted from Azure-Samples/azure-sdk-for-js-samples with retained MIT licence.

    @azure/identity / @azure/arm-resources · Node.js 22+
Security · 3 tasks
Configuration · 2 tasks
Web support · 2 tasks
Package management · 1 tasks
Web security · 1 tasks
Monitoring · 1 tasks
Certificates & TLS · 5 tasks
Runtime & dependencies · 5 tasks
Supply-chain review · 1 tasks
Email support · 1 tasks
  • Check for conflicting SPF TXT records

    Look for multiple SPF records on one authorised domain, a common mail-authentication configuration error. Does not evaluate include chains or sender authorisation.

    node:dns/promises · Node.js 22+
Browser support · 5 tasks
Event logs · 1 tasks
Files & downloads · 1 tasks
  • Compare a saved download with its expected byte count

    Compare a local regular file with a trusted byte count. For Content-Length use the same complete, unencoded response; do not compare decompressed or partial files. A size match does not prove authenticity.

    node:fs · Node.js 20+; save as .mjs
Support diagnostics · 1 tasks
  • Check a text import for invalid UTF-8

    Inspect up to 5 MiB of a local file for UTF-8 decoding errors and common BOM markers, without printing its contents or rewriting it.

    node:fs / TextDecoder · Node.js 20+; save as .cjs
Device and gaming diagnostics · 8 tasks
  • Estimate remaining game download time

    Enter remaining GiB and measured Mbps. This is an ideal transfer estimate; unpacking, congestion and overhead add time.

    Node.js / arithmetic · Node.js 20+; Windows/macOS/Linux
  • Estimate storage for game recordings

    Enter video bitrate Mbps and hours. Estimate excludes extra audio streams, container overhead and variable-bitrate peaks.

    Node.js / arithmetic · Node.js 20+; Windows/macOS/Linux
  • Convert an FPS target to a frame-time budget

    Useful when reading performance captures. A frame budget is a target, not proof that the GPU can meet it.

    Node.js / arithmetic · Node.js 20+; Windows/macOS/Linux
  • Compare screenshot aspect ratios

    Enter two width/height pairs to identify a capture or scaling mismatch. Does not alter the images.

    Node.js / arithmetic · Node.js 20+; Windows/macOS/Linux
  • Estimate how many downloads fit a data allowance

    Use decimal GB for both values. Excludes operating-system updates, streaming and other household traffic.

    Node.js / arithmetic · Node.js 20+; Windows/macOS/Linux
  • Estimate a battery power runtime upper bound

    Enter usable Wh, load W and assumed efficiency. This is planning only, not an electrical compatibility or battery-safety check.

    Node.js / arithmetic · Node.js 20+; Windows/macOS/Linux
  • Compare stream bitrate with measured upload

    Reports the fraction of measured upload consumed by one stream. It does not choose a universal safe bitrate.

    Node.js / arithmetic · Node.js 20+; Windows/macOS/Linux
  • Add measured stages of a streaming latency budget

    Add independently measured non-overlapping stage estimates. Do not add round-trip network latency twice.

    Node.js / arithmetic · Node.js 20+; Windows/macOS/Linux
Everyday device checks · 2 tasks
  • Find repeated IDs in a saved HTML page

    Scan quoted id attributes in a saved HTML file. Reports duplicates only; does not load the page or run its scripts. This is a lightweight source check, not an HTML parser.

    node:fs · Node.js 20+
  • Flag active content in an SVG before sharing it

    Read SVG as text and flag script tags, event attributes and external references. Never renders the file; absence of flags does not prove it safe.

    node:fs · Node.js 20+
Everyday troubleshooting · 11 tasks
  • Check upload filenames for Windows incompatibilities

    Choose a JSON array of filenames, for example ["report.pdf","CON.txt"]. Flags reserved names, forbidden characters and trailing spaces/dots. No files are renamed; service-specific length limits still apply.

    Node.js standard library · Node.js 22+
  • Show ASCII hostnames for international web addresses

    Choose a text file containing one HTTP(S) URL per line. Prints only internationalised hostnames in ASCII and Unicode for comparison; never visits them. This does not identify all impersonation or unsafe domains.

    Node.js standard library · Node.js 22+
  • Find the largest text field in a JSON export

    Choose a JSON export up to 2 MiB. Reports the path and UTF-8 size of its largest string without printing the value. Paths can contain personal field names; review before sharing.

    Node.js standard library · Node.js 22+
  • Count repeated URL query parameters without exposing values

    Check one HTTP or HTTPS URL for repeated query parameter names. Reports counts only, not the URL, keys or secret values. Repeated parameters can be intentional; this does not test the server.

    Node.js standard library · Node.js 22+
  • Check mixed record shapes in a JSON Lines export

    Read a JSONL file up to 5 MiB. Count object, array, scalar and invalid lines without printing data. Blank lines are reported separately; does not validate an application-specific schema.

    Node.js standard library · Node.js 22+
  • Find reversed time ranges in WebVTT subtitles

    Inspect subtitle timing lines for cues whose end precedes their start. Reads at most 2 MiB and never prints subtitle text; does not rewrite the media or subtitle file.

    Node.js standard library · Node.js 22+
  • Find text lines that look the same but use different Unicode forms

    Count distinct line spellings that become equal after NFC Unicode normalisation. Useful for visually identical labels that fail exact matching; no text values are printed.

    Node.js standard library · Node.js 22+
  • Find reversed and overlapping SRT subtitle timings

    Check a local SRT subtitle file for end-before-start cues and overlaps without printing dialogue. Useful when captions appear together or disappear too early; intentional overlaps need human review.

    javascript · Node.js 22+; compile TypeScript first if applicable
  • Check whether a web-app start page falls inside its declared scope

    Check supplied manifest, installation-page, start and scope URLs offline. Reports origin and path compatibility without fetching pages or showing query values. Checks explicit declarations only, not installability or browser fallbacks.

    javascript · Node.js 22+
  • Check a copied HSTS header for a disabled or malformed policy

    Inspect one copied Strict-Transport-Security value offline. Flag missing, repeated or invalid max-age, and max-age=0. This does not check live HTTPS, preload eligibility or certificate validity.

    javascript · Node.js 22+
  • Summarise recorded latency without sending network traffic

    Run with Node.js: node latency.js 12 15 timeout 20. Enter milliseconds from an existing permitted test; use timeout for a lost response. Compare idle and busy samples separately. This does not perform a speed test.

    javascript · Node.js 18+

Certificate dates are one check

A certificate validity-date report does not establish a trusted chain, hostname match or revocation status. Decide which checks your incident needs and verify them separately.

Official documentation ↗

Guidance reviewed 11 October 2026. Script results still depend on permissions, installed versions and your environment.

SUPPORT PLAYBOOK

Find the cause of a slow Node.js service

Find whether a slow Node.js application is waiting for another service or struggling to process requests.

SUPPORT PLAYBOOK

Node.js HTTPS certificate errors

Resolve a Node.js certificate error without turning secure verification off.

SUPPORT PLAYBOOK

A downloaded installer or archive is unexpectedly small

Check whether a small download is incomplete, an error page or the wrong package.

SUPPORT PLAYBOOK

How to check a text import for invalid UTF-8

Locate invalid text encoding before an import silently corrupts names or symbols.

Before running a script: prerequisites, impact and validation

Read the selected task’s platform, module and permissions. Replace every example value with your approved target. No script runs on this website.

Validation is not certification. Library and syntax checks do not prove a script will work in your tenant. A task without a documented execution result must be treated as not execution-verified in your environment. Read-only diagnostics can still reveal sensitive data.

For changes: obtain approval, make a backup where applicable, document rollback and test in a safe environment. Open the script preflight checklist.

Explore example tasks in this library

Choose a task to open its summary in the script selector. Review requirements before using your weekly free choice or active pass.

Step-by-step setup and troubleshooting guides · Compare all six script libraries

Recent execution checks

Five read-only scripts were executed against nine fictional local-file cases on Windows using Python 3.12.14 and Node v24.22.3. Valid and invalid inputs were checked, and inputs stayed unchanged. This does not verify all scripts or your own environment.

View dated cases and actual output

Learn by doing

Follow a starter collection · Download safe practice files