• 4 Posts
  • 105 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle




  • 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.



  • 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.







  • 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;
    }
    





  • 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.