[Support] FoxyTab


(erosman) #82

The resource is not a big issue, since addon has to get all them anyway… but listing 100s would clutter the display. I keep Firefox open for the whole day and the list could be1000s.

It would be possible to add another configuration for the number…but is it really needed? How often people want to restore a tab that they closed 100 tabs ago?

Nowadays, most sites use dynamically generated pages. That means, restoring the tab would be similar to re-opening the same URL and it becomes just a history listing.


(Klint) #83

I think my request makes more sense in the context of using TabMixPlus in a way that every new link opens in a new tab, whatever the origin is (bookmark, search result, from within a page to a new hostname).

In that case, the history per tab is less used and the list of closed tabs is more (also a feature of legacy TabMixPlus).

Speaking of which, I havent retrieved this “open in new tab” feature to the same extent with FF57…yet.
And I would say that 20 entries would be enough.


(erosman) #84

“Personal” Lightweight Themes coming in FoxyTab v2.10

Lightweight Themes change the text colour and background of the Tabs and Tab area header. I have completed the code and interface and I am testing (plus code clean up).
The new feature will enable users to easily Create/Import/Export/Apply their own Lightweight Themes (Firefox 55+) for personal use or sharing.

Anyone interested can make a depository of FoxyTab themes for sharing.

FoxyTab Theme manifests can be imported into FoxyTab in the following JSON format, using any available properties listed on MDN theme.

The main difference is that images must be in Data:URI format. Maximum size allowed for the JSON is set to 500kb. (I may work on fetching remote images in future updates :thinking:)

The minimum requirements for a theme are “accentcolor” & “textcolor”.

Example of a FoxyTab Theme: (e.g. sometheme.json)

{
  "name": "Theme Name",
  "description": "A short explanation of your theme",
  "version": "1.0",
  "homepage_url": "https://.../",
  "author": "your name",

  "theme": {
     "images": {
       "headerURL": "data:image/jpg;base64 ...",
       "additional_backgrounds": [ "data:image/png;base64 ..."]
     },
     "properties": {
       "additional_backgrounds_alignment": [ "top" ],
       "additional_backgrounds_tiling": [ "repeat"  ]
     },
     "colors": {
       "accentcolor": "green",
       "textcolor": "#000"
     }
   }
}

PS. I will work on Toolbar button pop-up with the previously requested features for FoxyTab 2.11


(Gary Kwong [:gkw] [:nth10sd]) #85

The minimum version of Firefox for FoxyTab is 53. Is there anything blocking whether the minimum version can be set at 52 for the last ESR?


(erosman) #86

The ability to add context-menu to Tabs was added in Firefox 53.

The bootstrapped FoxyTab v1.3.2 could be used but it only had the basic features.


(erosman) #87

Host IP Flags coming in FoxyTab v2.10

I had been using an add-on that showed Flags for the location of the page host for years. Sadly, it has not been updated for FF57 yet, so I included a feature to show Host/IP Flag in FoxyTab. It was the original intension behind Copy IP feature.
Disabling the Copy IP will also disable the Flag display.


(Mike Irvin) #88

As a user of Tree Style Tabs to get vertical tabs, it is not currently possible to get access to tab-level functions like yours as those menu options are not available. Is it possible to create an add-on button such that when pressed it would present the same options as right-clicking on the tab itself?

Sincerely,
Mike


(erosman) #89

If you are referring to Tree Style Tab , the vertical tabs you see in the sidebar are not Tabs at all. They are simply a list made up of Tab details which selects the actual tab once you click on them.
The actual tabs are still visible in the tab-bar and the FoxyTab should show on them once clicked.

AFA functionality on the listings in ‘Tree Style Tabs’, that is something that has to be handled by that add-on developer. WebExtension API does not allow changes to the Firefox ContextMenu so at best, the developer can mimic some of those actions so it is mostly possible.


(Mike Irvin) #90

