Elon Musk’s X, formerly Twitter, has played an important role in allowing Russian propaganda about Ukraine to reach more people than before the full-scale war, according to a study by the European Commission.

  • downpunxx
    link
    fedilink
    51 year ago

    I wish there as some way to block the word Musk from KBIN. The man is fascist trash, I don’t need to read about every fascist fucking trash thing he’s done, or is doing.

    • LoafyLemon
      link
      fedilink
      10
      edit-2
      1 year ago

      Add the following to your filter list for uBlock Origin:

      kbin.social##article:has-text(/Elon/i)

      kbin.social##article:has-text(/Musk/i)

      EDIT: Here’s a version for lemmy users, just remember to replace the domain with your instance.

      lemmy.world##.post-listing:has-text(/Elon/i)

      lemmy.world##.post-listing:has-text(/Musk/i)

      Edit2: Fixed case sensitivity.

    • crowsby
      link
      fedilink
      3
      edit-2
      1 year ago

      I feel that, which is why I forked a tampermonkey script to replace his name globally. This is nice because it covers every site, which makes reading articles on WaPo and NYT much less irritating. Here’s what this thread looks like on my end, for instance:

      And the script itself:

      // ==UserScript==
      // @name         Text Replace
      // @version      0.1
      // @description  Text Replace
      // @author       SiameseDream
      // @include     *
      // @grant        none
      // @namespace beepboop
      // ==/UserScript==
      
      (function() {
          'use strict';
      
      var replaceArry = [
          [/ Elon Musk/gi,' the biggest twat on the planet'],
          [/Elon Musk/gi,'The biggest twat on the planet'],
          [/ Mr. Musk/gi,' this dipshit'],
          [/ Musk/gi,' this dipshit'],
          [/Mr. Musk/gi,'This dipshit'],
          [/Musk/gi,'This dipshit'],
          // etc.
      ];
      var numTerms    = replaceArry.length;
      var txtWalker   = document.createTreeWalker (
          document.body,
          NodeFilter.SHOW_TEXT,
          {   acceptNode: function (node) {
                  //-- Skip whitespace-only nodes
                  if (node.nodeValue.trim() )
                      return NodeFilter.FILTER_ACCEPT;
      
                  return NodeFilter.FILTER_SKIP;
              }
          },
          false
      );
      var txtNode     = null;
      
      while (txtNode  = txtWalker.nextNode () ) {
          var oldTxt  = txtNode.nodeValue;
      
          for (var J  = 0;  J < numTerms;  J++) {
              oldTxt  = oldTxt.replace (replaceArry[J][0], replaceArry[J][1]);
          }
          txtNode.nodeValue = oldTxt;
      }
      })();