piroor / backtoowner

Backs to the owner tab, if there is no history to back.
http://piro.sakura.ne.jp/xul/_backtoowner.html.en
2 stars 0 forks source link

Mouse Gestures History Navigation #6

Open orbisvicis opened 10 years ago

orbisvicis commented 10 years ago

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,

piroor commented 10 years ago

Because nsIWebNavigation#canGoBack is a readonly property, it is hard to be done by this addon that working together with other addons like FireGestures...

Instead, this addon updates "disabled" attribute of <xul:command> elements (<command id="Browser:Back"/>, <command id="Browser:BackOrBackDuplicate"/>, <command id="Browser:Forward"/> and <command id="Browser:ForwardOrForwardDuplicate"/>. So, if other addons like FireGestures use these XUL elements instead of raw APIs, they will work together with this addon.