Sample Chrome Extension Manifest.json

This is a sample manifest.json file for a Chrome extension. It provides the necessary information and configuration for the extension to function properly. The extension, named “Sample Extension,” has a version number of 1.0.0 and is authored by “Your Name.”

  "manifest_version": 3,
  "name": "Sample Extension",
  "version": "1.0.0",
  "author": "Your Name",
  "description": "A sample Chrome extension manifest file.",
  "update_url": "",
  "icons": {
    "128": "images/icon.png"
  "action": {
    "default_icon": "images/icon.png",
    "default_popup": "index.html",
    "default_title": "Sample Extension"
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'; script-src-elem 'self' 'unsafe-inline';"
  "permissions": ["storage", "scripting"],
  "host_permissions": ["http://*/*", "https://*/*"],
  "content_scripts": [
      "matches": ["http://*/sample/*", "https://*/sample/*"],
      "js": ["script.js"]

The description of the extension is a simple statement that it is a sample manifest file. The update_url field specifies the URL where updates for the extension can be found. The icons section defines the icon used for the extension, with a size of 128 pixels.

The action field defines the behavior when the extension is activated. It specifies the default icon and popup page to display, as well as the default title for the extension.

The content_security_policy field sets the security policy for extension pages, allowing specific script and object sources.

The permissions section lists the required permissions for the extension, including storage and scripting access.

The host_permissions section specifies the allowed host permissions, allowing the extension to interact with HTTP and HTTPS URLs.

Finally, the content_scripts section defines the content scripts for the extension. In this sample, it matches URLs with “/sample/” in their path and injects the script.js file into those pages.

Please note that this is a generic sample manifest.json and does not represent a specific extension or promote any particular functionality.