OSlash - Text Expander and Keyboard Shortcut

OSlash - Text Expander and Keyboard Shortcut

Find, access, and share links & snippets blazingly fast

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "OSlash - Text Expander and Keyboard Shortcut",
  "version": "2.32.0",
  "description": "Find, access, and share links & snippets blazingly fast",
  "icons": {
    "16": "assets/icons/icon16.png",
    "48": "assets/icons/icon48.png",
    "128": "assets/icons/icon128.png"
  },
  "web_accessible_resources": [
    "*.js",
    "*.css",
    "launcher/launcher.html",
    "oauth/index.html",
    "popup/index.html",
    "popup/remote-index.html",
    "recommendation/recommendation.html",
    "snippet/snippet-form.html",
    "shortcut/shortcut-form.html",
    "assets/*",
    "saa/index.html",
    "form/index.html"
  ],
  "background": {
    "page": "background/index.html",
    "persistent": true
  },
  "browser_action": {
    "default_icon": "assets/icons/icon48.png",
    "default_title": "OSlash",
    "default_popup": "popup/remote-index.html"
  },
  "homepage_url": "https://app.oslash.com",
  "content_scripts": [
    {
      "matches": [
        "*://*.google.com/search?*",
        "*://*.google.com/search?*q=o/*",
        "*://*.google.com/search?*q=o%2F*",
        "*://*.google.com/search?q=o/*",
        "*://*.google.com/search?q=o%2F*",
        "*://*.google.com/search?*q=m/*",
        "*://*.google.com/search?*q=m%2F*",
        "*://*.google.com/search?q=m/*",
        "*://*.google.com/search?q=m%2F*",
        "*://*.google.com/search*"
      ],
      "js": [
        "complementaryInstaller.js"
      ]
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "pinInstaller.js"
      ]
    },
    {
      "matches": [
        "<all_urls>",
        "http://*/*",
        "https://*/*",
        "file:///*"
      ],
      "js": [
        "autocomplete.js"
      ],
      "all_frames": true,
      "match_about_blank": true,
      "run_at": "document_idle"
    },
    {
      "matches": [
        "<all_urls>",
        "http://*/*",
        "https://*/*",
        "file:///*"
      ],
      "js": [
        "inputWidgetUI.js"
      ],
      "match_about_blank": true,
      "run_at": "document_idle"
    },
    {
      "matches": [
        "<all_urls>",
        "http://*/*",
        "https://*/*"
      ],
      "run_at": "document_idle",
      "js": [
        "uploadPreview.js"
      ],
      "all_frames": true
    }
  ],
  "commands": {
    "_execute_browser_action": {
      "suggested_key": {
        "chromeos": "Ctrl+Shift+U",
        "linux": "Alt+Shift+U",
        "windows": "Alt+Shift+U",
        "mac": "Command+Shift+U"
      }
    },
    "search_bar": {
      "description": "Launches OSlash Launcher",
      "suggested_key": {
        "chromeos": "Ctrl+J",
        "linux": "Alt+J",
        "windows": "Alt+J",
        "mac": "Command+J"
      }
    },
    "refresh_oslash": {
      "description": "Refreshes OSlash Extension - for troubleshooting",
      "suggested_key": {
        "chromeos": "Ctrl+Shift+0",
        "linux": "Alt+Shift+0",
        "windows": "Alt+Shift+0",
        "mac": "Command+Shift+0"
      }
    }
  },
  "permissions": [
    "tabs",
    "history",
    "<all_urls>",
    "storage",
    "unlimitedStorage",
    "activeTab",
    "webRequest",
    "webRequestBlocking",
    "*://o/*",
    "*://m/*",
    "*://*.google.com/",
    "cookies",
    "https://*",
    "declarativeNetRequest",
    "alarms",
    "contextMenus",
    "background",
    "windows"
  ],
  "optional_permissions": [
    "clipboardRead"
  ],
  "omnibox": {
    "keyword": "o/"
  },
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "set-headers",
        "enabled": true,
        "path": "setHeaders.json"
      }
    ]
  },
  "externally_connectable": {
    "matches": [
      "https://*.oslash.com/*"
    ]
  },
  "oauth2": {
    "client_id": "379522702581-umhl1vnqvo27f24ulidlslp3k99pvf6k.apps.googleusercontent.com",
    "scopes": [
      ""
    ]
  },
  "content_security_policy": "script-src 'self'; object-src 'self';"
}