Code Monkey home page Code Monkey logo

firefox-csshacks's People

Contributors

aleqx avatar ams777 avatar anarky avatar black7375 avatar catruge avatar djeglin avatar domportera avatar flyxyz123 avatar fortystory avatar godiesc avatar jtbrinkmann avatar mrotherguy avatar sigs avatar sonofevil avatar thepanz avatar ticapix avatar trapier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

firefox-csshacks's Issues

FF 76 - no multirow displayed anymore

My FF automatically updated from 75 to 76 yesterday evening before shutdown.
When opening FF this morning, bad surprise: only 1 row is displayed instead of 3.
I think this line is no longer valid :
:root{--multirow-n-rows: 3}

Not all bookmarks shown

Hello, I have clean install of 76.0.1.
After the first import from HTML backup - everything seems to be OK.
Now I close FF.
Newly opened FF shows about 2/3 of all bookamrks.
If I delete them and import repeatedly from HTML, everything is OK, of course, until the next FF start.
Identical problem I have at three different computers.
I tried to clean, delete part of them, no luck. The same problem.
Any help? Thanks.

Issue adding a new page to existing browser window

Hey,
Is it me, but once I try opening a webpage (let say from my email, outlook or other app),
I receive a message - "Firefox is already running, but is not responding. The old Firefox process must be closed to open a new window".
So I am forced to close existing session window - an reopen window with this new page added.
It is little bit annoying and a fix would be appreciated.
Or maybe I need to tweak my css in some way?

Regards

Multi-row tabs shifted right

I got this on my macbook pro after I put @import url(chrome/multi-row_tabs.css); into the userChrome.css. Not sure if this is an issue or I've made some mistake?

Screen Shot 2019-12-17 at 19 08 03

newtab_background_color.css not working in firefox 77?

I'm using Firefox Beta (77.0b3) with the Custom New Tab Page Extension and whenever I open a new tab it flashes white at first, it doesn't seem to be related to the extension though, because it happens before the extension is even loaded.
The only thing that helped was to set browser.display.background_color to black in about:config, but that breaks all plaintext sites and some websites that don't set a custom background-color.

I already tried a bunch of other userContent.css snippets, but none of them seemed to work.
Examples I tried:

@-moz-document url("about:home"),url("about:blank"),url("about:newtab"),url("about:privatebrowsing"){
  body{ background-color: #000 !important }
  html:not(#ublock0-epicker), html:not(#ublock0-epicker) body, #newtab-customize-overlay {
    background: #000 !important;
  }
}
@-moz-document url(chrome://browser/content/browser.xul) {
   browser[type="content"], browser { background: #000 !important; }
}
body{ --newtab-background-color: #000000 !important }

I'm not sure what to do anymore. The flickering is driving me crazy, but I also don't want to break everything with the browser.display.background_color setting.

The blank_page_background.css from here didn't seem to fix it either

multi-row_tabs_window_control_patch.css does not seem working well.

Latest stable Firefox, Linux system.

The 3 rows of tabs works. Then I appended the window control patch.

The window control did not seem to be moved. And the third row of tabs was covered by address bar (and extensions), which was at row 4 position without this patch.

FF 72.0.1 (Mac) All tabs off screen.

First off thanks for a great setup. It's been working well, and evolved usefully over time.

Today I took a proffered update and went from FF 71.0 to FF72.0.1.
Now I see no tabs.

The tabs were restored, because I can do "Move Tab" -> "Move Tab to New Window" on the topmost tab, and each one, in turn is there. But the tabs are now rendered off screen.

This is true even if I maximize the window, or resize the window.

I am not using the "move tabs below content". I think I'm just using multi-row-tabs.css stock.

What do you have to suggest to try in order to bring the tabs back?

Here is how my window looks (yes, this is legacy mode not dark mode.):

Screen Shot 2020-01-09 at 11 25 56 AM

Below are my userChrome.css and the MultiRowTab-scrollable.uc.js files I've been using:

/*
 * Edit this file and copy it as userChrome.css into your
 * profile-directory/chrome/
 */

/*
 * This file can be used to customize the look of Mozilla's user interface
 * You should consider using !important on rules which you want to
 * override default settings.
 */

/*
 * Do not remove the @namespace line -- it's required for correct functioning
 */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

/* This enables the use of JS external files */
toolbarbutton#alltabs-button {
    -moz-binding: url("userChrome.xml#js")}

/*
 * Some possible accessibility enhancements:
 */
/*
 * Make all the default font sizes 20 pt:
 *
 * * {
 *   font-size: 20pt !important
 * }
 */
/*
 * Make menu items in particular 15 pt instead of the default size:
 *
 * menupopup > * {
 *   font-size: 15pt !important
 * }
 */
/*
 * Give the Location (URL) Bar a fixed-width font
 *
 * #urlbar {
 *    font-family: monospace !important;
 * }
 */

/*
 * Eliminate the throbber and its annoying movement:
 *
 * #throbber-box {
 *   display: none !important;
 * }
 */

/*
 * For more examples see http://www.mozilla.org/unix/customizing.html
 */
 
/* Makes tabs to appear on multiple lines */
/* Tab reordering will not work and can't be made to work */
/* You can use multi-row_tabs_window_control_patch.css to move window controls to nav-bar*/

/* It's recommended to move tabs new-tab-button outside tabs toolbar */

/* Change the --multirow-n-rows to change maximum number of rows before the rows will start to scroll  */
/* This maximum visible rows won't work before Fx66 */
/* So this setting does nothing on Fx65 and all tab rows will be shown */
:root{
    --multirow-n-rows: 3;
    --multirow-tab-min-width: 150px;
    --multirow-tab-dynamic-width: 1; /* Change to 0 for fixed-width tabs using the above width. */
}

/* Scrollbar can't be clicked but the rows can be scrolled with mouse wheel */
/* Uncomment the next line if you want to be able to use the scrollbar with mouse clicks */

/* .tabbrowser-arrowscrollbox{ -moz-window-dragging: no-drag } */

/* Uncommenting the above makes you unable to drag the window from empty space in the tab strip but normal draggable spaces will continue to work */

#tabbrowser-tabs{
  min-height: unset !important;
  padding-inline-start: 0px !important
}
/* Selectors for Firefox 71+ */
/* These are not tabs toolbar specific but horizontal scrollbox isn't used elsewhere, except in bookmarks toolbar but there it doesn't have [part] attribute since it's not in shadow-root */
@-moz-document url(chrome://browser/content/browser.xhtml){
  .scrollbutton-up[orient="horizontal"][part]~spacer,
  .scrollbutton-up[orient="horizontal"][part],
  .scrollbutton-down[orient="horizontal"][part]{ display: none }

  scrollbox[part][orient="horizontal"]{
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
    max-height: calc(var(--tab-min-height) * var(--multirow-n-rows));
    scrollbar-color: currentColor transparent;
    scrollbar-width: thin;
  }
}

/* Test for Firefox > 66 */
@supports (inset-block:auto){
  #tabbrowser-tabs > .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox{
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
    max-height: calc(var(--tab-min-height) * var(--multirow-n-rows));
    scrollbar-color: var(--toolbar-bgcolor) var(--lwt-accent-color);
    scrollbar-width: thin;
  }
  #tabbrowser-tabs > .tabbrowser-arrowscrollbox {
    overflow: -moz-hidden-unscrollable;
    display: block;
  }
}

/* Test for Firefox < 66 */
@supports not (inset-block:auto){
  #tabbrowser-tabs > .tabbrowser-arrowscrollbox{
    min-height: unset !important;
  }
  #tabbrowser-tabs .scrollbox-innerbox{
    display: flex;
    flex-wrap: wrap;
  }
  #tabbrowser-tabs .arrowscrollbox-scrollbox {
    overflow: -moz-hidden-unscrollable;
    display: block;
  }
}

