Viewport (beta) Firefox

Examine source code of Viewport (beta)

By: drbxho
Inspect and view changes in Viewport (beta) source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "version": "2024.6.5",
  "action": {
    "default_icon": {
      "16": "icons/icon16.png",
      "48": "icons/icon48.png",
      "96": "icons/icon96.png",
      "128": "icons/icon128.png"
    },
    "default_title": "Popout Viewport."
  },
  "background": {
    "scripts": [
      "viewport_sw.js"
    ]
  },
  "content_scripts": [
    {
      "all_frames": false,
      "js": [
        "viewport_cs.js"
      ],
      "matches": [
        "<all_urls>"
      ],
      "run_at": "document_start",
      "match_about_blank": true
    }
  ],
  "description": "Allows tabs to be opened in separate minimalistic windows.",
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "96": "icons/icon96.png",
    "128": "icons/icon128.png"
  },
  "manifest_version": 3,
  "name": "Viewport (beta)",
  "permissions": [
    "activeTab",
    "management",
    "storage",
    "webNavigation"
  ],
  "host_permissions": [
    "*://*/*"
  ],
  "optional_permissions": [
    "menus.overrideContext",
    "tabs",
    "clipboardWrite"
  ],
  "author": "Bryan Ho, based on Ett Chung's work",
  "commands": {
    "_execute_action": {
      "suggested_key": {
        "default": "Ctrl+Shift+Comma",
        "windows": "Ctrl+Shift+Comma",
        "linux": "Ctrl+Shift+Comma",
        "mac": "MacCtrl+Shift+Comma"
      },
      "description": "Converts Popup <--> Normal tab"
    },
    "move_Up_ToEdgeOfScreen": {
      "suggested_key": {
        "default": "Ctrl+Shift+Up",
        "windows": "Ctrl+Shift+Up",
        "linux": "Ctrl+Shift+Up",
        "mac": "MacCtrl+Shift+Up"
      },
      "description": "Move UP to edge of screen, in a loop."
    },
    "move_Down_ToEdgeOfScreen": {
      "suggested_key": {
        "default": "Ctrl+Shift+Down",
        "windows": "Ctrl+Shift+Down",
        "linux": "Ctrl+Shift+Down",
        "mac": "MacCtrl+Shift+Down"
      },
      "description": "Move DOWN to edge of screen, in a loop."
    },
    "move_Left_ToEdgeOfScreen": {
      "suggested_key": {
        "default": "Ctrl+Shift+Left",
        "windows": "Ctrl+Shift+Left",
        "linux": "Ctrl+Shift+Left",
        "mac": "MacCtrl+Shift+Left"
      },
      "description": "Move LEFT to edge of screeen, in a loop."
    },
    "move_Right_ToEdgeOfScreen": {
      "suggested_key": {
        "default": "Ctrl+Shift+Right",
        "windows": "Ctrl+Shift+Right",
        "linux": "Ctrl+Shift+Right",
        "mac": "MacCtrl+Shift+Right"
      },
      "description": "Move RIGHT to edge of screeen, in a loop."
    },
    "moveRightToNextScreen": {
      "suggested_key": {
        "default": "Ctrl+Shift+Period",
        "windows": "Ctrl+Shift+Period",
        "linux": "Ctrl+Shift+Period",
        "mac": "MacCtrl+Shift+Period"
      },
      "description": "Move RIGHT to NEXT screeen, in a loop."
    }
  },
  "options_ui": {
    "open_in_tab": false,
    "page": "options.html"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "popup/popup.html",
        "public/monkeypatch.mjs",
        "public/monkeypatch_DOM.mjs"
      ],
      "matches": [
        "<all_urls>"
      ]
    },
    {
      "resources": [
        "_favicon/*"
      ],
      "matches": [
        "<all_urls>"
      ],
      "extension_ids": [
        "*"
      ]
    }
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "drbxho@viewport"
    }
  }
}

Best Viewport (beta) Alternatives

Here are some Firefox add-ons that are similar to Viewport (beta):