imageslr / chrome-tab-modifier

Take control of your tabs
https://chrome.google.com/webstore/detail/tab-renamer/kpijejpdbpeaakidlcopnbjohbfimnod
MIT License
10 stars 0 forks source link

Temporary rename and reset when the tab is closed #3

Open imageslr opened 3 years ago

dnknn commented 3 years ago

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


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


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

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


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 commented 3 years ago

@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 commented 3 years ago

@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 commented 3 years ago

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.