Git Product home page Git Product logo

chrome-tab-modifier's People

Contributors

clfer avatar denilsonsa avatar jessehouchins avatar jtwee avatar mathrobin avatar scottbeeson avatar sebastienfontaine avatar sylouuu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chrome-tab-modifier's Issues

Can use a * to cover all sub-domains

The goal of this option is to add the ability to indicate just a domain without specific sub-domain.

For examples, I have these domains :
www.lmonsite-fr.com
back.lmonsite-fr.com
www.dmonsite-fr.com
back.dmonsite-fr.com
www.rmonsite-fr.com
back.rmonsite-fr.com
www.pmonsite-fr.com
back.pmonsite-fr.com
www.monsite-fr.com
back.monsite-fr.com

And in reality, I have 6 subdomains in 7 languages. Sometimes, there are some moves. More domains, more sub-domains. Or less for both. Manage this list could be quickly boring.

Is it possible to cover all sub-domains by a classical "joker" pattern ?

Local files that start with file:///

Hello, Thanks for the extension, it is exactly what I was looking for, but I can't seem to get it to work with local urls that start with "file:///". Is there a special syntax for this?

The following actions will be applied when the URL starts with starts.with.this:

Can you add a new feature that lets you change a tab that starts with, for example, www.youtube.com?

When I add a rule to change the tab of "www.TabRuleURL.com" and visit any site and add "www.TabRuleURL.com" at the end, for example, "www.facebook.com/www.TabRuleURL.com" the extension thinks that it's the same site and changes the tab based on the rule I made for "www.TabRuleURL.com"

Thanks in advance

Feature request: HTTP header filtering

How hard would it be and/or would it be possible to implement filtering by HTTP headers?

I am currently using the plugin (and loving it) with a local + remote server setup, so I can see at a glance which site I'm editing, but the remote side also has a staging and production separation, but the URL for both is the same. The only way I can differentiate them is by a value in the page HTTP headers.

I have hacked together a proof of concept that achieves the basic functionality of checking the headers using webRequest.onHeadersReceived.addListener in background.js and sending a message to retrieve the tab headers in content.js, but that's all so far.

What are your thoughts on extending the matching to include things like headers or cookies in general? Could there be a way for the user to provide custom JS functions for testing the tab's properties?

Locally Stored Favicons

I have modified the gmail favicon to have some added initials to differentiate between work/personal. I am using the follow to "attempt" to use a locally store file but it doesn't seem to work. The title changes so I know that works but the icon stays the same.

Do you have any thoughts on this?

{
    "twitter.com": {
        "title": "I'm working hard!",
        "icon": "file:///C:/Program%20Files%20(x86)/Google/Chrome/Tab-Modifier/faviconARC.ico"
    }
}

How do I ensure that at Chrome startup the tabs appear in repeatable order?

I just started using this wonderful product. Now, when I fire up Chrome, the tabs don't necessarily open in the order I've listed them in Tab Rules. I expected the first to be left-most, and second tab to be to the right of the first, etc. Their final sequence (left to right) on the Chrome bar seems to vary.

Is this a bug or a feature? (Or maybe simply a stupid user trick?)

Feature request: allow RegExp in URL fragment

Instead of writing several rules with the same actions, I'd like to write one and just use a regex to match several URLs.

Some real-world use-cases:

  • Matching both HTTP and HTTPS protocols.
  • Matching one or more TCP ports. And also without the port.
  • Matching a set of subdomains under the same domain.

If you want some inspiration, Stylish extension is very flexible regarding matching URLs, although I understand such complicated UI is beyond the vision for chrome-tab-modifier.

Overlapping rules

When there are URLs that meet criteria of multiple rules (even if they don't overlap i.e. one is just an icon and one is just a title), only one rule is fulfilled. Is there any way to have multiple rules work together?

Open URL in existing tab

It would be nice if this extension could support this scenario:

  • I have an open (Pinned, Muted, Unique) tab with Gmail
  • When I click on a link to a certain email (originating from my todo app for example) it would be nice if it could open that URL in my existing Gmail tab

Now it just closes that tab again.

Rule Limit

A recent change erased all of my rules. Luckily I have my json file, but when I import it, it tells me it was successfully imported, but doesn't add the rules back. I can only seem to import/create up to 33 rules now. When I try to add a 34th, it shows up, and tells me it's successful, but when I click to Settings and then back to Rules, it's gone. This may be related to the recent storage change.

If increasing the limit is not an option, another solution for my scenario would be to allow rules to work with each other. I have all these different rules because I manually mapped a dozen or so GET variable IDs to 4 pages that use them (e.g. "www.website.com/InfoPage.aspx?ID=1234"), so if there could be a priority system where I can define one fragment ("www.website.com/InfoPage.aspx") to mean "Info Page" and then another fragment ("ID=1234") to mean "ABCD {title}" so it would say "ABCD Value Info Page", that would greatly reduce the number of rules I need. As it was, I had to look for each combination of URL and ID individually.

Whatsapp Web favicon issue

Everything works great, except when i setup the next rule

{
    "rules": [
        {
            "name": "Whatsapp",
            "url_fragment": "web.whatsapp.com/",
            "tab": {
                "title": "Google",
                "icon": "https://www.google.ca/favicon.ico",
                "pinned": false,
                "protected": false,
                "unique": false,
                "muted": false,
                "url_matcher": null
            }
        }
    ]
}

i see the google icon in the tab, but after some few seconds the whatsapp icon comes back, i guess the website is setting up back again, because it show the number of notifications.
Anyway i want to keep the favicon of google instead of whatsapp favicon.

Thanks for the project, it's awesome!

Ability to colorize favicons

We all know that Chrome does not allow us to colorize tabs but because we can customize favicons it means that we can also colorize them.

Have a look at the screenshot below which contains 3 tabs from 3 different Jenkins instances, all of them having the same favicon.

new issue sylouuuchrome-tab-modifier 2017-01-24 08-48-33

Changing favicons yourself and hosting them somewhere online is a very time consuming operations so it would be much easier if this extension would allow us to apply a recoloring filter on the original favicon of the site. This would allow us to distinguish between different similar software instances.

The favicon is supposed to be saved locally at the configuration time and filtered, no refresh is necessary.

Overlay tab icon option

Great plugin, thanks for your efforts.

I use it in similar way, as described in the README.md. What I would find useful is to be able to overlay the selected icon over the existing favicon, when having multiple local sites open, it's harder to see, which one is which, without creating a separate icon for each project.

Example: Map the green hollow circle icon to local domains, map the red circle over live domains, which then overlays the existing favicon.

It would be better to have this as an option, rather then a feature replacement.

Feature request: allow reordering the rules

Sometimes we have multiple rules that match the same page. We need to be able to reorder the rules.

UI for reordering is usually not trivial, and usually a pain to implement. I'd suggest something like when editing a playlist in YouTube. We could have a draggable handle at the left of the rule, and the user would be able to drag-and-drop the rules using the handle.

As a workaround, we are able to reorder the rules by exporting them, editing them in a text editor, and importing them again.

Issue when referencing none HTML content

I'm currently using and loving the extension. But I have a issue when visiting a page that isn't HTML content.

Here is an example of viewing a JSON response:
screen shot 2017-01-26 at 11 50 55

I'm using the {title} tag. And it shows as so, without a proper fallback.

Request: Version Indicator

Could we get a version indicator somewhere in the options interface? Perhaps near the name? I made a quick mockup:

image

Can I use an element attribute as the title?

For instance:

<div id="now-playing-media" title="Ed Sheeran - Shape Of You (NOTD Remix)" style="width: 937.703px;">
    <span class="bar-value"><span class="author">Ed Sheeran</span> - Shape Of You (NOTD Remix)</span>
</div>

Can I make the tab title "Ed Sheeran - Shape Of You (NOTD Remix)"?

I tried a few things, including {#now-playing-media:attr("title")} but can't get anything to work.

Add current site favicon in rules

Hi,

I've just been exploring this addon and it's very useful, but there is one place in which I can't use it, but it is desperately needed. Slack tabs are a good example so I will use that. Here is what my tabs look like:

screen shot 2017-01-04 at 15 37 22

I have 5 different Slack organizations, plus some other stuff. I have asked the Slack devs to add an option to customize the icon on a per org basis, but they have not yet done this, which is what motivated me to try this chrome extension.

The problem is that the favicon is used by slack (and many other web applications also do this) to convey information to the user. In the example above, the first of the slack tabs is alerting me to the fact that I have an unread message mentioning my username specifically. The other four have no unread messages. In the case of slack there are only three options (unread, mentioned and no-unread). The website achieves this by altering the favicon to whatever state is appropriate at the time.

My feature request would be to allow me to match the current favicon in addition to the URL in order to display a different icon for the three different statuses.

Feature Request: Move tabs with hotkeys

Hi there, first I want to say that I love this extension, it's beautiful in both its design and implementation. One thing I wish Chrome had by default was the ability to move the position of tabs using hotkeys. At the moment, I'm using an extension that gives me this functionality (with the hotkeys CMD+. to go right and CMD+, to go left), but I think this would be an excellent addition to your already powerful extension.

Focus switch when typing new address

  1. Create a filter for a unique and pinned tab: www.facebook.com
  2. Open a new tab
  3. Start typing a new address "face", don't press enter and wait 2 seconds
  4. Before pressing enter the focus is switched to the Facebook tab and the new tab remains open

OS X El Capitan
Chrome: Version 48.0.2564.116 (64-bit)

If I disable the extension and do it, then it works fine and doesn't switch focus.

I would expect it not to switch focus. If I finish the address with "www.facebook.com" I would expect the tab to close and the focus to switch to the already opened tab. If I finish the address with something else than Facebook, then I would expect the new tab to behave as without the extension enabled.

Adding

Hi,
First of all this is a great Addon. Thank you for your work!

What do you think of adding some possibility to run a js. script after a page is loaded?
The reason i'd like that is that i like to recolor a element of a site so i know that i am in DEV or PROD
So in fact i want to change the background of a specific container. eg. Red for PROD and Green for DEV and if there is the posibility to run a script after loading a page that would be great.

Title based on html in page

I am wondering if it is possible to have this tool grab a block of html from a page to use in the title.
For example I have 100 windows open using salesforce, however all of the windows titles just say "case # " I'd rather have it look into the web page and extract and display this html div tag to my tab's title is "TITLE OF MY CASE"

Changing the favicon for GitHub doesn't work

Thanks for a great extension, it's perfect for changing the favicons on pinned tabs, so that it's easier to identify them. Also useful for changing dark favicons to lighter ones, so that they're easier to see on a dark Chrome theme. 👍

However, changing the favicon doesn't work for GitHub (github.com). Works fine for Slack, Waffle.io, etc.

Changing the tab's title works (so the rule is matched), but the favicon doesn't change.

Switching to pinned tabs on refresh

I set some tabs to auto pin and unique. When they get automatically refreshed i think Chrome sees it as me trying to open a new one so it auto switches to that tab instead. Is there a way to avoid this?
Thanks

Potentially easy question "Leave"

Hi,

I have Asana saved as a url fragment for my account, but when I navigate throught it it always ask me if I want to "Leave". I'm guessing this is due to the "Protected" option being on or? The same happens for Pipedrive. I want the tab with Asana or Pipedrive to be pinned, but not always ask me if I want to Reload/Leave?

Thanks! :)

Feature requests: Protect tab and unique tab

I have two issues with using pinned tabs these days… 1) I keep opening new tabs for some sites and 2) I keep closing my pinned tabs.

It'd be interesting to see a new feature where there's pinned tab protection… if I try to close a tab, it either asks me if I really want to or just flat out prevents it.

Second feature would be preventing myself from having my pinned gmail tab open 3 times… i.e. if mail.google.com is opened, it becomes pinned via chrome-tab-modifier and if it already has one of those tabs, it either prevents me from opening another one or tells me to stop being this stupid…

Feature Request: Apply RegEx transformations to existing title

I would like to be able to apply a regex transformation to the existing tab title, instead of completely replacing or adding to it.

e.g. I sign into multiple gmail accounts simultaneously, and each tab is "Inbox (1,234) - [email protected]", but when tabs are narrow, all i see is "Inbox (1,234) - ", thus i can't tell which tab is which account. I'd like to switch it around so the mailbox name is first: something like s/(^.*\)) (.*$)/\2 \1/

Many other websites start the tab title with some generic phrase followed by more useful title info, it would be great to RegEx capture and omit the generic phrase at the beginning.

Example of two different GMail inboxes, and different eBay pages that look the same:
tabbar

Un-apply rules when changing URL

I would like to suggest an option to un-apply rules, once the URL changes and isn't matched any more.

Example:

  1. Create a rule matching youtube.com that pin's the tab
  2. Open a new tab and go to youtube.com
  3. Tab gets pinned and moved to the left
  4. Go to github.com
  5. I would now wish that the tab got unpinned

Port to FireFox?

Can you port this add-on to FireFox?, I recently changed from Chrome to FireFox because of faster performance but there are no tab modifying add-ons in the FireFox add-on store

Pinned not working

Dear,
I just try using tam modifier for opera, and bellow is the script that I want to use to pin all 5 site, but none of them pinned, can you help me what wrong with script ?

Thank you in advance.

PS: I'm using opera 37 on PC