.tabbrowser-tab{ height: var(--tab-min-height); }
#tabbrowser-tabs .tabbrowser-tab[pinned]{
  position: static !important;
  margin-inline-start: 0px !important;
}

.tabbrowser-tab[fadein]:not([pinned]){
  min-width: var(--multirow-tab-min-width) !important;
  flex-grow: var(--multirow-tab-dynamic-width);
  /*
  Uncomment to enable full-width tabs, also makes tab dragging a tiny bit more sensible
  Don't set to none or you'll see errors in console when closing tabs
  */
  /*max-width: 100vw !important;*/
}

.tabbrowser-tab > stack{ width: 100%; height: 100% }

#tabbrowser-tabs .scrollbutton-up,
#tabbrowser-tabs .scrollbutton-down,
#alltabs-button,
:root:not([customizing]) #TabsToolbar #new-tab-button,
#tabbrowser-tabs spacer,
.tabbrowser-tab::after{ display: none !important }

// ==UserScript==
// @name           MultiRowTab-scrollable.uc.js
// @namespace      http://space.geocities.yahoo.co.jp/gl/alice0775
// @description    Multi-row tabs draggability fix, Experimental CSS version
// @include        main
// @compatibility  Firefox 67
// @author         Alice0775, Endor8, TroudhuK, Izheil
// @version        23/03/2019 22:25 Comments on tab width
// @version        09/03/2019 15:38 Fixed compatibility issue with Tab Session Manager addon
// @version        18/02/2019 20:46 Tab line not being fully shown on maximized or fullscreen
// @version        03/02/2019 15:15 Firefox 67
// @version        03/02/2019 04:22 Fixed issue with scrolling when selecting non-visible tab
// @version        02/02/2019 00:17 Fixed transparent line under tabs and touch density tabs issue
// @version        01/02/2019 10:32 Fixed issue window dragging while keeping scrollbar dragging
// @version        31/01/2019 10:32 Fixed issue with fullscreen
// @version        30/01/2019 02:05 Fixed issue with a pixel being above the tab bar
// @version        30/11/2018 06:12 Now only the necesary rows appear, not static number of rows
// @version        23/11/2018 00:41 Firefox 65
// ==/UserScript==
    zzzz_MultiRowTabLite();
