Introducing kbin Feed Curator! An upgraded version of my ‘Enough about Reddit already’ script, it now allows you to add to your blacklist from kbin itself, instead of having to edit the script.

A screenshot showing the blacklist modal

Now also includes settings, thanks to kbin-mod-options! So far the settings are 1) a toggle to completely hide blocked posts instead of displaying a placeholder message and 2) the button to open the blacklist modal.

A screenshot showing the script settings

A screenshot showing the blocked post placeholder

Jul 16 2023 - version 0.2 - integrating changes from @Ori and a bug fix for getting the magazine name when on a magazine page

  • gabriell@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    This is great,. But the edit button does nothing. I’m on android, using Firefox with Kbin usability pack, Subscription panel and Enhancement script.

    • Ori@sacredori.net
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      @fiofiofio

      It may be worthwhile to add a check around your removeButtons.querySelectorAll(“button”).forEach(button => { section. For instance:

      if (removeButtons.length > 0) {
          removeButtons.querySelectorAll("button").forEach(button => {
              button.style.backgroundColor = 'var(--kbin-vote-bg)';
              button.style.color = 'var(--kbin-vote-text-color)';
              button.style.marginLeft = 'var(--kbin-entry-element-spacing)';
              button.style.padding = '2px';
              button.style.border = 'var(--kbin-section-border)';
          });
      }
      
      
          • gabriell@kbin.social
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            OK fresh install gives me removeButtons.querySelectorAll is not a function, and I also get this with your code. BTW I’m not at my PC, just a tablet :/

      • fiofiofio@kbin.socialOP
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Thanks for the suggestion! I’ll add that to my next update, I also found an issue with retrieving the magazine name if you’re in a magazine feed that I need to fix.

  • fiofiofio@kbin.socialOP
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Updated to version 0.2, integrating changes from @Ori and a bug fix for getting the magazine name when on a magazine page