Skip to content
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

Temporary rename and reset when the tab is closed #3

Open
imageslr opened this issue Feb 22, 2021 · 4 comments
Open

Temporary rename and reset when the tab is closed #3

imageslr opened this issue Feb 22, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@imageslr
Copy link
Owner

No description provided.

@imageslr imageslr added the enhancement New feature or request label Feb 22, 2021
@dnknn
Copy link

dnknn commented Feb 28, 2021

Temporary rename :
it can also use 🏃omnibox⌨ to trigger temporary rename, It will also be very convenient!

  • Expected behavior:

    the 🏃omnibox-key⌨ of Tab Renamer is tr
       1. Alt+D to focus browser address bar.
       2. Typing tr + Space/Tab
       3. Typing "xxxxxxxx"
       4. Enter
       5. The title of this tab page will temporarily become to "xxxxxxxx"

  • user UI

chrome://settings/searchEngines#:~:text=added by extensions
chrome://flags/#omnibox-ui-max-autocomplete-matches

If you have used omnibox, you will know the it very well!


  • 📖 API documentation

https://developer.chrome.com/docs/extensions/reference/omnibox/

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/omnibox


  • Some extensions of only omnibox feature:

Omnibox Timer Again   🏃omnibox⌨ta
  https://chrome.google.com/webstore/detail/nocmdcegkncmgdianofhdlhbaoinmonm

This lightweight tool is also good, you can create reminders directly in the address bar, which is very convenient and direct.

 
Bookmark Search   🏃omnibox⌨bm
  https://chrome.google.com/webstore/detail/hhmokalkpaiacdofbcddkogifepbaijk

Instant Multi Search   🏃omnibox⌨m
  https://chrome.google.com/webstore/detail/aamgapdgopfdmokckpkfciiddpahbbcg

 
ContextSearch web-ext   🏃omnibox⌨cs

(This extension is very powerful, and it also perfectly supports the omnibox)

https://chrome.google.com/webstore/detail/ddippghibegbgpjcaaijbacfhjjeafjh

@imageslr

@imageslr
Copy link
Owner Author

imageslr commented Mar 1, 2021

@dnknn It seemes that omnibox can only support one keyword for each extension. Which action do you think is better? To rename permanently or temporarily?

@imageslr
Copy link
Owner Author

imageslr commented Mar 1, 2021

@dnknn It seemes that omnibox can only support one keyword for each extension. Which action do you think is better? To rename permanently or temporarily?

This is wrong. I have seen the issue of ContextSearch. We can use tr as the key. By default entering tr {title} means temporarily rename, and tr p {title} means permanently rename. How about that?

Permanently or temporarily, which should be set to the default action?

@dnknn
Copy link

dnknn commented Mar 1, 2021

It seemes that omnibox can only support one keyword for each extension.

At the extension manifest.json file 👉 "omnibox": { "keyword": "tr" }
Corresponding to the 👉 chrome:settings/searchEngines#:~:text=added by extensions

Start the extension omnibox command/key, there can only be one, that's right!
But after startup, the extension itself can be programmed infinitely. Like you said:

We can use tr as the key. By default entering tr {title} means temporarily rename, and tr p {title} means permanently rename.


Permanently or temporarily, which should be set to the default action?

Obviously, it must be temporarily as the default action!
Since it is a temporary name change, it must be possible to complete this operation as quickly/conveniently as possible!

even, "tr p {title} means permanently rename," this is not required :
Because Permanently, you often need advanced options such as regular matching, so Permanently, you can only operate on the options page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants