Coder Social home page Coder Social logo

nightsharp / tst-tab-drag-handle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from piroor/tst-tab-drag-handle

0.0 1.0 0.0 416 KB

Provides UI to start tab dragging for different purposes.

License: Mozilla Public License 2.0

JavaScript 76.34% Makefile 6.95% HTML 12.91% CSS 3.80%

tst-tab-drag-handle's Introduction

TST Tab Drag Handle

Build Status

Install package is available at https://addons.mozilla.org/firefox/addon/tst-tab-drag-handle/


Provides UI in Tree Style Tab to start tab dragging for different purposes.

This is a helper addon for the Tree Style Tab 3.4.0 and later, and depends on the Tab Extra Contents API introduced at TST 3.4.0.

Due to technical reasons, it cannot be together to bookmark tabs and to detach tabs to a new window, when they are dragged from TST's sidebar. Detachable dragged tabs won't be bookmarked even if you drop them to the bookmarks toolbar, and bookmarkable tabs won't be detached even if you drop them outside the window. So TST provides ability to switch these actions by regular drag or dragging with the Shift key. This is annoying when you need to use only a mouse or something pointing device.

This helper addon provides small draggable handles on each tab, and it allows you to start dragging for each purpose: bookmarking or detaching.

This was a built-in feature of TST 2.6.0-3.3.6 but separated to a helper addon.


Tree Style Tabに対し、異なる目的ごとにドラッグ操作を開始するためのUIを提供します。

このアドオンはTree Style Tab 3.4.0以降用のヘルパーアドオンで、TST 3.4.0以降で導入されたTab Extra Contents APIに依存しています。

技術的な理由により、TSTのサイドバーからドラッグ操作を開始した場合、「タブをブックマークする」と「タブをウィンドウから切り離す」というそれぞれの動作は両立できません。ウィンドウから切り離せる状態でタブをドラッグ開始した場合はブックマークツールバーにドロップしてもブックマークを作成できず、ブックマークを作成できる状態でタブをドラッグ開始した場合はウィンドウ外にドロップしてもタブを別ウィンドウに分離できません。そのためTSTでは、通常のドラッグ操作とShiftキーを押しながらのドラッグ操作でこの両者を切り替えられるようになっていますが、マウスまたは何らかのポインティングデバイスのみを使用しないといけないような場面では、この操作は非常に煩わしいものがあります。

このヘルパーアドオンは、タブの上にドラッグ可能な小さなつまみを表示します。これを使うと、ブックマークするかウィンドウから切り離すか、それぞれの目的ごとにドラッグ操作を開始することができます。

この機能はTST 2.6.0~3.3.6の組み込みの機能でしたが、ヘルパーアドオンとして分離されました。

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.