function zzzz_MultiRowTabLite() {
    var css =`
    /* MULTIROW TABS CSS */
    /* You can set the max number of rows before the scrollbar appears here.

     - For tab minimum width, you have to go to about:config and modify [browser.tabs.tabMinWidth] 
       to the value you want.

     - For tab growth v 
        Value of 1 -> Tab grows. Fixed max width of 226px.
        Value of 0 -> Tab doesn't grow. Uses tab min width as fixed width. */

    :root {
        --max-tab-rows: 3;
        --tab-growth: 1}

    .tabbrowser-tab:not([pinned]) {
        flex-grow: var(--tab-growth)}

    .tabbrowser-tab::after {border: none !important}

    #tabbrowser-tabs .tab-background, #tabbrowser-tabs .tabbrowser-tab {
        height: calc(var(--tab-min-height) + 1px) !important}

    #main-window[sizemode="normal"] .tabbrowser-tab .tab-line,
    #main-window[sizemode="maximized"] .tabbrowser-tab .tab-line, 
    #main-window[sizemode="fullscreen"] .tabbrowser-tab .tab-line {transform: translate(0,1px) !important}
    
    :root[uidensity="touch"] .tabbrowser-tab,
    :root[uidensity="touch"] .tab-background {
        min-height: calc(var(--tab-min-height) + 3px) !important}

    .tab-stack {width: 100%}

    :root[uidensity="touch"] #tabbrowser-tabs .scrollbox-innerbox {    
        min-height: calc(var(--tab-min-height) + 3px);
        max-height: calc((var(--tab-min-height) + 3px)*var(--max-tab-rows))}

    #tabbrowser-tabs .arrowscrollbox-scrollbox {
        display: flex;
        flex-wrap: wrap; 
        overflow-x: hidden;
        overflow-y: auto;     
        min-height: var(--tab-min-height);
        max-height: calc(var(--tab-min-height)*var(--max-tab-rows))}

    #tabbrowser-tabs .tabbrowser-arrowscrollbox {
        overflow: visible;
        display: block;}

    .arrowscrollbox-overflow-start-indicator,
    .arrowscrollbox-overflow-end-indicator {position: fixed !important}

    #main-window[tabsintitlebar] #tabbrowser-tabs scrollbar {
        -moz-window-dragging: no-drag}

    @media (-moz-os-version: windows-win10) {
    .titlebar-buttonbox, #titlebar-buttonbox {display: block !important; height:var(--tab-min-height) !important}}

    #tabbrowser-tabs .scrollbutton-up, #tabbrowser-tabs .scrollbutton-down, #alltabs-button
    {display: none}
    `;
    var sss = Cc['@mozilla.org/content/style-sheet-service;1'].getService(Ci.nsIStyleSheetService);
    var uri = makeURI('data:text/css;charset=UTF=8,' + encodeURIComponent(css));
    sss.loadAndRegisterSheet(uri, sss.AGENT_SHEET);
    gBrowser.tabContainer._getDropIndex = function(event, isLink) {
        var tabs = this.childNodes;
        var tab = this._getDragTargetTab(event, isLink);
        if (window.getComputedStyle(this).direction == "ltr") {
        	for (let i = tab ? tab._tPos : 0; i < tabs.length; i++) {
                let boxObject = tabs[i].boxObject;
        		if (event.screenX < boxObject.screenX + boxObject.width / 2
                 && event.screenY < boxObject.screenY + boxObject.height) // multirow fix
        			return i;
            }
        } else {
        	for (let i = tab ? tab._tPos : 0; i < tabs.length; i++) {
                let boxObject = tabs[i].boxObject;
        		if (event.screenX > boxObject.screenX + boxObject.width / 2
                 && event.screenY < boxObject.screenY + boxObject.height) // multirow fix
        			return i;
            }
        }
        return tabs.length;
    };

// This scrolls down to the current tab when you open a new one, or restore a session.
function scrollToView() {
	var selTab = document.querySelectorAll(".tabbrowser-tab[selected='true']")[0];
    var selTab = document.querySelectorAll(".tabbrowser-tab[selected='true']")[0];
	selTab.scrollIntoView({behavior: "smooth", block: "nearest", inline: "nearest"});
}

gBrowser.tabContainer.addEventListener('TabOpen', scrollToView, false);
gBrowser.tabContainer.addEventListener("TabSelect", scrollToView, false);
document.addEventListener("SSTabRestoring", scrollToView, false);

// This sets when to apply the fix (by default a new row starts after the 23th open tab, unless you changed the min-size of tabs)
gBrowser.tabContainer.ondragstart = function(){if(gBrowser.tabContainer.clientHeight > document.getElementsByClassName("tabbrowser-tab")[0].clientHeight) {

    gBrowser.tabContainer._getDropEffectForTabDrag = function(event){return "";}; // multirow fix: to make the default "dragover" handler does nothing
    gBrowser.tabContainer._onDragOver = function(event) {
        event.preventDefault();
        event.stopPropagation();

        var ind = this._tabDropIndicator;

        var effects = orig_getDropEffectForTabDrag(event);
        if (effects == "link") {
        	let tab = this._getDragTargetTab(event, true);
        	if (tab) {
        		if (!this._dragTime)
        			this._dragTime = Date.now();
        		if (!tab.hasAttribute("pending") && // annoying fix
                    Date.now() >= this._dragTime + this._dragOverDelay)
        			this.selectedItem = tab;
        		ind.collapsed = true;
        		return;
        	}
        }

        var newIndex = this._getDropIndex(event, effects == "link");
        if (newIndex == null)
            return;

        var ltr = (window.getComputedStyle(this).direction == "ltr");
        var rect = this.arrowScrollbox.getBoundingClientRect();
        var newMarginX, newMarginY;
        if (newIndex == this.childNodes.length) {
            let tabRect = this.childNodes[newIndex - 1].getBoundingClientRect();
            if (ltr)
                newMarginX = tabRect.right - rect.left;
            else
                newMarginX = rect.right - tabRect.left;
            newMarginY = tabRect.top + tabRect.height - rect.top - rect.height; // multirow fix
        } else {
            let tabRect = this.childNodes[newIndex].getBoundingClientRect();
            if (ltr)
                newMarginX = tabRect.left - rect.left;
            else
                newMarginX = rect.right - tabRect.right;
            newMarginY = tabRect.top + tabRect.height - rect.top - rect.height; // multirow fix
        }

        ind.collapsed = false;

        newMarginX += ind.clientWidth / 2;
        if (!ltr)
            newMarginX *= -1;

        ind.style.transform = "translate(" + Math.round(newMarginX) + "px," + Math.round(newMarginY) + "px)"; // multirow fix
        ind.style.marginInlineStart = (-ind.clientWidth) + "px";
    };
    gBrowser.tabContainer.addEventListener("dragover", gBrowser.tabContainer._onDragOver, true);

    gBrowser.tabContainer.onDrop = function(event) {
        var newIndex;
        var dt = event.dataTransfer;
        var draggedTab;
        if (dt.mozTypesAt(0)[0] == TAB_DROP_TYPE) {
            draggedTab = dt.mozGetDataAt(TAB_DROP_TYPE, 0);
            if (!draggedTab)
                return;
        }
        var dropEffect = dt.dropEffect;
        if (draggedTab && dropEffect == "copy") {}
        else if (draggedTab && draggedTab.parentNode == this) {
            newIndex = this._getDropIndex(event, false);
            if (newIndex > draggedTab._tPos)
                newIndex--;
            gBrowser.moveTabTo(draggedTab, newIndex);
        }
    };
    gBrowser.tabContainer.addEventListener("drop", function(event){this.onDrop(event);}, true);
}}}

// copy of the original and overrided _getDropEffectForTabDrag method
function orig_getDropEffectForTabDrag(event) {
    var dt = event.dataTransfer;
    if (dt.mozItemCount == 1) {
        var types = dt.mozTypesAt(0);
        // tabs are always added as the first type
        if (types[0] == TAB_DROP_TYPE) {
            let sourceNode = dt.mozGetDataAt(TAB_DROP_TYPE, 0);
            if (sourceNode instanceof XULElement &&
                sourceNode.localName == "tab" &&
                sourceNode.ownerGlobal.isChromeWindow &&
                sourceNode.ownerDocument.documentElement.getAttribute("windowtype") == "navigator:browser" &&
                sourceNode.ownerGlobal.gBrowser.tabContainer == sourceNode.parentNode) {
                // Do not allow transfering a private tab to a non-private window
                // and vice versa.
                if (PrivateBrowsingUtils.isWindowPrivate(window) !=
                    PrivateBrowsingUtils.isWindowPrivate(sourceNode.ownerGlobal))
                    return "none";

                if (window.gMultiProcessBrowser !=
                    sourceNode.ownerGlobal.gMultiProcessBrowser)
                    return "none";

                return dt.dropEffect == "copy" ? "copy" : "move";
            }
        }
    }

    if (browserDragAndDrop.canDropLink(event)) {
        return "link";
    }
    return "none";
}

Both nav-bar and multirow tabs below content broken on FF 76

Hi.

This is a continuation of #33
My config stopped working since FF 76 update - tabs are not multi-row anymore...

