SN Utils - Tools for ServiceNow

SN Utils - Tools for ServiceNow

Productivity tools for ServiceNow. (Personal work, not affiliated to ServiceNow)

Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "SN Utils - Tools for ServiceNow",
  "short_name": "SN Utils",
  "description": "Productivity tools for ServiceNow. (Personal work, not affiliated to ServiceNow)",
  "author": "Arnoud Kooi / arnoudkooi.com",
  "version": "7.4.1.9",
  "manifest_version": 3,
  "permissions": [
    "activeTab",
    "declarativeContent",
    "storage",
    "contextMenus",
    "cookies",
    "sidePanel"
  ],
  "icons": {
    "16": "images/icon16.png",
    "24": "images/icon24.png",
    "32": "images/icon32.png",
    "48": "images/icon48.png",
    "128": "images/icon128.png"
  },
  "background": {
    "service_worker": "background.js"
  },
  "content_scripts": [
    {
      "matches": [
        "https://*.service-now.com/*"
      ],
      "exclude_matches": [
        "*://*/*?XML*",
        "*://*/*&XML*",
        "*://*/*?WSDL*",
        "*://*/*&WSDL*"
      ],
      "js": [
        "js/purify.min.js",
        "content_script_all_frames.js"
      ],
      "all_frames": true
    },
    {
      "matches": [
        "https://*.service-now.com/*"
      ],
      "exclude_matches": [
        "*://*/*?XML*",
        "*://*/*&XML*",
        "*://*/*?WSDL*",
        "*://*/*&WSDL*"
      ],
      "js": [
        "js/Tinycon.js",
        "content_script_parent.js"
      ],
      "all_frames": false
    }
  ],
  "commands": {
    "_execute_action": {
      "suggested_key": {
        "default": "Ctrl+1",
        "mac": "Command+1"
      },
      "description": "Activate Extension"
    },
    "pop": {
      "suggested_key": {
        "default": "Ctrl+2",
        "mac": "Command+2"
      },
      "description": "Pop-In / Pop-Out"
    },
    "show-technical-names": {
      "suggested_key": {
        "default": "Ctrl+3",
        "mac": "Command+3"
      },
      "description": "Show Technical Names"
    },
    "slashcommand-shortcut": {
      "suggested_key": {
        "default": "Ctrl+4",
        "mac": "Command+4"
      },
      "description": "Run /shortcut slashcommand"
    },
    "slashcommand": {
      "description": "Open slashcommand popup"
    }
  },
  "web_accessible_resources": [
    {
      "resources": [
        "inject.js",
        "inject_next.js",
        "inject_parent.js",
        "css/*",
        "js/*"
      ],
      "matches": [
        "https://*.service-now.com/*"
      ]
    }
  ],
  "incognito": "split",
  "content_security_policy": {
    "extension_pages": "default-src 'self'; style-src 'self' 'unsafe-inline'; img-src https://*.service-now.com 'self' data:; child-src 'none'; object-src 'none'; connect-src https://*.service-now.com ws://127.0.0.1:1978/"
  },
  "action": {
    "default_title": "SN Utils",
    "default_popup": "popup.html",
    "default_icon": {
      "16": "images/icon16.png",
      "32": "images/icon32.png",
      "48": "images/icon48.png",
      "128": "images/icon128.png"
    },
    "show_matches": [
      "https://*.service-now.com/*"
    ]
  },
  "host_permissions": [
    "https://*.service-now.com/*"
  ]
}