Dark Mode - Night Eye

Dark Mode - Night Eye

Dark Mode: Switch to dark reading for night & day browsing. More than dark theme style, it ensures optimal eye protection.

Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 3,
  "default_locale": "en",
  "name": "__MSG_extName__",
  "short_name": "Night Eye",
  "description": "__MSG_extDescription__",
  "homepage_url": "https://nighteye.app/",
  "author": "RAZORlabs",
  "icons": {
    "16": "res/icon/16.png",
    "48": "res/icon/48.png",
    "128": "res/icon/128.png"
  },
  "permissions": [
    "storage",
    "contextMenus",
    "activeTab",
    "tabs",
    "scripting",
    "identity"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "css/*",
        "_locales/*",
        "js/browser-action/*",
        "html/browser-action/*"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "commands": {
    "toggle-current-website": {
      "suggested_key": {
        "default": "Alt+Shift+2",
        "mac": "Command+Shift+2"
      },
      "description": "__MSG_extToggleButton__"
    },
    "toggle-power-extension": {
      "suggested_key": {
        "default": "Alt+Shift+3",
        "mac": "Command+Shift+3"
      },
      "description": "Toggle on and off the extension"
    },
    "switch-filter-mode": {
      "suggested_key": {
        "default": "Alt+Shift+4",
        "mac": "Command+Shift+4"
      },
      "description": "Switch to filter mode"
    }
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "css": [
        "css/loading.css"
      ],
      "js": [
        "js/content/content.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    }
  ],
  "host_permissions": [
    "*://*/*"
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'"
  },
  "options_page": "html/browser-action/settings.html",
  "offline_enabled": true,
  "action": {
    "default_icon": "res/icon/48.png",
    "default_popup": "html/browser-action/home.html",
    "default_title": "Night Eye"
  },
  "background": {
    "service_worker": "background.js"
  },
  "oauth2": {
    "client_id": "1083078585089-pd458ffb7e57ljl4o1jdsm8jh5m4o7fa.apps.googleusercontent.com",
    "scopes": [
      "https://www.googleapis.com/auth/userinfo.email"
    ]
  },
  "version": "5.1.6",
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}