With this (my original config) - https://gist.github.com/nulltab/74a4ffe86b99cfb2932aeb1e78237727
I see only one row of tabs and a small ugly black square instead of a tab scroll button.

I also tried to grab newest changes from the repo - https://gist.github.com/nulltab/1ccf0f687404f093579910099f41216e - in this case I see just one row of tabs, no scroll buttons.

Could you please help?
Thanks!

Two column addon display not compact enough.

I too was disappointed in Mozilla continually adding more mouse clicks, more white space and additional display of unwanted or unnecessary information. I have posted compact four column addons display scripts on Aris-t2's Github site. Go Here! Aris-t2 scripts for buttons required.
I will definitely look for inspiration in your other Firefox css-hacks.
2019-07-24_123746
2019-07-24_123826

multi-row bookmarks: Can't drag and drop things into sub-folders

When scrolling is enabled (when the number of rows is limited), you can't drag and drop anything into sub-folders.

You can drag things into top-level folders, but when you try to drag into a sub-folder (moving the cursor down), the whole bookmarks bar scrolls down and the place you're trying to drag to moves with it.

Therefore I cannot currently use the scrolling/limited number of columns feature.

A black bar appearing after bookmark toolbar disappears

So I tried using your CSS for automatically hiding the bookmark toolbar when not focused/hovering, but it is leaving behind a black bar.
As far as I know it should be working alright, but not with me for some reason, even with a clean userChrome file. Would you happen to have any more knowledge about the issue?

Thanks!

Request to change from GNU GPLv3 to a more permissive license

As this project serves as a collection of individual css tweaks/hacks rather than a unified theme, this project encourages using the css tweaks as additions to theme/customization as opposed to as a base of the theme/customization to which new thing are added to. As it currently stands, using a single file from this project in a new project would force the entirety of the new project to be licensed under GNU GPLv3. I feel this is overly restrictive and far reaching of a project of this nature and a permissive license, such as the MIT license, would be more appropriate as is often seen with similar projects such as programming libraries (in that they add/aid in a project rather then being the base of project itself).

CSS to disable middle click tab bar

I know this isn't really directly related to the repo but I'm trying to learn how to modify the existing CSS I have to work with V76. I tried posting the firefox related forum again but haven't received any replies.

This is what I have now to disable middle clicking on the empty portion of the tab bar to prevent the creation of new tabs. But I'm not sure what I should change. Any help on where I should look for information regarding this would be extremely helpful.

/* Disable Middle Click Tab Bar */
#tabbrowser-tabs :-moz-any(.arrowscrollbox-scrollbox, .tabbrowser-arrowscrollbox) {pointer-events: none}
.tabbrowser-tab, #tabs-newtab-button, .tabs-newtab-button {pointer-events: auto}
.scrollbutton-up, .scrollbutton-down {pointer-events:auto !important}
.new-tab-popup, .new-tab-popup > * {pointer-events: auto}

I think it's something to do with the selectors changing in the new FF version but I'm not really great at CSS so I could be wrong.

what settings in FF for using userChrome.css

Hello,
I reinstall my config today, and spent some time on trying to get back previous settings.
Maybe you could notice in the Readme file that the line toolkit.legacyUserProfileCustomizations.stylesheets should be set as True in about:config of FF ?

high height (not a issue but...)

hi

this css is very useful. ๐Ÿ‘ it was very helpful after ff had updated to 71. ๐Ÿ‘ ๐Ÿ‘

it is possible to shrink the height of the tab.

high_height

like

low_height_

Thank you very much.

Radix

Thank you, thank you, thank you!!!

Dear MrOtherGuy,

I just had a scare after Firefox updated to v71 and I lost my multi-row tabs!
I went (back) to this repository and found updated versions. Now it works again!

THANK YOU, THANK YOU, THANK YOU!!!

PS
I use the following in my userChrome.css file:

window_control__placeholder_support.css
overlay_menubar.css
Fx65_tabs_on_bottom.css
multi-row_tabs.css

