Minds.com - hide reminds

Hides reminds.

  1. // ==UserScript==
  2. // @name Minds.com - hide reminds
  3. // @version 1
  4. // @grant none
  5. // @require https://cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.min.js
  6. // @match https://www.minds.com/*
  7. // @author monnef
  8. // @description Hides reminds.
  9. // @namespace monnef.eu
  10. // ==/UserScript==
  11.  
  12. const isRemind = (_, e) => $('.m-activityOwnerBlockremindIcon, .m-activityOwnerBlock__remindIcon', e).length !== 0;
  13.  
  14. const work = () => {
  15. const toHide = $('m-newsfeedentity, m-activity').filter(isRemind);
  16. toHide.css('display', 'none');
  17. };
  18.  
  19. $(() => setInterval(work, 1000));
  20.  
  21. console.log('reminds hider started');