Jump to content

Syna1212

New Resident
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Syna1212

  1. A workaround for filtering out posts in the primfeed.com feed is it to use a browser addon like Violentmonkey and hide what you don't wanna see using a script. Chrome addon: https://chromewebstore.google.com/detail/violentmonkey/jinjaccalgkegednnccohejagnlnfdag I'm not a pro at this and there are surely more efficient ways to script this (please feel free) but my script works for me. It filters out various "giveaway" variations. Where I can't identify the giveaway post by text (because they only have an image) I have started adding store names. This will also filter out posts that just contain any variation of "follow" even if not associated with a giveaway, but I gladly accept this if I can get a cleaner feed. If you use a script like this, you'll have to update it constantly, but to me it's well worth it. // ==UserScript== // @name primfeed.com feed cleanup // @namespace Violentmonkey Scripts // @match https://*.primfeed.com/* // @grant none // @version 1.0 // @author - // @description cleanup the feed // @require https://code.jquery.com/jquery-3.7.1.js // ==/UserScript== $(document).ready(function() { window.setInterval(clean, 500); //run clean() every 500ms }); //hide posts that contain specific words function clean() { $("div:icontains('giveaway')").closest(".c-dhzjXW-iiOrNGT-css").hide(); $("div:icontains('give away')").closest(".c-dhzjXW-iiOrNGT-css").hide(); $("div:icontains('𝑮𝑰𝑽𝑬𝑨𝑾𝑨𝒀')").closest(".c-dhzjXW-iiOrNGT-css").hide(); $("div:icontains('𝗚𝗜𝗩𝗘𝗔𝗪𝗔𝗬')").closest(".c-dhzjXW-iiOrNGT-css").hide(); $("div:icontains('𝐆𝐈𝐕𝐄𝐀𝐖𝐀𝐘')").closest(".c-dhzjXW-iiOrNGT-css").hide(); $("div:icontains('CRYPTID')").closest(".c-dhzjXW-iiOrNGT-css").hide(); $("div:contains('Rokins')").closest(".c-dhzjXW-iiOrNGT-css").hide(); $("div:contains('SHOPLIFTER')").closest(".c-dhzjXW-iiOrNGT-css").hide(); $("div:icontains('follow')").closest(".c-dhzjXW-iiOrNGT-css").hide(); } //helper method to compare words case insensitive jQuery.expr[':'].icontains = function(a, i, m) { return jQuery(a).text().toUpperCase() .indexOf(m[3].toUpperCase()) >= 0; };
×
×
  • Create New...