Cloud File Viewer

Chrome extension for easy file viewing on Google Cloud Storage with improved UI, stats, pagination, and search features.
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "Cloud File Viewer",
  "version": "2.0.0",
  "description": "Chrome extension for easy file viewing on Google Cloud Storage with improved UI, stats, pagination, and search features.",
  "permissions": [
    "scripting",
    "storage",
    "tabs",
    "alarms"
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'; img-src 'self'; style-src 'self' https://fonts.googleapis.com;"
  },
  "host_permissions": [
    "https://*.console.cloud.google.com/*",
    "https://*.storage.cloud.google.com/*",
    "https://accounts.google.com/*"
  ],
  "icons": {
    "16": "assets/icons/icon16.png",
    "32": "assets/icons/icon32.png",
    "48": "assets/icons/icon48.png",
    "128": "assets/icons/icon128.png"
  },
  "background": {
    "service_worker": "scripts/background.js",
    "type": "module"
  },
  "content_scripts": [
    {
      "matches": [
        "https://*.console.cloud.google.com/*"
      ],
      "js": [
        "scripts/content.js"
      ],
      "css": [
        "assets/css/modal.css",
        "assets/css/loading_spinner.css",
        "assets/css/tooltip.css"
      ]
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "assets/html/modal.html"
      ],
      "matches": [
        "https://*.console.cloud.google.com/*"
      ]
    }
  ],
  "action": {
    "default_icon": {
      "16": "assets/icons/icon16.png",
      "32": "assets/icons/icon32.png",
      "48": "assets/icons/icon48.png",
      "128": "assets/icons/icon128.png"
    },
    "default_title": "Cloud File Viewer",
    "default_popup": "popup.html"
  },
  "manifest_version": 3
}