GithubHelp home page GithubHelp logo

piroor / backtoowner Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 103 KB

Backs to the owner tab, if there is no history to back.

Home Page: http://piro.sakura.ne.jp/xul/_backtoowner.html.en

Makefile 0.35% JavaScript 99.40% Shell 0.14% Batchfile 0.11%

backtoowner's People

Contributors

piroor avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

backtoowner's Issues

Mouse back button does double-back

Steps to reproduce:

  1. Use a tab with some history
  2. Open a link in a new tab
  3. Click the back button on your mouse

Expected behaviour:
Previous tab (from step 1.) gets focused

What happens instead:
Previous tab gets focused and goes back one page in its history.

Using back button of Firefox or Alt+left works fine.

Mouse Gestures History Navigation

I'm assuming this addon replaces the "back" functionality of firefox, because other addons continue to exhibit the old behaviour. For example, Fire Gestures stops at the end of the current tab's history while firefox's back botton, with this addon, continue further back into the owner tab.

So, is it possible to get FireGestures to work with this addon?

Sincerely,

Stopped working

As of FF 4.0 RC1 (or thereabouts), it has been broken, and doesn't work any more. Awesome extension that I wished worked again.

Doesn't work when new tab has no history

With FF 10/11/12 (somewhere in there), they hide the back button if no history exists for the tab. At the same time, that broke backtoowner.

If I choose, for example to open a new link in a foreground tab, then hit the back button on my mouse, nothing happens. (Before, it would close the tab, taking me back to the tab's owner--the purpose of this extension). Same thing if I click a url link that has target=_blank that creates a new tab for it.

But, as soon as I click a link in the new tab, then hit back twice, then it closes the tab.

Or, even if I click away from the new tab (to another tab) and come back, then it works.

Please fix this. Having it be 'modal' where it works sometimes and not others takes away the consistency, and makes it unusable.

Divergent History

If it is possible to detect when the history of the owner and child tab are no longer continuous, would you be willing to provide a feature the prevents the addon from crossing tabs under such a condition?

For example, using the following baseline:
// C tracks back to B
Tab #1: A -> B (open child tab #2)
Tab #2: C

Case #1: Owner diverges by moving forwards.
// C can't track back to B because D interferes
Tab #1: A -> B -> D
Tab #2: C

Case #2: Owner diverges by moving backwards
// C can't track back to B because B no longer exists
Tab #1: A
Tab #2: C

Of course, I have Tree-Style Tabs installed, if that helps, because it is awesome.

Thanks,

Make compatible to e10s

Currently backtoowner detect relation of tabs based on browser.contentWindow.opener, but it is not available for e10s tabs. We have to introduce a new frame script to report relation of webpages.

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.