{
    "rules": [{
        "name": "Gmail",
        "url_fragment": "mail.google.com/mail/u/0/?#inbox",
        "tab": {
            "title": null,
            "icon": null,
            "pinned": true,
            "protected": false,
            "unique": false,
            "muted": false,
            "url_matcher": null
        }
    }, {
        "name": "ID-BB",
        "url_fragment": "mail.google.com/mail/u/1/#inbox",
        "tab": {
            "title": null,
            "icon": null,
            "pinned": true,
            "protected": false,
            "unique": false,
            "muted": false,
            "url_matcher": null
        }
    }, {
        "name": "Office",
        "url_fragment": "mail.google.com/mail/u/2/#inbox",
        "tab": {
            "title": null,
            "icon": null,
            "pinned": true,
            "protected": false,
            "unique": false,
            "muted": false,
            "url_matcher": null
        }
    }, {
        "name": "Yahoo",
        "url_fragment": "mg.mail.yahoo.com/neo/",
        "tab": {
            "title": null,
            "icon": null,
            "pinned": true,
            "protected": false,
            "unique": false,
            "muted": false,
            "url_matcher": null
        }
    }, {
        "name": "Feedly",
        "url_fragment": "feedly.com/i/latest",
        "tab": {
            "title": null,
            "icon": null,
            "pinned": true,
            "protected": false,
            "unique": false,
            "muted": false,
            "url_matcher": null
        }
    }]
}

Feature requests: enable rule depending on computer

Hello,

I use Tab Modifier extension on my professional computer, Chrome extensions are synchronized with all my computers so when I use my personnal computer, Tab Modifier is enabled, rules are synced and I don't want it.

Is it possible to enable/disable Tab Modifier rule (or extension) depending computer on which I am connected ?

Thanks

Fira Sans problem in Chrome

Hej,
I've tried the extension, but it seems that Chrome seems to be having some troubles rendering the Fira Sans font that You've decided to use.

I'm not sure if it's just my case - googling returns quite a few results for the same thing, so I presume it's not THAT uncommon.

Any chance You could use another and/or more general typeface in the next releases?

Since You're using it pretty much everywhere, the unfortunate result of this bug is that the extension displays without any text whatsoever... Kinda nasty unless You're used to work with webdev / chrome extensions...

image

Javascript Change Title

This is a great extension. Simple and clean.
But website is able to change tab's title with javascript.
This is bad for this extension. Example page: facebook.com.
My suggestions for problem solving are:
1.) Check every x (2-5-10-30) seconds if title changed.
2.) Monitor all ajax events and fire title check after ajax success.

[Feature Request] Update Title on content change?

I'm trying to use chrome-tab-modifier to display the current track on plug.dj. It works, but when the song changes the tab title does not update. This would be a great feature for many sites I believe.

crosh window?

I'd like to get this to work with crosh windows but either I'm not setting it up properly or its just impossible.

So, for me, this is the "URL" of a crosh window
chrome-extension://nkoccljplnhpfnfiajclkommnmllphnl/html/crosh.html

I've tried matching the entire string, the randomish looking "nkoccljplnhpfnfiajclkommnmllphnl", and "crosh.html"

Nothing works

Doesn't work with html5 pdf viewer

Hello,

I am viewing a local pdf file with the extension Pdf Viewer, the url is:

chrome-extension://oemmndcbldboiebfnladdacbdfmadadm/file:///C:/Users/agm/Downloads/funny-quotes.pdf

I cannot rename the tab. Everything else is working fine, I can rename online stuffs like gmail and yahoo emails.

Thanks for your help :)

Changing title of YouTube locks up Chrome

I don't know if there's anything to be done about this, but since YouTube probably change their title as well through Javascript, using this addon to change titles on YouTube sends the browser into some kind of infinite war of title changes.

Chrome Tab modifier for "built-in" Tabs (e.g.chrome://history)

Unfortunately it ist not possible to change the adressbar-icons from "internal" Chrome-Adresses like
"chrome://history".

Do you know how this can be achieved or do you plan a future version to make it possible ?

Maybe you know where Chrome stores the graphic data for those "default Icons" (like the clock icon from the history tab) ?

Self-refreshing Tabs?

Great extension, thanks. Is there a way to stop tabs from refreshing by themselves (i.e. Twitter home stream), as this changes the tab title back to the unmodified one.

What to input in URL matcher?

My aim is to automatically rename tabs using the URL.

For example: if the URL is cdetsng.company.com/blah/ABCde12345&xyz=1/... , then I want to tab tile to display only the variable part "de12345", because the part before that remains same (like for ABCef67890, the URL will be cdetsng.company.com/blah/ABCef67890). (I can easily put the title as ABC, but that's of no use to me.)

What should go in URL matcher to do this?
screen shot 2016-10-04 at 6 19 27 pm

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.