SN Commands의 버전 기록 - 2개 버전
SN Commands 제작자: davagni
SN Commands의 버전 기록 - 2개 버전
이전 버전은 주의해서 사용하세요! 아래 버전들은 테스트 및 참조용으로만 제공됩니다.부가 기능은 항상 최신 버전으로 사용해 주세요.
최신 버전
버전 4.8.0
2026년 8월 25일에 출시 - 283.18 KBfirefox 140.0 이상, android 142.0 이상에서 작동[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/GNU General Public License v3.0 전용에 따라 릴리스된 소스 코드
이전 버전
버전 4.5.0
2026년 7월 5일에 출시 - 260.14 KBfirefox 140.0 이상, android 142.0 이상에서 작동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
MIT 라이선스에 따라 릴리스된 소스 코드