WebChatGPT: ChatGPT with internet access

Augment your ChatGPT prompts with relevant web search results through web browsing.
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": "__MSG_name__",
  "short_name": "__MSG_sn__",
  "description": "__MSG_desc__",
  "default_locale": "en",
  "version": "4.1.47",
  "icons": {
    "16": "assets/icons/icon16.png",
    "48": "assets/icons/icon48.png",
    "128": "assets/icons/icon128.png"
  },
  "permissions": [
    "storage",
    "declarativeNetRequestWithHostAccess"
  ],
  "host_permissions": [
    "*://*/*",
    "<all_urls>"
  ],
  "background": {
    "service_worker": "background/bg.js",
    "type": "module"
  },
  "action": {},
  "content_scripts": [
    {
      "matches": [
        "https://chat.openai.com/*",
        "https://chatgpt.com/*",
        "https://claude.ai/*",
        "https://bard.google.com/*",
        "https://gemini.google.com/*"
      ],
      "js": [
        "import_mainUI.js"
      ]
    },
    {
      "matches": [
        "https://app.maxai.me/*"
      ],
      "js": [
        "import_authClient.js"
      ]
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "import_theSearchItem.js"
      ]
    },
    {
      "matches": [
        "https://www.google.com/*",
        "https://www.baidu.com/*",
        "https://cn.bing.com/*",
        "https://www.bing.com/*",
        "https://www.sogou.com/*",
        "https://duckduckgo.com/*",
        "https://search.yahoo.com/search*",
        "https://search.naver.com/*",
        "https://yandex.com/*",
        "https://wap.yandex.com/*",
        "https://search.brave.com/*",
        "https://www.reddit.com/*",
        "https://twitter.com/*",
        "https://www.youtube.com/*",
        "https://www.amazon.com/s/*"
      ],
      "js": [
        "import_searchWithAI.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "import_requesterInject.js"
      ]
    },
    {
      "matches": [
        "https://chatgpt.com/favicon.ico"
      ],
      "match_about_blank": true,
      "all_frames": true,
      "js": [
        "import_contentArkoseTokenIframe.js"
      ],
      "run_at": "document_start"
    }
  ],
  "options_ui": {
    "page": "pages/options/options.html",
    "open_in_tab": true
  },
  "web_accessible_resources": [
    {
      "resources": [
        "contentScripts/*",
        "chunks/*.js",
        "i18n/locales/*",
        "assets/*",
        "pages/*"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "commands": {
    "toggle-web-access": {
      "suggested_key": {
        "default": "Alt+W"
      },
      "description": "__MSG_toggleWebAccess__"
    }
  },
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "ruleset_bing",
        "enabled": true,
        "path": "rules/bing.json"
      }
    ]
  },
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}