-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What to input in URL matcher? #39
Comments
Hello @hartnn, You have to put the write RegExp that will catch the need part of text. Maybe @denilsonsa may help you? And just write $1 in the title input to display it. Bests |
Thanks for the prompt reply sylouuu! doesn't work.... |
First you wrote I'd try: It occurred to me that the URI is probably changing after the page load, and I don't think the extension supports it yet. @sylouuu try this:
|
Hey @denilsonsa, Thanks for this answer. Waiting for @hartnn reply to know if your suggestion solves his issue. By the way, you just pointed a bug. Actually, the overall process isn't applied when the hash changes, only on page load. I should reprocess when this event is fired. Bests |
Yes! That works. Worked for Just one minor thing: Is this the same bug you both are talking about? |
Glad it's OK. Yes it's a bug I just noticed.
I will plan this fix. Bests |
That's why. You showed us one kind of URL, but were trying to match against a different kind.
The part 3 of this regex can't match anything on that URL from the top of this comment, but works on the other URLs you showed in your earlier comments. |
Just released 0.16.1. This will fix the window hash detection. Bests |
I think I have to revert this @hartnn @denilsonsa.
The tab title is not as expected. |
The fix takes previous title and runs the rule again through processPage(), PS : Your fix works fine for my set of web pages. |
Just reverted previous changes. Sorry. I'll take a look later about that. Bests |
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](https://cloud.githubusercontent.com/assets/22617356/19076209/7ceafd2c-8a65-11e6-9edd-a78793907ee5.png)
The text was updated successfully, but these errors were encountered: