RapidLens – Search with Google Lens Firefox

Examine source code of RapidLens – Search with Google Lens

Inspect and view changes in RapidLens – Search with Google Lens source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "RapidLens – Search with Google Lens",
  "version": "8.2",
  "description": "RapidLens brings Google Lens to your browser. Easily search your screen or any image for product details, translations, and more.",
  "browser_specific_settings": {
    "gecko": {
      "id": "rapidlens@buildmelon.com",
      "strict_min_version": "126.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      }
    }
  },
  "permissions": [
    "activeTab",
    "contextMenus",
    "scripting",
    "storage",
    "webNavigation",
    "tabs",
    "windows"
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"
  },
  "host_permissions": [
    "https://www.youtube.com/*",
    "https://m.youtube.com/*",
    "https://www.google.com/*",
    "https://lens.google.com/*",
    "<all_urls>"
  ],
  "background": {
    "scripts": [
      "background.js"
    ],
    "type": "module"
  },
  "action": {
    "default_popup": "popup.html",
    "default_icon": {
      "16": "icons/icon16.png",
      "32": "icons/icon32.png",
      "48": "icons/icon48.png",
      "128": "icons/icon128.png"
    }
  },
  "options_page": "options-new.html",
  "commands": {
    "search_screen": {
      "suggested_key": {
        "default": "Alt+Z"
      },
      "description": "Search the screen with Google Lens"
    },
    "search_area": {
      "suggested_key": {
        "default": "Alt+X"
      },
      "description": "Search specific area with Google Lens"
    }
  },
  "content_scripts": [
    {
      "matches": [
        "https://www.google.com/*",
        "*://*.images.google.ca/*"
      ],
      "js": [
        "content.js"
      ]
    },
    {
      "matches": [
        "https://www.youtube.com/*",
        "https://m.youtube.com/*"
      ],
      "js": [
        "page.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "https://lens.google.com/*"
      ],
      "js": [
        "content.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "*://*.amazon.com/*",
        "*://*.amazon.co.uk/*",
        "*://*.amazon.de/*",
        "*://*.amazon.fr/*",
        "*://*.amazon.it/*",
        "*://*.amazon.es/*",
        "*://*.amazon.ca/*",
        "*://*.amazon.com.mx/*",
        "*://*.amazon.com.br/*",
        "*://*.amazon.co.jp/*",
        "*://*.amazon.com.au/*",
        "*://*.amazon.com.sg/*",
        "*://*.amazon.ae/*",
        "*://*.amazon.in/*",
        "*://*.amazon.nl/*",
        "*://*.amazon.se/*",
        "*://*.amazon.pl/*",
        "*://*.amazon.sa/*",
        "*://*.amazon.com.tr/*",
        "*://*.amazon.eg/*"
      ],
      "js": [
        "amazon-product.js"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "exclude_matches": [
        "*://accounts.google.com/*",
        "*://login.microsoftonline.com/*",
        "*://www.facebook.com/login/*",
        "*://github.com/login/*",
        "*://auth0.com/*",
        "*://*.auth0.com/*"
      ],
      "js": [
        "content.js"
      ],
      "run_at": "document_end"
    }
  ],
  "icons": {
    "16": "icons/icon16.png",
    "32": "icons/icon32.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "welcome.html",
        "welcome.js",
        "file-picker.html",
        "file-picker.js",
        "data/inject/lens-upload.js",
        "img/RL Wordmark Logo SVG.svg",
        "img/RL Logo SVG.svg",
        "img/RapidLens YT Search.svg"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ]
}

Best RapidLens – Search with Google Lens Alternatives

Here are some Firefox add-ons that are similar to RapidLens – Search with Google Lens: