zlacker

[return to "Google is already pushing WEI into Chromium"]
1. encody+oe[view] [source] 2023-07-26 13:19:44
>>topshe+(OP)
It's small, but here's a real actionable item that you can do to help:

Put a gentle "Use Firefox" (or any other non-Chromium-based browser) message on your website. It doesn't have to be in-your-face, just something small.

I've taken my own advice and added it to my own website: https://geeklaunch.io/

(It only appears on Chromium-based browsers.)

We can slowly turn the tide, little by little.

◧◩
2. mdibai+0q[view] [source] 2023-07-26 14:03:58
>>encody+oe
For people who want to put something like this, here is the code snippet:

  <span id='browser' class='hidden'>
    This website is designed for <a target="_blank" rel="noopener noreferrer" href="https://firefox.com/">Firefox</a>, a web browser that respects your privacy.
  </span>

  <script>
    if (window.chrome) {
      document.getElementById('browser').className = '';
    }
  </script>
Class .hidden must hide the element somehow, in this case I do:

  .hidden { display: none; }
◧◩◪
3. zzo38c+HI1[view] [source] 2023-07-26 18:50:16
>>mdibai+0q
I would make a few changes:

1. Instead of using CSS to hide it by default, make the script to only add it (perhaps by document.write, or alternatively by adding text to an empty <div> or <span>) if Chrome is detected. (This way it will be compatible even if CSS is disabled (or not implemented).)

2. Instead of Firefox, mention something else such as Line Mode Browser (it has some features I had not seen in other web browsers, but which I think are good and would like to have), or some other uncommon one which doesn't have Google and Mozilla etc, or more than one.

[go to top]