Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Add-on icon

SN Commands version history - 2 versions

SN Commands by davagni

There are no ratings yet
0 Stars out of 5
5
0
4
0
3
0
2
0
1
0
SN Commands version history - 2 versions
  • Be careful with old versions! These versions are displayed for testing and reference purposes.You should always use the latest version of an add-on.

  • Latest version

    Version 4.8.0

    Released Aug 25, 2026 - 283.18 KB
    Works with firefox 140.0 and later, android 142.0 and later
    [4.8.0]

    Added

    • Page Helpers
    Three independent helpers, all OFF by default. Available under Settings → ⚡ Helpers.

    • Keep my session alive
    Pings a lightweight endpoint on the current ServiceNow instance every N minutes (1–60, default 2), plus once when returning to a backgrounded tab.

    • Show reopen count on incidents
    Reads reopen_count when an incident form loads and displays a native banner: green at zero and red above zero. Tracks the last announced record and follows SPA navigation.

    • Ctrl+Enter posts a work note
    Uses Cmd+Enter on macOS. Routes through Angular's handler, with a click fallback to avoid stale activity-stream scope.

    • helpers.js
    Contains helper definitions and injected scripts. Shared by the content script and settings page. Settings rows are generated from metadata, making new helpers a one-file change.

    • check-wiring.js
    Added validation for page helpers, including syntax, double-injection guards, live ON/OFF attributes, default-off settings, keep-alive interval clamping, instance-relative endpoints, and matching helper metadata/default settings.

    Changed

    • Content scripts
    Registered as ['themes.js', 'helpers.js', 'content.js'] in both manifests and dynamic registration for custom/on-premise domains.

    • Privacy policy
    Updated to clarify network behaviour. The extension makes no requests out of the box. When enabled, helpers communicate only with the user's own ServiceNow instance. Nothing is sent to the developer or any third party, and there is no extension backend/server.

    Notes

    • Two helpers run in the page's MAIN world because the isolated content-script world cannot access g_form, g_ck, or angular.

    • Keep-alive remains in the content script so its timer survives with the tab. An MV3 service worker may be terminated after a short idle period and is unsuitable for a minutes-long timer.

    • Injected helpers run in every frame because Classic UI keeps the form/Post button inside the gsft_main iframe. Keep-alive is top-frame only to prevent duplicate pings.

    • Disabling an injected helper does not require a reload. Its state is mirrored to and checked by the resident script before acting.

    • Each helper has its own IIFE and error handling so a helper failure cannot take down the command palette or page theme.

    Repository

    • GitHub: https://github.com/aryanarin/sncommands/

    Source code released under GNU General Public License v3.0 only

    Download Firefox and get the extension
    Download file
  • Older versions

    Version 4.5.0

    Released Jul 5, 2026 - 260.14 KB
    Works with firefox 140.0 and later, android 142.0 and later
    Initial public release of SN Commands v4.5.0.
    • Custom backslash () command palette for ServiceNow — run saved JavaScript snippets instantly on any page
    • Built-in code editor with syntax highlighting, bracket matching, and search (powered by CodeMirror)
    • One-click code formatting (via js-beautify)
    • Works on cloud and on-prem ServiceNow instances
    • Settings page to create, edit, and organize your commands

    Source code released under MIT License

    Download file
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Download

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.