If you are referring to Tree Style Tab , the vertical tabs you see in the sidebar are not Tabs at all. They are simply a list made up of Tab details which selects the actual tab once you click on them.
The actual tabs are still visible in the tab-bar and the FoxyTab should show on them once clicked.

AFA functionality on the listings in ‘Tree Style Tabs’, that is something that has to be handled by that add-on developer. WebExtension API does not allow changes to the Firefox ContextMenu so at best, the developer can mimic some of those actions so it is mostly possible.

Thanks for the detailed reply erosman. Yes, I was referring to Tree Style Tab and I do realize they are not real tabs, but just representations of the actual tabs. I did forget to mention that most users of TST just use CSS to hide the horizontal tab bar as it is relatively redundant. (I did validate that leaving the horizontal tab bar exposed everything obviously works fine)

Some of the other related add-ons (rename tab title, tab auto refresh, etc.) have dedicated buttons that act on the selected tab and got me thinking that if you had the same it would simply provide the same options as provided by right-clicking on the actual tab and showed only your add-on options. People who hide the tab bar can then still get access to add-on functionality. (I was a little surprised you didn’t have a button other than the tab counter)

Let me talk to piroor (TST dev) and get his take on the situation, but doubt it will be an easy fix. Thanks.


(erosman) #91

The TabCounter and Toolbar button is a new addition. I will be adding more functions to it in future updates but toolbar buttons don’t have access to the same data as the Tab contextmenu. Some of the data can be obtained with a lot of extra code but some cannot… for example you can click an inactive tab and run FoxyTab and that would not be possible with a Toolbar buttons.

AFAIK, hiding horizontal Tabs with CSS would not possible in FF57+


(Mike Irvin) #92

The TabCounter and Toolbar button is a new addition. I will be adding more functions to it in future updates but toolbar buttons don’t have access to the same data as the Tab contextmenu. Some of the data can be obtained with a lot of extra code but some cannot… for example you can click an inactive tab and run FoxyTab and that would not be possible with a Toolbar buttons.

Thanks for the info. I was not aware of the “access” situation with some of the data.

AFAIK, hiding horizontal Tabs with CSS would not possible in FF57+

I’m running FF57 beta now and have no problems hiding the tab bar. (I actually really like this configuration as all my tabs are vertical and I have been able to merge everything else into a single “row” thus maximizing my vertical browser space.)


(erosman) #93

How are you doing it?


(Mike Irvin) #94

How are you doing it?

userChrome.css:

#titlebar{ margin-bottom: -29px !important;}
#titlebar-content{margin-bottom: 0px !important;}
#main-window,#TabsToolbar{background-color: var(–chrome-secondary-background-color) !important;}
#TabsToolbar>*:not(:last-child){visibility:hidden;height:32px;}
#nav-bar{border-top:0px !important;margin-right:144px;margin-top: -32px;}


#95

Cool addon. Would it be possible to add an option to suspend tabs? Would be super if it could include a “To the left” / “To the right” option too.


(erosman) #96

I will look into it for the future updates. :slight_smile:


(erosman) #97

FoxyTab v2.10 with 2 major new features is ready for release. I hope I have checked all possibilities for error but let me know if they are any issue.

@yfdyh000 I have updated the en file. :slight_smile:

I am travelling to London for the Mozfest next week so I may be less active. :wink:


(YFdyh000) #98

A flag switch should into options.


(erosman) #99

It is tied to Copy Tab IP. If you disable it, it will disable the flag as well.
Disabling the Copy Tab IP menu, will disable all the listeners as well.
It is in the Help.


(Роман Игнатьев) #100

Host IP Flags coming in FoxyTab v2.10

I’m behind the corporate proxy and for remote sites it shows the Private Network icon and IP of my proxy server. Could you fix it?


(erosman) #101

FoxyTab gets the IP from Firefox and if Firefox gets the local IP, that is all it can get. It is possible to get the IP by making a call to outside servers but that would enable them to track you which is not good. I will see if I can a way.

Try setting the DNS server manually to Google DNS or OpenDNS etc and let me know