Coder Social home page Coder Social logo

Comments (10)

kesselborn avatar kesselborn commented on June 25, 2024 1

I like the mockup and the idea. With web extensions something similar could be achieved with the following limitations:

from conex.

kesselborn avatar kesselborn commented on June 25, 2024

screen shot 2017-09-21 at 20 40 13

Using the omnibox has some annoying limitations (see markings on image):

  • you need to prefix your url or search with a keyword (I chose tab here)
  • the text is one character behind of the text in the omnibox (that can probably be fixed ... just did a quick test)
  • there is no way to style the text behind the url (green in the image) and it is always prefixed with the keyword (again: here the keyword is tab)
  • there is no way to set a custom icon ... not that important
  • entries are limited to 6 entries

... as those are all limitations an addon cannot overcome, I doubt there is a way to implement this using the omnibox

from conex.

smichel17 avatar smichel17 commented on June 25, 2024

Ah, didn't mean that mockup necessarily. For this extension, I just figured it would use the same interface that already exists for changing containers.

from conex.

smichel17 avatar smichel17 commented on June 25, 2024

Hmm, other extensions (context plus and container switch) seem not to be able to change the container of a new tab -- maybe this is not possible in the webextension api?

from conex.

kesselborn avatar kesselborn commented on June 25, 2024

well: it's not possible to intercept the action of pressing enter in the location bar.

  • Taborama will open a new tab in the same container by default when pressing CTRL-T
  • I will add the possibility to change the container for new tabs (currently, the page action is hidden on new tabs)

... is that what you meant with "use the same interface that already exists for changing containers"? It's not exactly the same but would perhaps be an okayish compromise

from conex.

smichel17 avatar smichel17 commented on June 25, 2024

Yes, that's what I meant :)

from conex.

kesselborn avatar kesselborn commented on June 25, 2024

cool ... it's in v0.0.42 ;)

from conex.

smichel17 avatar smichel17 commented on June 25, 2024

Got it! A few things:

  • Would it be possible to enable this even when privacy mode is selected, but only on the new tab page? I don't think there are the same privacy concerns as changing an existing tab, because nothing has been requested yet (as noted earlier, with the possible exception of search suggestions).
  • On the new tab page, any text that's in the omnibar when you change the container is lost. Is it possible to save and re-populate it?

aside: wow, that turnaround time was really impressive

from conex.

kesselborn avatar kesselborn commented on June 25, 2024
  • what does "when privacy mode is selected" exactly mean? You mean the taborama setting about moving tabs between containers? If yes, that would make sense ... could you create an issue for this if that's what you mean?
  • regarding the second point: this would be a very hackish solution where the addon would pretentd to be an omnibox extension without actually being one ... not sure it's possible to make that a good user experience

from conex.

smichel17 avatar smichel17 commented on June 25, 2024

very hackish solution where the addon would pretentd to be an omnibox extension without actually being one

I'm not familiar with the webextensions api, so I'm not sure what pretending vs actually being an omnibox extension means. However, I think it is a bad user experience to open a new tab, type a uri, change the container, and then have whatever you just typed disappear.

I will create a new issue for both :)

from conex.

Related Issues (20)

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.