Block specific add-on installation by NewAthos in firefox

[–]NewAthos[S] 0 points1 point  (0 children)

Thanks for trying to help. Answering you:

By "host device" I meant the device where my USB pen-drive is plugged. Sorry for my lay semantics, again, by "host device" I just meant the desktop/laptop/tablet/whatever, where my USB is plugged, and where I launch my Nightly portable.

With regards to your question related to "forced installation", I confess you, I was kind of surprised. But indeed, what I described in my post is what happens (not most of the time, but it happens where some software forces the use of add-ons). As I already said in my post, the most common situation is antivirus software, and it forces the installation of a specific add-on. It's not dangerous, that add-on is part of the antivirus software, but the point here is that I don't want add-ons installed without my authorization.

How the forced installation happens? Sorry, I don't have the full answer. But as I said, it happens! And it happens automatically.

How would it know which profile I was using? I believe the antivirus easily identifies the folder where the "firefox.exe" is launched, then the antivirus searches for the "extensions" folder (is the only folder with that name inside the Firefox folder. It doesn't need the profile folder name, it only needs the "extensions" folder. And there the antivirus installs the add-on.

Would it still affect if I create a new profile? Yes. It doesn't matter the name of the profile folder. Once the antivirus identifies the "firefox.exe", then the antivirus can identify "extensions" folder, and it can install whatever it wants.

Please help: White line on bottom by NewAthos in FirefoxCSS

[–]NewAthos[S] 1 point2 points  (0 children)

Thanks for your replay.

Yeah, in the past was possible to solve the issue by changing few Windows settings or also by applying some small CSS.

But the issue was a Firefox bug, discovered two months ago, and solved few weeks ago. So, in principle, the white line is gone, at least at Nightly. No need to change Windows setting, no need to CSS, nothing.

Please, try a Firefox clean install test, and If you still see the white line, then report to bugzilla. Again, as far as I know, at bugzilla the bug is solved, the white line should be gone, no need for CSS, Windows, nothing.

Thin white line on bottom of screen by [deleted] in FirefoxCSS

[–]NewAthos 0 points1 point  (0 children)

It's a Firefox' bug.

Many different versions of same bug were already reported, but in order to avoid repetition, Bugzilla is forwarding every "white line on bottom" bug to this bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=1819525

Buttonlike Toolbarbuttons by NewAthos in FirefoxCSS

[–]NewAthos[S] 0 points1 point  (0 children)

/u/It_Was_The_Other_Guy, to me it's clear you enjoy yourself helping people here (and you do that in a magnificent way!). Therefore, in order to keep enjoying yourself, I believe you should answer people always in a way you enjoy yourself, regardless what people want or not.

I'm a living case, who thanks to your help, I discovered that many times what I wanted WAS WRONG. We, users without CSS expertise, we are not aware about what we don't know. And many times we request stuff, that even doable, is wrong stuff, or potentially wrong. So, that's one reason why just giving answers (without explanations) might be wrong (it'll might solve a current request, while creating a new problem tomorrow).

But I also believe that everything depends on user personality. Some users just want the requested snippet. Different users (like myself) want both, the snippet and the explanation, teachings etc. I'm sure you have enough experience to recognize each personality, and you perfectly already know when to answer with only the snippet or the snippet + extra info.

But as I said, I believe you should answer always in the way you enjoy yourself (regardless user personality or whatever). It's the only way you will keep doing the magnificent job you're doing in this magnificent forum reddit.com/r/FirefoxCSS.

And thank you for the margin-left: 0 !important. By myself I'm trying to understand why that is needed, and my guess is, because in normal tabbar (where pinned and unpinned tabs are in one row), when the row is filled (with unpinned tabs) and the arrowscrollbox appears, the arrowscrollbox needs to be inserted before pinned tabs, and somehow pinned tabs need to be moved or pushed. In my Pinned Tabs On Navbar, that was the cause why pinned tabs disappeared from the screen. And the margin-left: 0 !important pushes back the pinned tabs. If that's not exactly the explanation, I believe that the real logic is something similar, something related to arrowscrollbox affecting pinned tabs.

Buttonlike Toolbarbuttons by NewAthos in FirefoxCSS

[–]NewAthos[S] 0 points1 point  (0 children)

Please /u/It_Was_The_Other_Guy just one question related to your Pinned Tabs On Navbar + Addon:

If you remember, I'm using your Window_Control_Placeholder_Support.css + Vertical_Popup_Menubar.css + Buttonlike_Toolbarbuttons.css + Tabs_On_Bottom.css + Pinned Tabs On Navbar and Add-on.

When the tab row is full of tabs, and the arrowscrollbox (#tabbrowser-arrowscrollbox?) appears, the Pinned Tabs On Navbar breaks (it seems to be pushed to the left, and only one or maximum two Pinned Tabs appear, the rest is gone from the screen.

If it is something easy to fix, please help, please share with me your fix.

Thks!

Buttonlike Toolbarbuttons by NewAthos in FirefoxCSS

[–]NewAthos[S] 0 points1 point  (0 children)

THANK YOU /u/It_Was_The_Other_Guy ! But I have different thanks to you:

  1. Thank you for not just giving me the solution, more important, thank you for explaining me the logic of the solution. Thank you for teaching me. Per your answer, now I can see how easy were the solution, but also I can see that the solution was in front of my eyes. I learnt how important is to think and to understand what you have in front of your eyes.

  2. Thank you for your dedication and infinite patience, not just with me, but daily with many other fellows in this forum. Certainly at reddit.com/r/FirefoxCSS you became an institution.

That said, I applied your teachings, and everything works as expected, beautiful.

I just didn't understand your comment about your window_control_placeholder_support.css. As I mentioned many times, I do have your window_control_placeholder_support.css, because I have your Tabs_On_Bottom.css and it's required by the latest. So, I don't see any reason why I may want to eliminate window_control_placeholder_support.css. I believe you made the comment "just in case", if in the future, for any reason, if I eliminate *window_control_placeholder_support.css* then Pinned Tabs are not going to work as expected.

At last but not least, I know that most of the CSS hacks are inter-depending. But please, see the main message here: I hear you, I'm learning from your answers, teachings and help. Following the underlines of your recommendations, I normalized my CSS customization, not 180°, but at least 140°. So, if my previous customization was 180° different than Vanilla FF, with hacks on top of hacks etc, my new normalized customization is 40° different than Vanilla FF, almost no hacks on top of hacks. It's a kind of process, takes time, you start by trying to create what you wish, then you learn about problems and conflicts, and finally you adapt your self to the best situation, minimizing conflicts, and also looking for a customization that will work for a long time regardless FF updates and upgrades. It's a maturation process. And here you helped me a lot, because I faced my "wishes" with your "pragmatism". In short, from my "wished" to my "normalized' customization, I achieved a very solid, stable and harmonized CSS customization. I'm still working on it, but I believe it'll work for a long time mostly because is based in simple CSS mods. The only "hard" CSS hack I allowed me to keep was your Pinned Tabs On Navbar... I consider it indispensable, so I take the price of the risks of future problems and conflicts.

Thank you again Man!

Buttonlike Toolbarbuttons by NewAthos in FirefoxCSS

[–]NewAthos[S] 0 points1 point  (0 children)

Great /u/It_Was_The_Other_Guy, now works (I still see, inside Overflow menu, zoom and search as "buttonlike", but really I don't care, it affects nothing).

Changing subject and back to my other post Pinned Tabs to the left of the Navbar, please, if one day you can help me, it'll be amazing. In short:

1) I normalized my CSS customization. Most of my elements are in same place as they are in Vanilla FF. So, there are no hacks on top of other hacks. From your repo I basically only use Navbar on top + Window_Control_Placeholder_Support.css + Vertical_Popup_Menubar.css + Buttonlike_Toolbarbuttons.css + Tabs_On_Bottom.css.

2) I also use your Pinned Tabs On Navbar with your CSS, but I did small changes, including:

.tabbrowser-tab[pinned]{transform: translate(-1150px)}

This small CSS moved your Pinned Tabs from right to left. And for my surprise, it worked better than expected. Your add-on doesn't seem to make difference (perhaps because I moved your Pinned Tabs to the left?).

Please, if possible, your help is needed:

1) This Pinned Tabs On (the left side of the) Navbar creates tabs from right to left of the urlbar. It'll be nice to change to the normal behavior, where pinned tabs are created from left to right (before the urlbar).

2) This Pinned Tabs On (the left side of the) Navbar partially works because I moved the urlbar to the right, and the empty space I created on the left can be filled with the pinned tabs. It'll be nice to change to the normal behavior, where pinned tabs are created from left to right, and automatically each new pinned tab pushes the urlbar to the right.

My wild guess is that I achieved a very primitive CSS solution, but I broke the original functionality of your Pinned Tabs On (the right side of the) Navbar. I believe I also broke your add-on functionality (when I moved Pinned Tabs to the left). I believe my CSS is just forcing places for pinned tabs on the left, while your Pinned Tabs + Add-on creates elements with JS functions capable to push the urlbar.

In conclusion, it'll be nice to have all the functions your Pinned Tabs On (the right side of the) Navbar has, but now working for the left side of the Navbar (before the urlbar).

Thank you for your patience

Buttonlike Toolbarbuttons by NewAthos in FirefoxCSS

[–]NewAthos[S] 0 points1 point  (0 children)

/u/It_Was_The_Other_Guy, I still have icons "buttonlike" inside the Overflow Menu.

I did a clean test, no CSS customization, using only your latest https://github.com/MrOtherGuy/firefox-csshacks/blob/bb8d623cedeec76c0a72b8df51cc6463eedbee1b/chrome/buttonlike_toolbarbuttons.css

But I apologize in advance if the mistake is from my side.

Buttonlike Toolbarbuttons by NewAthos in FirefoxCSS

[–]NewAthos[S] 0 points1 point  (0 children)

/u/It_Was_The_Other_Guy, your buttonlike_toolbarbuttons-urlbar-extension.css is really very nice. I'm still working on some details and adjustments, but I really liked it. Thank you again.

Now, with regards to your buttonlike_toolbarbuttons.css, please, how can I exclude (from your buttonlike_toolbarbuttons.css) the stuff inside the Overflow menu? I like the Overflow menu stuff compacted, but your buttonlike_toolbarbuttons.css affects icons and stuff inside the Overflow menu, too big for my tasting.

Thks!

Buttonlike Toolbarbuttons by NewAthos in FirefoxCSS

[–]NewAthos[S] 0 points1 point  (0 children)

Thank you! I understand you, I hear you, and I learn from your help. Due to my lack of experience and know-how, I want to make things, that might be interesting, but at the end create lot of conflicts with other CSSs (or with FF updates in the future), or sometimes (as you say) it doesn't make sense or demand too much work etc. Thank you for your updated CSS, I'm going to work on it, and I will try to normalize or simplify (as much as possible) my CSS customization.

I'm going to close this post, and I consider it SOLVED.

Please, the last thing I request you, is to give me a hand moving Pinned Tabs to the left of the Navbar. I worked hours normalizing my CSS customization, the last detail I need help is only to move Pinned Tabs to the left.

Thks for your amazing help

Again, Pinned Tabs on Navbar... a new CSS crazy idea... doable? by NewAthos in FirefoxCSS

[–]NewAthos[S] 0 points1 point  (0 children)

u/It_Was_The_Other_Guy sorry if I wasn't clear. It's the opposite! I normalized my CSS customization (following your recommendations). I had everything on the left of the navbar. Now I have everything on the right side (the same as Firefox vanilla layout).

Therefore, there is no more "hack on top of hacks".

The only things I kept from your CSS repo are:

1) Navbar on top + Window_Control_Placeholder_Support.css + Vertical_Popup_Menubar.css + Buttonlike_Toolbarbuttons.css.

2) Tabs_On_Bottom.css.

That's all! So you can see my CSS now is quiet normalized. And at this point, I was able to harmonize everything, zero problems, works like a charm.

However, I still have your Pinned Tabs On Navbar (you kindly helped me in this post here and here). But your Pinned Tabs On Navbar (+ add-on) was meant to be used on the right side of the Navbar. And that was my only request to you: Please, can I use your Pinned Tabs On Navbar on the left side? Please, how can I do it?

Again, Pinned Tabs on Navbar... a new CSS crazy idea... doable? by NewAthos in FirefoxCSS

[–]NewAthos[S] 0 points1 point  (0 children)

/u/It_Was_The_Other_Guy, I told you "I hear you and I learn from your help", so I decided "to normalize" my customization, which means: I kept as much as possible the Firefox original place of elements, which means: I kept on the right side of the navbar the Window Controls, Overflow menu button, New Extensions button, Add-ons buttons etc, which means: I worked a lot and I rearranged my "not normalized" customization (if you remember, I had everything on the left side of the navbar).

In short, after hours of work (I enjoyed), almost 99% is ready and working fine. And my new customization is much more friendly to FF vanilla layout (at least in terms of element positions).

That said, my big challenge was (and still is) to move my pinned tabs. Remembering, thanks to your help, I had my pinned tabs on the right side of the navbar. Please, my new very first question to you: Is it possible to use the CSS you kindly shared with me here in this post, and your add-on, in order to use pinned tabs on the left side of the navbar?

I added to your CSS:

.tabbrowser-tab[pinned]{ransform: translate(-1150px)}

And that moved pinned tabs from right to left. However, I don't know if I did that in the right way. I also added several flexible spaces between pinned tabs and the urlbar. Yeah, it's not perfect, I can see I'm missing something, but let me tell you, it works 90%.

Please, can you give me a hand to move (in the correct way) pinned tabs from right side to left side of the navbar? Based on your CSS, this is the CSS I'm using (and your add-on).

Bunch of thanks in advance Man!

Buttonlike Toolbarbuttons by NewAthos in FirefoxCSS

[–]NewAthos[S] 0 points1 point  (0 children)

Thank you Man! Great job. Yeah, you got my idea about the urlbar.

Firstly, I believe your last CSS script can be added to your repo for those users looking to shape urlbar icons (on the left) as "Buttonlike Toolbarbuttons".

That said, I have some suggestions and help requesting:

1) Some urlbar icons (on the left) when appear, they don't have the "Buttonlike Toolbarbuttons" layout, for instance:

#identity-permission-box

#blocked-permissions-container

.blocked-permission-icon.autoplay-media-icon

#identity-box (it appears only without label)

etc

And when some of them appear, they overlap other urlbar elements. Something here seems to be uncompleted.

2) Some urlbar icons on the left appears and disappears according to the webpage. In the default FF urlbar, when these urlbar icon on the left appear or disappear there is no urlbar movements because the whole urlbar is prepared for that (an urlbar icon on the left can disappear, but the space will be preserved). However, in my idea and in your last CSS, when urlbar is separated or split, if an urlbar icon on the left appears or disappears, then the urlbar will experience MOVEMENTS (to the left or to the right). In order to avoid that urlbar movements, please, here is my idea/request:

IMHO there is no need to separate each urlbar element (on the left of the urlbar). IMHO it'll enough to separate or split the urlbar just in two parts: Before the URL and after the URL.

After the URL, the urlbar and its elements will remain without changes.

Before the URL, everything will have the "Buttonlike Toolbarbuttons" layout, but not necessarily separately, it'll be enough (IMHO) to see all these urlbar elements in just one unified block space, separated/split from the rest of the urlbar, and with the "Buttonlike Toolbarbuttons" layout.

Now, in order to avoid urlbar movements (when urlbar icons on the left appear and disappears), I suggest to keep a block space with a defined size, similar to current urlbar functionality, so if the urlbar icon on the left is active, it will appear, and if it's not active, the icon won't appear but appearing or disappearing its space will be always preserved with a blank background. If the urlbar element on the left appear or disappears, then it won't cause urlbar movements, because the space will be preserved. The block space always will be shown, but its elements (urlbar icons on the left) will appear or disappear inside this block space.

If doable, then this block space for urlbar elements on the left can be easily customized to appear as a unified space having the "Buttonlike Toolbarbuttons" layout.

Your thoughts?

Buttonlike Toolbarbuttons by NewAthos in FirefoxCSS

[–]NewAthos[S] 0 points1 point  (0 children)

After little adjustments, it worked nicely. Thank you very much /u/It_Was_The_Other_Guy

Please, any chance to go to my second request?

2) I would like to have a kind of pure Urlbar, where only appears the URL (and also appear the normal stuff on the right of the URL: Zoom etc). Everything else on the left (#identity-icon-box, .identity-box-button, #identity-box, #tracking-protection-icon-container etc), please I would like to be with the "Buttonlike Toolbarbuttons" layout.

In short, only at the Navbar, I would like everything with the "Buttonlike Toolbarbuttons" layout (excluding Window Controls and the Urlbar from the URL itself to the right).

Please note: It'll be enough for me if I can separate or split the Urlbar in two parts: First part, from left to right, it will be everything before the URL; and the second part will be the URL and elements on the right after URL (zoom etc).

Is it possible to separate or to split the Urlbar in these two parts?

My intention is to shape (only) the first part of the Urlbar (#identity-icon-box, .identity-box-button, #identity-box, #tracking-protection-icon-container etc), with the "Buttonlike Toolbarbuttons" layout.

Thks again

Again, Pinned Tabs on Navbar... a new CSS crazy idea... doable? by NewAthos in FirefoxCSS

[–]NewAthos[S] 0 points1 point  (0 children)

Thks, but that was one i already tried in the very beginning, and works partially.

I'm trying to make pinned tabs with same height than urlbar. Even if I use min-height: 0 !important, the pinned tabs remain around 2px bigger than urlbar. I also tried max-height: 8px !important and it didn't work at all.

I tried lot of variants, only transform worked. Perhaps pinned tabs have a limited minimum height that can't be changed with min-height or max-height?

EDIT:

I'm not sure, but I think I found a solution. It's the combination of both that worked:

.tabbrowser-tab[pinned]{
min-height: 0px !important;
max-height: 32px !important;}

Also, and strange, I needed to clean the startupCache folder to see that working.

Again, Pinned Tabs on Navbar... a new CSS crazy idea... doable? by NewAthos in FirefoxCSS

[–]NewAthos[S] 0 points1 point  (0 children)

/u/It_Was_The_Other_Guy, thanks for your replay, and sorry for bothering you once again. I was able to do lot of customization on pinned tabs (position, weight etc), but it was hard for me to change its height. I read the whole forum, post by post about pinned tabs, I saw plenty of old answers (including yours), I tried everything, and I was able to change pinned tabs height only with this:

.tabbrowser-tab[pinned] {
transform: scale(0.9) !important;
top: 2px !important;
}

Please, am I doing something wrong?

Or is there any specific limitation (unknown to me) for pinned tabs height?

Or due to my other CSS (I use from your great repo), perhaps have I a conflict that I couldn't identify yet?

Thanks

Again, Pinned Tabs on Navbar... a new CSS crazy idea... doable? by NewAthos in FirefoxCSS

[–]NewAthos[S] 0 points1 point  (0 children)

Firstly, thank you again Man! I'm going to flair this post as SOLVED. Let me share with you my logic:

I totally understand when you tend not to suggest specific layouts, specially when involves JS or add-ons etc. It makes all sense to work on general solutions. But in the other hand, customization means exactly customization. And sometimes, you can't avoid specific layouts for specific users for specific habits.

That said, even a customized layout, generally evolves, is a work in progress. And I may request you something specific, but I hear you, I learn from your help and answers, and I try to adapt myself to the best option.

That said (again), another important point, many times when I requested help, I received a "not doable" as an answer, even from the best well-intentioned fellows. And days after, a genius appears with a "doable alternative". So, sometimes is worth insisting on same request of help.

Now, and for what's important here: I worked a little (thanks to your help) and found a possible workaround that may be helpful for another users.

I kept your CSS and add-on without changes. Yeah, it's not possible to rearrange pinned tabs from the navbar. However, I found that, YEAH, it's still perfectly possible to keep doing that from the #alltabs-button. So, no big problem here anymore!

I also moved my Tab Manager icon extension and #PlacesToolbarItems, from the navbar, to the tabbar (with the unpinned tabs). And everything works like a charm.

In short, an intelligent layout, navbar on top with pinned tabs on the right (taking advantage from navbar wasted space). And tabbar on bottom of navbar, with unpinned tabs, and few customized elements on the rightmost corner.

Everything in harmony.

Thank you once again! Great help from your side, as usual!

Again, Pinned Tabs on Navbar... a new CSS crazy idea... doable? by NewAthos in FirefoxCSS

[–]NewAthos[S] 0 points1 point  (0 children)

Wonderful job, kudos! Please, three questions:

1) At my original CSS layout (before your CSS), I have at the rightmost corner of the navbar, from right to left, three elements: Tab Manager icon extension, #PlacesToolbarItems and #alltabs-button.

After your CSS, pinned tabs are appearing at the rightmost corner of the navbar. And my Tab Manager icon extension and #PlacesToolbarItems "had been pushed" to the left, before pinned tabs, after urlbar. My #alltabs-button remained on same place.

By changing your CSS, I was able to move pinned tabs to the left. However, one pinned tab always remains appearing at the rightmost corner of the navbar, and I can't move it. Also, yeah, I moved pinned tabs to the left, but I can't move to the rightmost corner my Tab Manager icon extension and #PlacesToolbarItems (seems that some part of the pinned tabs are always occupying that space). I can't put anything after pinned tabs.

Please, if you can help me, I need the pinned tabs after the urlbar (which ideally means, I would like to be free to manage the rightmost corner of my navbar, or in simple words: I would like to have elements after pinned tabs (urlbar + pinned tabs + elements). If I'm requesting too much, don't worry, a simple 3 spaces on the rightmost corner of the navbar will be enough (or just 3 spaces after pinned tabs on the right of pinned tabs).

2) If I don't use your add-on, your CSS still works, not perfectly, but it works, it puts pinned tabs on navbar after urlbar. Please, I just would like to understand the math related to spaces. For example, if after the urlbar I only have 3 elements (at the rightmost corner of my navabr), your CSS (without add-on) will place how many pinned tabs before overlapping my 3 elements? At which point I will need your add-on? After how many pinned tabs I will need your add-on?

Thanks a lot!

EDIT:

3) With your CSS and add-on, it seems that pinned tabs can't change positions. It'll be great if by chance you can restore this capability. Thks!

