chatGPT AI writing toolbox - Bettertext

Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "manifest_version": 3,
  "name": "chatGPT AI writing toolbox - Bettertext",
  "version": "1.3.2",
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png",
    "129": "icons/icon129.png"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "icons/tooltip.png",
        "icons/icon48.png",
        "icons/loading.gif",
        "icons/icon30.png",
        "icons/no_image.png",
        "libs/editor/ui/icons.svg",
        "icons/bettertext.png",
        "icons/bettertext_logo.png",
        "icons/logo.png",
        "icons/icon-close.svg",
        "icons/account_icon.png",
        "external/bettertext_extension.css",
        "emojis/*",
        "libs/jquery.js",
        "icons/personalized_response_icon.png",
        "icons/multiple_stars_icon.png",
        "icons/bettertext_white_logo.png"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "exclude_matches": [
        "*://app.bettertext.ai/*"
      ],
      "js": [
        "libs/jquery.js",
        "libs/jquery-ui.min.js",
        "js/functions.js",
        "libs/toastr/toastr.min.js"
      ],
      "css": [
        "libs/css/popup.css",
        "external/bettertext_extension.css",
        "libs/toastr/toastr.min.css"
      ]
    },
    {
      "matches": [
        "*://app.bettertext.ai/*"
      ],
      "js": [
        "libs/jquery.js",
        "libs/jquery-ui.min.js",
        "js/session.js",
        "js/functions.js",
        "libs/toastr/toastr.min.js"
      ],
      "css": [
        "libs/css/popup.css",
        "external/bettertext_extension.css"
      ]
    }
  ],
  "background": {
    "service_worker": "js/background.js"
  },
  "minimum_chrome_version": "88",
  "options_page": "pag.html",
  "permissions": [
    "storage",
    "activeTab",
    "clipboardRead",
    "clipboardWrite",
    "cookies"
  ],
  "host_permissions": [
    "*://*.bettertext.ai/*"
  ],
  "action": {
    "default_icon": {
      "16": "icons/icon16.png",
      "48": "icons/icon48.png",
      "128": "icons/icon128.png",
      "129": "icons/icon129.png"
    },
    "default_popup": "popup.html"
  },
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}