Lowering autohide_toolbox.css's "transform: rotateX(86deg)" value does not make the toolbox appear earlier on hover anymore

Hello, I just noticed that compared to my old version of your code I'm using, in this new version lowering the "transform: rotateX(86deg)" to like 60 which used to work perfectly for me, now has absolutely no effect.

Sadly now dependent on my windows scale and which monitor I'm using I can't get the toolbox any more at all because it won't detect my mouse hovering close to it.

Thanks for your amazing work on this though! I really appreciate your tools, and they make my every day browsing experience a lot better.

tabs_below_content not compatible with navbar_tabs_oneliner

FF72.0 here.

While using navbar_tabs_oneliner alone is working fine, appending tabs_below_content , does not
give the expected result, i.e. the navbar-tab-oneliner below the page content.
Instead I can see the tabs below the page content, aligned to the right, but the remaining of the oneliner has vanished: nothing above the page content, and a wide blank that could be of the navbar size on the left of the tabs.

I guess tabs_below_content was not designed to embed the navbar with the tabs, which is the reason my expectation is not fulfilled.

Would there be a way to have a mix of these two snippets working together as I expect ?

Thanks

Figure out a way to organize contents of chrome folder

Right now the files are just listed alphabetically. This could perhaps be improved by creating some kind of hierarchy for styles.

A simple approach would be to separate them to sub-folders, but I kinda don't want to do that because 1. it would break existing links to files and perhaps more importantly because 2. plenty of files would fit in multiple categories. And I don't want to deal with multiple copies of files.

Another way would be to have a a external page that can index files and filter only those that fit in a user specified categories. But that would need to be manually created and kept up-to-date. Still, probably a better course to take although I'm not sure if it worth the effort with such relatively small number of files.

autohide_toolbox.css malfunctioning on linux i3wm

On my Artix linux laptop with i3 window manager autohide_toolbox.css is malfunctioning. Specifically, when the url bar is selected with ctrl-l or with the mouse, it becomes obscured by the dropdown box such that it becomes very difficult to type in or modify a url.

Additional info: This doesn't seem to happen if I paste the content of autohide_toolbox.css into userChrome.css within the browser console. In that case, it seems to work properly, but if I link in autohide_toolbox.css and then restart firefox then the malfunction starts to take effect.

Multi-Row Bookmark css Stopped working after new Firefox Update

Hello,

Is there anything we can do to update the code to get it to work again? they just updated Firefox and suddenly it's not working anymore.

