https://github.com/heppokofrontend/chrome-extension-close-duplicate-tabs
This is a Google Chrome extension that closes duplicate tabs in the current window.
https://github.com/heppokofrontend/chrome-extension-close-duplicate-tabs
chrome-extension
Last synced: 7 months ago
JSON representation
This is a Google Chrome extension that closes duplicate tabs in the current window.
- Host: GitHub
- URL: https://github.com/heppokofrontend/chrome-extension-close-duplicate-tabs
- Owner: heppokofrontend
- License: mit
- Created: 2021-07-10T14:38:04.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-21T14:08:31.000Z (about 1 year ago)
- Last Synced: 2024-11-07T20:48:17.211Z (8 months ago)
- Topics: chrome-extension
- Language: TypeScript
- Homepage: https://chrome.google.com/webstore/detail/close-duplicate-tab/ollnnjepahcgphpjjhcfohpelmpldghj
- Size: 946 KB
- Stars: 11
- Watchers: 2
- Forks: 2
- Open Issues: 16
-
Metadata Files:
- Readme: README--ja.md
- License: LICENSE
Awesome Lists containing this project
README
# 重複したタブを閉じるやつ
[](LICENSE) [](https://codeclimate.com/github/heppokofrontend/chrome-extension-close-duplicate-tabs/maintainability)

[English version is here.](./README.md)
仕事中は GitHub や Redmine、Backlog などからたくさんの通知が来ます。
そういう時、あとで読もうと思って別タブで開いておくのを何度か繰り返していると、気がついた時にはあなたのブラウザはタブだらけ…。
このエクステンションはそんな状態で重複しているタブをすべて閉じ、残ったタブもまとめてリロードして最新状態をすぐに確認できます。
## Download
Google Chrome にインストールしてください。
[](https://chrome.google.com/webstore/detail/close-duplicate-tab/ollnnjepahcgphpjjhcfohpelmpldghj)
## 使い方
1. このブラウザ拡張のアイコンをクリックします
2. 必要に応じて設定を変更します(チェックボックス)
3. 使いたい機能ごとにボタンをクリックします### URL の比較
初期値では、URL の比較に Origin (Scheme + FQDN + Port)からクエリまでを利用します。
なお、比較時に次のようなデフォルトドキュメントは常に省略されます。
> /index.html
> /index.htm
> /index.xhtml
> /index.php
> /index.cgi
> /index.aspxたとえば、次のような URL はすべて同じものとして扱われます。
```
https://www.example.com/index.html
https://www.example.com/→ https://www.example.com/
``````
https://www.example.com/index.php#bar
https://www.example.com/index.htm#bar
https://www.example.com/index.cgi#bar
https://www.example.com/#bar→ https://www.example.com/#bar
```### クエリを無視する
タブごとの URL の比較をするときに、URL クエリを無視するかどうかを切り替えるものです。
URL クエリとは、URL のうち次の範囲を指します。
```
https://www.example.com/?a=10&b=20#foo-> ?a=10&b=20
```クエリが無視されている場合、次のような URL はすべて同じものとして扱われます。
```
https://www.example.com/
https://www.example.com/?a=10
https://www.example.com/?a=10&b=20
https://www.example.com/index.html?a=10&b=20→ https://www.example.com/
```### ハッシュを無視する
タブごとの URL の比較をするときに、URL ハッシュを無視するかどうかを切り替えるものです。
URL ハッシュとは、URL のうち次の範囲を指します。
```
https://www.example.com/?a=10&b=20#foo-> #foo
```ハッシュが無視されている場合、次のような URL はすべて同じものとして扱われます。
```
https://www.example.com/
https://www.example.com/#foo
https://www.example.com/#bar
https://www.example.com/index.html#baz→ https://www.example.com/
```### 両方とも無視する
クエリとハッシュが無視されている場合、次のような URL はすべて同じものとして扱われます。
```
https://www.example.com/
https://www.example.com/#baz
https://www.example.com/#bar
https://www.example.com/index.html#bar
https://www.example.com/?a=10
https://www.example.com/?a=10&b=20
https://www.example.com/?a=10&b=20#foo
https://www.example.com/?a=10&b=20#baz→ https://www.example.com/
```