Auto Contact Saver for Whatsapp Web

Save new Whatsapp contacts automatically.
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",
  "manifest_version": 3,
  "name": "Auto Contact Saver for Whatsapp Web",
  "version": "3.1",
  "description": "__MSG_description__",
  "icons": {
    "38": "./icons/38.png",
    "64": "./icons/64.png",
    "128": "./icons/128.png"
  },
  "default_locale": "en",
  "content_scripts": [
    {
      "matches": [
        "https://web.whatsapp.com/*"
      ],
      "js": [
        "injector.js",
        "content_script.js"
      ]
    },
    {
      "matches": [
        "https://web.whatsapp.com/*"
      ],
      "js": [
        "page.js"
      ],
      "world": "MAIN"
    },
    {
      "matches": [
        "https://igighrlbrpl63iurnjdrcivy7i0gpwek.lambda-url.us-east-1.on.aws/*"
      ],
      "js": [
        "oauth.js"
      ]
    }
  ],
  "action": {
    "default_popup": "popup.html"
  },
  "background": {
    "service_worker": "service_worker.js"
  },
  "web_accessible_resources": [
    {
      "matches": [
        "https://web.whatsapp.com/*"
      ],
      "resources": [
        "wpp.js"
      ]
    }
  ],
  "permissions": [
    "storage",
    "tabs"
  ]
}