Giter VIP home page Giter VIP logo

auto-group-tabs's Introduction

Auto-Group Tabs

This is a Google Chrome extension which enables the configuration of tab groups for certain URLs. Navigating to such a URL will automatically add the tab to its configured group (creating the group if it does not exist).

Development

This project is built with Vue and Vite.

Setup

Clone this project:

git clone https://github.com/loilo/auto-group-tabs.git

Step into the cloned folder and install npm dependencies:

npm ci

Development of the Options UI

The fastest way to tinker with the heart of this extension โ€” its options page โ€” is to run the dev script:

npm run dev

This will start up the Vite dev server and serve the options page on localhost:6655. Having the options page directly in the browser allows for comfort features like hot module reloading to be usable during development.

In this mode, Chrome extension APIs accessed during production (e.g. chrome.i18n and chrome.storage) use browser-based fallbacks.

Note: You probably want to use the device toolbar of Chrome's devtools to give the options page a proper viewport. Chrome's options overlays are (at the time of writing) 400px wide, and I used a height of 600px during development.

Testing in Chrome

To test the extension in Chrome, you'll have to do a production build of it:

npm run build

This will create a subfolder with the name extension inside the project, which can be installed in your Chrome browser.

auto-group-tabs's People

Contributors

loilo 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.