ELMessenger Pro

ELMessenger Pro

Manage contact on Facebook messenger

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "ELMessenger Pro",
  "description": "Manage contact on Facebook messenger",
  "version": "10.0.13",
  "oauth2": {
    "client_id": "60130079824-nnpe430s45elj7o67n8brdsdkb3ige12.apps.googleusercontent.com",
    "scopes": [
      "https://www.googleapis.com/auth/drive"
    ]
  },
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self';"
  },
  "action": {
    "default_icon": "./images/elm.png",
    "default_title": "ELMessenger Pro",
    "default_popup": "popup-new.html"
  },
  "icons": {
    "16": "./images/elm.png",
    "48": "./images/elm.png",
    "128": "./images/elm.png"
  },
  "content_scripts": [
    {
      "matches": [
        "https://www.facebook.com/*",
        "https://www.messenger.com/*"
      ],
      "js": [
        "./js/config.js",
        "./js/jquery.min.js",
        "./js/core.js",
        "./js/tagify.min.js",
        "./js/contentNav.js",
        "./js/content.js",
        "./js/friends.js",
        "js/simpleNotify.js",
        "./js/contentFunctions.js",
        "./js/membersFriender.js",
        "./js/group.js",
        "./js/postFrienderComments.js",
        "./js/friendsPage.js",
        "./js/friendsPage-old.js"
      ],
      "css": [
        "css/simpleNotifyStyle.css",
        "./css/tagify.css",
        "./css/dark.css",
        "./css/content.css",
        "./css/friendsPage.css"
      ],
      "run_at": "document_start",
      "all_frames": false
    },
    {
      "matches": [
        "https://www.facebook.com/*action=getPostId*"
      ],
      "js": [
        "./js/getPostId.js"
      ],
      "run_at": "document_end",
      "all_frames": false
    },
    {
      "matches": [
        "https://www.facebook.com/*action=fixcontact*"
      ],
      "js": [
        "./js/fixContact.js"
      ],
      "run_at": "document_start",
      "all_frames": false
    },
    {
      "matches": [
        "https://www.facebook.com/*"
      ],
      "js": [
        "./js/emoji.min.js"
      ],
      "run_at": "document_end",
      "all_frames": false
    },
    {
      "matches": [
        "https://www.messenger.com/*"
      ],
      "js": [
        "./js/contentNav.js",
        "./js/content.js"
      ],
      "css": [
        "./css/simpleNotifyStyle.css",
        "./css/chosen.min.css",
        "./css/content.css",
        "./css/messenger.css"
      ],
      "run_at": "document_start",
      "all_frames": false
    },
    {
      "matches": [
        "https://www.facebook.com/*/members*action=friender*"
      ],
      "js": [
        "./js/frienderPage.js"
      ],
      "run_at": "document_end",
      "all_frames": false
    },
    {
      "matches": [
        "https://www.facebook.com/friends/requests?action=controlFriendRequest*"
      ],
      "js": [
        "./js/friendRequests.js"
      ],
      "run_at": "document_end",
      "all_frames": false
    },
    {
      "matches": [
        "https://www.facebook.com/messages/t/*action=sendmessage*",
        "https://www.messenger.com/t/*action=sendmessage*",
        "https://www.facebook.com/*action=grabName*",
        "https://www.facebook.com/*action=getMemberUserProfileId*"
      ],
      "js": [
        "./js/sendMessage.js"
      ],
      "run_at": "document_end",
      "all_frames": false
    },
    {
      "matches": [
        "https://m.facebook.com/*"
      ],
      "js": [
        "./js/config.js",
        "./js/jquery.min.js",
        "./js/core.js",
        "./js/contentFunctions.js"
      ],
      "css": [
        "./css/content.css"
      ],
      "run_at": "document_end",
      "all_frames": false
    },
    {
      "matches": [
        "https://m.facebook.com/messages/*action=mobileSendMessage",
        "https://m.facebook.com/*action=mobileGrabName*"
      ],
      "js": [
        "./js/mobileSendMessage.js"
      ],
      "run_at": "document_end",
      "all_frames": false
    },
    {
      "matches": [
        "https://m.facebook.com/*action=replyComments*"
      ],
      "js": [
        "./js/replyComment.js"
      ],
      "run_at": "document_end",
      "all_frames": false
    },
    {
      "matches": [
        "https://next.cloudki.io/*state=extension_token*"
      ],
      "js": [
        "./js/core.js",
        "./js/oauth.js",
        "./js/oauthContent.js"
      ],
      "css": [
        "./css/content.css"
      ],
      "run_at": "document_start"
    }
  ],
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "ruleset_1",
        "enabled": true,
        "path": "rules.json"
      }
    ]
  },
  "background": {
    "service_worker": "js/background_worker.js"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "images/*",
        "popup.html"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "permissions": [
    "storage",
    "clipboardRead",
    "unlimitedStorage",
    "declarativeNetRequest",
    "cookies",
    "tabs"
  ],
  "host_permissions": [
    "https://*.googleapis.com/*",
    "https://cloudki.io/*",
    "https://app.cloudki.io/*",
    "https://*.facebook.com/*",
    "https://www.facebook.com/messages/t/*",
    "https://www.messenger.com/*",
    "https://m.facebook.com/*",
    "https://res.cloudinary.com/*",
    "http://res.cloudinary.com/*",
    "https://elmessenger.cloudki.io/*",
    "https://mbasic.facebook.com/*",
    "http://localhost:5000/*",
    "https://next.cloudki.io/*",
    "https://elm-glitch.glitch.me/*",
    "https://elm-prod.herokuapp.com/*",
    "https://elmessengertest.herokuapp.com/*"
  ]
}