Giter VIP home page Giter VIP logo

Comments (5)

benjaminoakes avatar benjaminoakes commented on August 24, 2024

Hi Boris,

Thank you for the kind words; I'm happy that you find TabCarousel useful!

Actually, TabCarousel does work the way you describe; it loads URL currently in the tab:

chrome.tabs.update(tabId, url: t.url)

Originally, it did simply refresh, but I noted the problem you mentioned above.

I am interested in taking a look in what might be going wrong in this case, however. Could you give an example of a URL that exhibits this problem, please?

Unfortunately, I can't speak to a timeframe on implementing your request (although I like it) since TabCarousel is something I maintain in my spare time. If you know JavaScript/CoffeeScript, contributions are welcome! 😄 Otherwise, Flattr is always an option:

Flattr this git repo

Best wishes,

Ben

from tabcarousel.

borismasis avatar borismasis commented on August 24, 2024

Hi Ben,

Thanks for your reply! Unfortunately most of our urls are behind a login, however here is a different example: http://www.irt.org/articles/js021/test.htm

Will TabCarousel go back to this page even though it redirects somewhere else in 10 seconds? Here's another scenario:

  1. Chrome is set to open a url at load
  2. The page requires authentication and lastpass automatically logs in
  3. The website does not auto-forward to the originally requested url (it would be great if TabCarousel jumped in here and tried loading the originally requested url anyway)

Does that sound possible?

Thanks again,

  • Boris

from tabcarousel.

benjaminoakes avatar benjaminoakes commented on August 24, 2024

Hi Boris,

That sounds like a possibility. My current thinking is that TabCarousel could take a "snapshot" of the URLs that are open when the toolbar button is clicked.

To illustrate:

TabCarousel has not been activated

Tab 1: http://www.irt.org/articles/js021/test.htm
Tab 2: http://some.page.org/that/requires/a/login.html
Tab 3: http://status.someservice.com/

The TabCarousel button is clicked. The URLs for the tabs should be the above, even if you had gotten redirected after starting, you had to log in, etc.

If that works for you, it seems possible. However, there are some weird cases you could fall into if a tab is closed or opened while TabCarousel is running. Those would need to be thought out.

Thanks for taking the time to write in about this!

Ben

from tabcarousel.

borismasis avatar borismasis commented on August 24, 2024

Hi Ben,

Yes, that sounds perfect and I bet it would solve this issue!

The only (potentially) tricky point I can think of is getting to the urls before they are redirected. I have chrome set to to auto-open certain pages and auto-start TabCarousel. In this case TabCarousel would need to take the snapshot of the urls before they are redirected to a login page (which might happen almost instantaneously).

Thank you for your quick replies and for looking at this!

  • Boris

from tabcarousel.

benjaminoakes avatar benjaminoakes commented on August 24, 2024

No problem! It will probably be a while before I can implement this, but I am hoping to make another release to clean up some issues users have reported.

Best wishes,

Ben

from tabcarousel.

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.