All Projects → sylouuu → Chrome Tab Modifier

sylouuu / Chrome Tab Modifier

Licence: mit
Take control of your tabs

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Chrome Tab Modifier

Baidu Netdisk High Speed
⚡️ 百度网盘不限速下载 Chrome 插件。
Stars: ✭ 323 (-13.4%)
Mutual labels:  chrome-extension
Buster
Captcha solver extension for humans
Stars: ✭ 4,244 (+1037.8%)
Mutual labels:  chrome-extension
Extanalysis
Browser Extension Analysis Framework - Scan, Analyze Chrome, firefox and Brave extensions for vulnerabilities and intels
Stars: ✭ 351 (-5.9%)
Mutual labels:  chrome-extension
Do Not Merge Wip For Github
Do Not Merge WIP for GitHub
Stars: ✭ 323 (-13.4%)
Mutual labels:  chrome-extension
Leethub
Automatically sync your leetcode solutions to your github account - top 5 trending GitHub repository
Stars: ✭ 316 (-15.28%)
Mutual labels:  chrome-extension
Fehelper
😍FeHelper--Web前端助手(Awesome!Chrome & Firefox & MS-Edge Extension, All in one Toolbox!)
Stars: ✭ 3,880 (+940.21%)
Mutual labels:  chrome-extension
Upme Plus
Smart Automation inside your browser for free. Start earning and double your followers
Stars: ✭ 318 (-14.75%)
Mutual labels:  chrome-extension
Lovely Forks
💚 🍴 Show notable forks of GitHub repositories under their names.
Stars: ✭ 365 (-2.14%)
Mutual labels:  chrome-extension
Gmail.js
Gmail JavaScript API
Stars: ✭ 3,439 (+821.98%)
Mutual labels:  chrome-extension
Papers With Video
A browser extension that adds video explanations to research papers on arxiv.org
Stars: ✭ 338 (-9.38%)
Mutual labels:  chrome-extension
Medium Unlimited
A browser extension to read medium.com articles for free without membership.
Stars: ✭ 4,482 (+1101.61%)
Mutual labels:  chrome-extension
Chromex
Write Chrome Extensions in ClojureScript
Stars: ✭ 334 (-10.46%)
Mutual labels:  chrome-extension
Codercalendar
DEPRECATED -> Checkout nishanthvijayan/CoderCalendar-Extensions
Stars: ✭ 348 (-6.7%)
Mutual labels:  chrome-extension
Letra Extension
Passively learn a new language every time you open a new tab
Stars: ✭ 323 (-13.4%)
Mutual labels:  chrome-extension
Webextension Toolbox
Small CLI toolbox for cross-browser WebExtension development
Stars: ✭ 365 (-2.14%)
Mutual labels:  chrome-extension
Upnext
Chrome Extension for streaming music from SoundCloud & YouTube
Stars: ✭ 320 (-14.21%)
Mutual labels:  chrome-extension
Bilibili Helper O
哔哩哔哩 (bilibili.com) 辅助工具,可以替换播放器、推送通知并进行一些快捷操作
Stars: ✭ 3,717 (+896.51%)
Mutual labels:  chrome-extension
Rails panel
Chrome extension for Rails development
Stars: ✭ 3,678 (+886.06%)
Mutual labels:  chrome-extension
Treeverse
A browser extension for navigating burgeoning Twitter conversations
Stars: ✭ 365 (-2.14%)
Mutual labels:  chrome-extension
Chrome Extension React Typescript Boilerplate
🔨 A boilerplate project to quickly build a Chrome extension using TypeScript and React (built using webpack).
Stars: ✭ 347 (-6.97%)
Mutual labels:  chrome-extension

icon Tab Modifier

Take control of your tabs.

Build Status devDependency Status

Features

  • Rename tab
  • Change tab icon
  • Pin tab
  • Prevent tab closing
  • Unique tab
  • Mute tab

Quick rename can be done by right-clicking anywhere in the page and click on "Rename Tab".

Why?

I needed a quick UI element in Chrome to know the environment of the tab, as a Web developer I often use multiple versions of the same website: local, pre-production and production.

Not easy to find the appropriate tab when you have multiple tabs called "My awesome website".

I created Tab Modifier to add prefixes to website titles with a specific match.

  • [DEV] My awesome website: .local.domain.com
  • [PREPROD] My awesome website: .preprod.domain.com
  • [PROD] My awesome website: .domain.com

After that, I have added more features like "auto-pin", custom favicons and more.

Focused scope

Tab Modifier is based on user rules and act on the tab URL that matches the first seen rule.

Aware of that, there is no reason to include a feature that is not "rule-based". Prefer to install specific extensions.

Installation

Install from the Chrome Web Store.

Also available for Opera Browser.

Not available for Firefox, refer to #46.

Usage

  • Click on the icon icon to open Options.
  • Create your tab rules.
  • Try & enjoy!

Demo

Before

tabs before

After

tabs after
  • Youtube tab has been modified: use Google icon and pinned state.
  • My Website tabs have been modified: use a prefix in title.
  • Twitter tab has been modified: use default Chrome icon (white paper) and renamed to "I'm working hard!".

Options

Tab Rules

tab_rules

Tab Rules Form

tab_rules_form

Settings

settings

Examples

You have infinite possibilities, here are some configurations:

Pin all tabs:

  • Detection: Contains
  • URL fragment: http
  • Pinned: ON

Say hello to all Google websites:

  • Detection: Contains
  • URL fragment: google.com
  • Title: Hello Google: {title}

Disguise GitHub as Google

Prevent accidental tab closure:

  • Detection: Contains
  • URL fragment: important-website.com
  • Protected: ON

Mute all Youtube videos by default:

  • Detection: Contains
  • URL fragment: youtube.com
  • Mute: ON

Set blank icon on Pinterest:

  • Detection: Contains
  • URL fragment: pinterest.com
  • Icon: select "Chrome > Default"

Get only one GMail tab opened at once:

Pin all PNG images (useless):

  • Detection: Ends with
  • URL fragment: .png
  • Pinned: ON

Customize title with HTML selector and Regexp:

  • Detection: Contains
  • URL fragment: github.com
  • Title: {title} | $2 by $1
  • URL matcher: github[.]com/([A-Za-z0-9_-]+)/([A-Za-z0-9_-]+)

Tab title will be: "sylouuu/chrome-tab-modifier: Take control of your tabs | chrome-tab-modifier by sylouuu"

Match GitHub repositories:

  • Detection: RegExp
  • URL fragment: github[.]com/([A-Za-z0-9_-]+)/([A-Za-z0-9_-]+)
  • Title: I got you GitHub!

Customize GMail title with Title matcher and URL matcher:

  • Detection: Contains
  • URL fragment: mail.google.com
  • Title: @0 | $0
  • Title matcher: [a-z]*@gmail.com
  • URL matcher: [a-z]*.google.com

Tab title will be: "[email protected] | mail.google.com"

Github final path as title for blobs:

  • Detection: RegExp
  • URL fragment: github[.]com/([A-Za-z0-9_-]+)/([A-Za-z0-9_-]+)/blob/
  • Title: {.final-path}

And now, build your own... 💪

Ideas

  • Require password after inactivity.

Known issues

Local icon path doesn't work

Related issue: #5

Due to browser security restrictions, this path won't work: file://<path>/icon.png. Your icon will not be shown by Chrome.

Alternatively, you can upload your icon somewhere like imgur.com and paste the direct link in your rule.

Another solution consists in transform your image in the Data URI format. Go to ezgif.com and paste the given output (the long text) in the icon input on your rule.

Chrome system pages chrome://

Related issues: #11, #14

Pages that start with chrome:// URL are protected. No content script can be injected then Tab Modifier will not work on these pages.

Local files file:///

Related issue: #13

By default, extensions don't have access to local files. You have to opt-in "Allow access to file URLs" from chrome://extensions/?id=hcbgadmbdkiilgpifjgcakjehmafcjai.

Protected action is not triggered

Related issue: #95

Since Chrome 90, the JS event that triggers a refresh or a closure has been reworked. See related issue.

Changelog

See releases section.

Development

In case you want to contribute or just want to play with the code, follow the guide.

Setup

Download and install NodeJS to get npm.

Install gulp and yarn globally:

npm install -g gulp yarn

Clone the project and install dependencies with yarn.

Type gulp to watch your changes inside src/ folder or type gulp build after each change.

Load local extension in Chrome

Go to chrome://extensions/ and enable the "Developer mode".

Click on "Load unpacked extension..." and select the project dist/ folder.

Donators

A huge thanks to all donators!

If you like my work and you want to support me, visit the PayPal link. ;)

License

See license file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].