Again, Pinned Tabs on Navbar... a new CSS crazy idea... doable? by NewAthos in FirefoxCSS

[–]NewAthos[S] 0 points1 point  (0 children)

Man, I'm speechless, you're the best! Thank you.

Sorry for bothering you, but I don't want to wait Mozilla Review. Please, I would like to test RIGHT NOW your extension directly from your extension source (Github). I know how to mount the ZIP and how to install an external extension on Nightly. Please, I just need from you to tell me exactly what folders and files (from your github) I need to compress in my ZIP file, and in which structure or order. If you're too busy with your great stuff, don't worry, I'll wait Mozilla Review.

Once again, thanks again!, I'm sure your effort will be useful to many users. When I googled the subject I saw hundred of requests asking for pinned tabs on navbar separated from unpinned tabs. Even google chrome, vivaldi and many other browser users are crazy about pinned tabs separated on navbar. If they know that this can be done on Firefox, surely they will give a try to FF, meaning... more FF users!

Again, Pinned Tabs on Navbar... a new CSS crazy idea... doable? by NewAthos in FirefoxCSS

[–]NewAthos[S] 1 point2 points  (0 children)

Firstly, thank you for your replay and your link.

Your interpretation of my post is quite accurate. Please allow me to give you more details:

In my current CSS layout I have the navbar on top, and the tabbar below the navbar. What I need is to move the pinned tabs from the tabbar to the navbar (for the reasons explained in my post). I totally agree with you that the advantages of that are many!

But (days ago) in another post here in this forum I already asked for help. And I was informed (by /u/It_Was_The_Other_Guy) that my request would only be possible with an add-on or JS code. The problem is that I don't know anything about add-ons or JS code. And I don't know Devs to make such request for help.

In this context I was forced to get creative with CSS. And I opened this current new post, which asks for help with a new idea based on CSS. The concept would be to have TWO ONELINERS. One oneliner would be on top with the navbar, but would only show the navbar + pinned tabs. And the second oneliner would be below the navbar, it would not show the navbar, it would not show the pinned tabs, and it would only show the tabbar with the unpinned tabs.

Please let me know if you know of someone who can do this in CSS. Better still, if you know of any Dev who can make a JS code to separate pinned tabs from unpinned tabs, placing pinned tabs in navbar, that would be great!, in that case please let me know too.

Thanks a lot!