Giter Site home page Giter Site logo

dragon-tabs's Introduction

dragon-tabs

Save and restore all tabs from toolbar popup!

Inspired by Save Tabs, completely rewritten with slightly different functionality.

Logo

Purpose

If you're always out of memory and CPU because of too many open browser tabs, the best is to save them with a couple of clicks for read later.

How to build

  1. Install modules using your favorite node package manager, eg: pnpm i, yarn or npm i.
  2. Build typescript code into javascript: pnpm build, yarn run build or npm run build.
  3. Package extension: pnpm package, yarn run package or npm run package.
  4. Drop into chrome extension tab at chrome://extensions.

GUI and shortcuts

When you open the extension popup by clicking on the dragon, you get 2 buttons on the top: Open tabs and Close tabs. Under them there will be all opened urls listed.

  • close tabs: saves and closes all your open tabs except the active one that stays open. You can also add a keyboard shortcut for that in chrome://extensions/shortcuts
  • open tabs: reopens all of them
  • actions only for open but non-active tabs:
    • clicking on the icon removes the tab from the browser and the saved tabs
  • actions only for the active tab:
    • the icon replaces the current tab with a new blank one, removing the tab from the saved tabs
    • a settable keyboard shortcut in chrome://extensions/shortcuts may be added to close the current tab AND remove it from the saved ones. You can even override the current close tab shortcut (Ctrl+W on linux and windows). But if you do that, and want to use incognito windows as well, you have to enable the extension in incognito mode too. Otherwise the shortcut will block you from closing tabs.
  • actions only for closed tabs:
    • clicking on the title line opens it
    • clicking on the icon replaces the url of the active browser tab with the url of the chosen one
    • clicking on the icon removes active url from the saved ones, and replaces it in the active browser tab with the chosen one. You can also add a shortcut for that in chrome://extensions/shortcuts that replaces current active url with the last saved url list.
  • you can also add a shortcut in chrome://extensions/shortcuts to open the popup GUI
  • lines may be reordered by dragging with the โ˜ฐ hamburger icon on the left

Status

The extension seems to work, not battle-tested yet though. Feel free to create a PR or an issue.

Screenshots

Loaded list Drag row

dragon-tabs's People

Contributors

vendelin8 avatar

Watchers

 avatar

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.