Skip Navigation
Privacy@Lemmy.ml: Do browsers block websites from uploading data that could be used for fingerprinting like resolution, installed fonts, etc.?
  • Yeah... It's a bit hard to balance things like this though, I've seen lot's of folks complain about how their Firefox is apparently "broken" because it now suddenly has this empty margin around web-content seemingly wasting space for no reason - and then it turns out that they have deliberately turned this very feature on. And that is even if the feature is completely hidden - I wonder how many more complaints there would be if options like this are made more accessible.

  • Privacy@Lemmy.ml: Do browsers block websites from uploading data that could be used for fingerprinting like resolution, installed fonts, etc.?
  • The letterboxing feature has been in Firefox since 2019 - starting from Firefox 67 I think. The preference for it might have been hidden though so maybe it's just relatively unknown feature - I don't know if or how visible LibreWolf makes makes it for the user. But regardless, any modern Firefox variant probably has that capability.

  • Firefox@Lemmy.world: Does Firefox block websites from uploading data that could be used for fingerprinting like resolution, installed fonts, etc.?
  • I'm not sure if resistFingerprinting does anything to stop websites from uploading whatever data they can get though, I don't think it does that. And I don't think it could really do that in the first place since the website could just obfuscate the data and browser wouldn't know what is sent.

  • How to get rid of the border around urlbar upon clicking
  • You'll be styling another element, that's really all it is.

    Normally Firefox applies various styling rules to the element with id urlbar-background - so it makes sense to also apply your custom style rules and overrides to it. If you apply your background-color or border or other rules to some other element such as #urlbar-input-container then the original styling of #urlbar-background still applies as well.

    This would then cause issue like you would see in your first image, exactly like you guessed; the outline of #urlbar-background is seen behind the background-color of #urlbar-input-container because the two boxes don't have exactly the same shape and thus you are not fully covering the urlbar-background.

  • How to get rid of the border around urlbar upon clicking
  • If you aren't doing anything else to urlbar then I'd recommend styling #urlbar-background instead of #urlbar-input-container - like this:

    #urlbar-background {
      border: none !important;
      border-radius: 5px !important;
      background: light-dark(#ffffffff, #1b1e20ff) !important;
      outline: none !important;
    }
    
  • Firefox@Lemmy.world: What are the best ways to minimize fingerprinting on Firefox?
  • That's not necessarily a good solution either, because a service could figure out that the source of random fingerprint data likely comes from the same user. Especially if your ip is not changing. It might perhaps be effective if a substantial amount of people were doing it though.

    But to generate such random fingerprint is difficult because it consists of many parts and services don't all build fingerprints the aame way. You could easily randomize e.g. canvas data, but the issue is that if you only randomize one data point then that one random data point pretty uniquely identifies you if your other datapoints are stable. So to be effective you would really need to randomize several different datapoints and that may not be such an easy task since websites could build them in all sorts of ways.

  • Changing the blue border colour for pinned sites in home/new tab page
  • You can change it like this with userContent.css:

    @-moz-document url("about:newtab"), url("about:home"){
      :root{
        --newtab-primary-action-background: #f00 !important;
      }
    }
    

    That way you can specify a color for them, but setting the value to AccentColor may or may not resolve to the actual system accent color.

  • Firefox@Lemmy.ml: How has your mileage been using Gecko-based browsers other than Firefox?
  • Well the feature development is certainly progressing - here is the tracking bug for it.

    You can nowadays just test it in normal nightly without special build - it's extremely incomplete, but you can test it if you wish. It's tied to revorked sidebar which you need to enable in about:config.

  • Is it possible to change the font color of a n active tab to an animation svg?
  • I'm not sure about how the svg would work here (though it might work fine), but you can do that with just CSS as well:

    @keyframes tab-gradient-anim{
      from{ background-position-x: 0% }
      to{ background-position-x: 200% }
    }
    .tab-content[selected]{
      background-image: linear-gradient(
            90deg,
            rgb(255, 0, 0) 0%,
            rgb(255, 154, 0) 12%,
            rgb(208, 222, 33) 24%,
            rgb(79, 220, 74) 35%,
            rgb(63, 218, 216) 44%,
            rgb(47, 201, 226) 50%,
            rgb(28, 127, 238) 60%,
            rgb(95, 21, 242) 70%,
            rgb(186, 12, 248) 80%,
            rgb(251, 7, 217) 90%,
            rgb(255, 0, 0) 100%
        );
      background-repeat: repeat-x;
      background-size: 200% 100%;
      animation: tab-gradient-anim 2s infinite linear;
      background-clip: text;
      color: transparent;
    }
    
  • Leak: EU interior ministers want to exempt themselves from chat control bulk scanning of private messages - EU Reporter
  • Absolutely not. If anything, public officials would be the one group whose messaging I would understand being scanned so that the people can sort of keep them on check. But again, implementing such possibility that would still weaken security of everyone else as well so of course it should not actually be done.

  • Change the highlight color when inspecting an element and change the popup when right clicking a style sheet in the toolbox?
  • Yeah, sorry I missed the question about the popup. Yes, you can change it, but it's via userContent.css not userChrome. Could look like this:

    @-moz-document url("chrome://devtools/content/styleeditor/index.xhtml"){
      .menupopup-arrowscrollbox{
        background: #f00 !important;
      }
    }
    

    Note that this only changes the popup that appears in style editor because the other parts of the toolbox are separate documents. Also, it only works for "normal" devtools but not for browser toolbox - to affect that you need to first set up userChrome.css for the toolbox profile, it's literally a separate firefox profile stored inside its target profile in a chrome_debugger_profile directory.

  • Change the highlight color when inspecting an element and change the popup when right clicking a style sheet in the toolbox?
  • I think I looked into this some time in the past and it turned out that to do this, you need to use autoconfig scripting to inject a stylesheet as an agent style. Then, you can use style like this:

    @namespace url('http://www.w3.org/2000/svg');
    
    #box-model-elements{
      --highlighter-box-content-color: hsl(297, 71%, 53%);
    }
    

    I'm limiting that style to only apply to svg elements by namespace, because otherwise the style will apply to all websites as well. But nonetheless, this would also set this custom property to all svg elements in any svg that has has that particular id. Not a huge deal, the point is simply that you need to do something to limit the scope the you want to apply changes to.

  • Firefox@Lemmy.world: Has anyone else never had an single issue with YouTube on Firefox with adblockers?
  • Yup, YT has only shown me a nice "Sign in to confirm you’re not a bot" message for the past week or so. Not because of Firefox or adblockers though, because the same happens on all other browsers and clients as well.

    Maybe because of VPN, or who knows what, maybe they are just idiots.

  • Mozilla Welcomes Anonym: Privacy Preserving Digital Advertising
  • Indeed. I mean, I'm blocking ads as much the next guy and that's not going to change in any foreseeable future, but I cannot see how introduction of privacy preserving advertising platform could possibly be seen as anything other than an improvement over the current, completely perverse, situation. It would be better for people who don't block ads, so if this acquisition would advance uses of privacy-respecting advertising systems and simultaneously get some revenue to Mozilla then this sounds quite like a win-win to me.

  • How do you organize your bookmarks?
  • I don't. Pretty much everything just goes to other bookmarks. When I want to use them I'll just type * to urlbar , type something about it and Firefox usually finds the bookmark I wanted.

  • blog.nightly.mozilla.org Exploring improvements to the Firefox sidebar – Firefox Nightly News

    What are we working on?  We have long been excited to improve the existing Firefox sidebar and strengthen productivity use cases in the browser. We are laying the groundwork for ...

    1
    Firefox customization community on Fedia

    Hi! Just FYI folks, the plan going forward would be to build this community on Fedia instead: Right here https://fedia.io/m/FirefoxCSS

    Thanks to federation, you can also participate in the community through lemmy if you want - though some features such as microblog or sidebar info won't be accessible via lemmy - for now at least. The link to access the community via lemmy world would be https://lemmy.world/c/FirefoxCSS@fedia.io

    See ya there!

    0
    Dark customizeable userstyle for Lemmy.world
    gist.github.com lemmy_world_solarized_dark.css

    GitHub Gist: instantly share code, notes, and snippets.

    lemmy_world_solarized_dark.css

    Perhaps not fitting exactly for this community because it's about a website, but hey c'mon its customizing :) Apply via userContent.css or Stylus or something.

    Only tested with "darkly-red" style that you can select from your user settings.

    0
    [Fx 113] PSA - Changes to default element display-model

    Let's have this post here also...

    As a part of the front-end technical modernization the old xul box model is being replaced with modern flexbox all around the UI. Relevant bug 1820534

    Previously, just about everything used display: -moz-box but in Firefox 113 the default display model was changed to modern display: flex instead.

    What this means first-hand is that all legacy box model -related properties will not do anything anymore so things like -moz-box-ordinal-group, -moz-box-orient, -moz-box-direction, -moz-box-align, -moz-box-pack or -moz-box-flex won't have any effect.

    The suggested way to deal with this is to just update your styles to use equivalent flexbox properties. Additionally, the old display: -moz-box is treated as invalid property value

    Some examples of conversions:

    • display: -moz-box -> display: flex
    • -moz-box-ordinal-group: 0 -> order: -1
    • -moz-box-orient: vertical -> flex-direction: column
    • -moz-box-direction: reverse -> flex-direction: row-reverse
    • -moz-box-align: center -> align-content: center or align-items: center depending on what you are doing.
    • -moz-box-pack: start -> justify-content: flex-start or justify-items: flex-start
    • -moz-box-flex: 10 -> flex-grow: 10

    Notes about order vs. -moz-box-ordinal-group: order supports negative values, whereas ordinal-group does not. Default value of order is 0 but default of ordinal-group is 1 so you might need to change what value to apply for it to have any effect.

    Also, see this firefox-dev post for more information.

    0
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)MR
    MrOtherGuy @lemmy.world
    Posts 4
    Comments 91