Git Product home page Git Product logo

popup-tab's Introduction

Popup Tab

Build Status

A Firefox addon, easily convert a tab into a popup and vice versa.

Features

  • Convert a tab into a popup window.
  • Convert the popup window back to a tab, and insert back to original window.
  • The tab is actually "moved" between the normal window and the popup window, so you don't have to reload the page.
  • The popup window size is maintained based on the domain. You can also make it remember the window size of a specific URL.

Usage

  • Right-click the tab bar, select "Popup this tab". (Firefox 53+)
  • Right-click on the page, select "Popup this tab". (Firefox < 53)
  • In popup window, right-click on the page, select "Merge popup".
  • From Firefox >= 66, you can set a hotkey that will popup/merge the current tab. screenshot

Installation

https://addons.mozilla.org/firefox/addon/popup-tab/

Changelog

  • 0.3.1 (Jul 18, 2021)

    • Add: store popup window size according to the entire URL (without search params, hash).
  • 0.3.0 (Mar 7, 2020)

    • Refactor: source tree.
    • Add: store popup window size.
  • 0.2.0 (Feb 11, 2019)

    • Fix: focus the tab after the tab is merged.
    • Add: popup tab/merge popup hotkey. Note that the hotkey is only configurable on Firefox 66+.
  • 0.1.1 (Mar 18, 2017)

    • Compat with Firefox < 53. Tab menu is only available on Firefox 53+.
  • 0.1.0 (Mar 17, 2017)

    • First release.

popup-tab's People

Contributors

eight04 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

popup-tab's Issues

Keep a whitelist of URLs to always open in popup.

It is really nice to use some website in a separate popup, as a pseudo desktop app. Currently, if I want to open a website as a pseudo app, I have to open it as a tab, then change it into a popup. It will be nice to keep a whitelist of URLs (pseudo app), to always open them in popup. This makes launch a pseudo app much easier.

The popup is not scrollable when created from a URL

https://bugzilla.mozilla.org/show_bug.cgi?id=1331906

popup-tab/background.js

Lines 91 to 102 in a9a761d

function createFromURL(parentTab, url) {
_create({url}, w => {
const parentPopup = popups.get(parentTab.windowId);
if (parentPopup) {
w.parent = parentPopup.parent;
w.index = parentPopup.index;
} else {
w.parent = parentTab.windowId;
w.index = parentTab.index + 1;
}
});
}

I have tried to workaround with it by:

  1. Create an new tab from the URL
  2. Create popup from the tab.

But the browser would crash when merging the popup.

Launch a URL as popup from command line

This is a really nice extension. Now PWA support is dropped from Firefox, this extension gives a PWA feel.

Is there any way to launch a URL as a popup from Firefox command line through this extension? If so, then it is possible to create a launch file to run a web app as a desktop app.

Popup window forced on top (Linux)

The created popup window is somehow flagged or forced to be above (overlapping) other Firefox windows. It will not lower. I see this on Linux but not Windoz 10. I tried Ubuntu 14 (Unity) and Debian Stretch (Xfce4 ) and problem appears in both.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.