I have literally 72 Bookmarks on 4x Rows in total :( it's too much to go through.

Love this feature, hope you can help.

Thank you.

How do I control the space *between* bookmark icons?

multi-row_bookmarks.css

Thanks for this CSS. How would I control the space between bookmark icons on the toolbar?

I would like to close up the space a little, make it smaller if possible. How would I do that?

tabbar

Many thanks.

Not working w/more than 3 rows

I am not able to get this working with more than 3 rows, no matter what I try (although I'm admittedly a baby FF chrome hacker...)

(Using FF 66.0.2 on Win 10 Pro 1809. Extensions: Dissenter Extension, OneNote Web Clipper, PrintEdit WE, PrivacyBadger, Table to Excel, WhatRuns)

Try changing --multirow-n-rows: 4; (or more - I want ~5 for my 4K monitor) and see if it works for you.

Extended menu dropdowns do not work

$ git branch -v
* master 2062bd2 apply window margin to body > box instead of :root
$ firefox --version
Mozilla Firefox 76.0
$ lsb_release -r
Release:        16.04

Situation: I have several addons like uBlock Origin, Tab Session Manager and internal buttons like tabs from other devices on Extended menu, which is placed on the right of address bar by default.
So most of addons has menu, which dropdowns on icon click, but with multi-row_tabs_below_content.css these menus do not shows up, nothing happens.

Thanks in advance.

[Request] Hide save password popup

Firefox has an option to store passwords. Most of the time I do not want to store my passwords in Firefox, but there are a (very) few sites where I would. While ideally, there would be a setting to "use stored passwords" and a separate setting to "ask to store passwords", there isn't. (Somewhere is a feature request for this, but I can't find it at the moment.)

Is there a CSS way to block/stop the "save your password" popup? That would allow me to store and use the few passwords that I want but never have the annoying popup appearing.

I used to use this:

panel[popupid="password"]
{
  display: none !important;
}

but it does not work any more.

Thanks!

tabs at bottom ?

unfortunately this doesn't work with tabs at bottom which many regard as more natural.

newbie tab bar question

I had my userchrome file set up in FF 75 so that the tab bar would hide if there was only one tab, but remain visible when there were more than one. Now, in FF 76, the css file no longer works -- the tab itself and the text that would appear in the tab are hidden, but the blank tab bar remains visible -- but I don't know why. I see the code for permanently hiding the tab bar, but that's not exactly what I'm looking for. I'm looking for some help with this "problem" -- I would truly appreciate it.

add-on detail page remember the scroll position

when i try to open addon detail page scroll position stay same as addons list page.like click last addon and detail page starts from bottom, click first addon detail page starts from top. (sorry for my bad english)

Which code to us

Do I replace the code that was used previously and use this entire code including comments? Or do I add this code to the bottom of the code that was written prior to 66? I am a 70 year beginner with code. Thank you very much.

Instruction

Hi,

I am beginner in CSS Hacks and do not know how to apply your example settings. I copied the chrome and content folder in my profile folder and the userContent.css and userConent.css directly in the profile folder, but nothing changes.

navbar_tabs_oneliner.css problems on MacOS Firefox

Hello,

I have a problem with navbar_tabs_oneliner.css on MacOS (Firefox 65.0). After applying in normal view (not full screen) buttons "Close", "Min" and "Full" located in the middle of navbar (should be on the left corner). But when in full screen - there is no problem. Pics are attached.

How i can solve the issue? Thanks!

Normal normal
Full full

[Solved] Tabs overlap address bar

I have my address bar above the tab row. Now, when I add your CSS changes the tabs are intermingled with the address bar (see screenshot).

How can this be fixed?

Also, when I have many tabs, only the normal row and the row overlapping the address bar are shown. Are all the other bars higher up and therefore outside of the window?

Multirow overlaps address bar

[Suggestion]Tabs_on_Bottom

How about change the "toolbar order" in line 44 of Fx65_tabs_on_bottom.css to "0"...this will force "menubar" to stay on top...and we don't need this patch anymore Fx65_tabs_on_bottom_menubar_on_top_patch.css...?

#titlebar{
-moz-box-ordinal-group: 2;
-moz-appearance: none !important;
}

to

#titlebar{
-moz-box-ordinal-group: 0;
-moz-appearance: none !important;
}

Or probably adding complete order rules....

print-preview-toolbar,
#printedit-toolbar,
#titlebar {
  -moz-box-ordinal-group: 0;
}
#navigator-toolbox #toolbar-menubar {
  -moz-box-ordinal-group: 1;
}
/* navigation toolbar */
#navigator-toolbox #nav-bar {
  -moz-box-ordinal-group: 2;
}
/* bookmarks toolbar */
#navigator-toolbox #PersonalToolbar {
  -moz-box-ordinal-group: 3;
}
/* 3rd party toolbars */
#navigator-toolbox toolbar {
  -moz-box-ordinal-group: 10;
}
/* tabs toolbar */
#navigator-toolbox #TabsToolbar {
  -moz-box-ordinal-group: 100;
}

Ps: tested on my Linux (Manjaro 18.1.2 Arch Gnome Testing branch) with FF70 + FF71 Developer Edition and worked just fine...at least on my side

Ps2: the complete order rules codes above inspired by Aris2-t2 (CTR) works

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.