0
4

[–] boredTech [S] 0 points 4 points (+4|-0) ago 

console.log("started");

$(document).ready(function(){
  var user = $(document).find('a[title="Profile"]').attr('href');

  $.get('https://' + document.domain + '/' + user + '/blocked/user', function(result){
     $(result).find('td > a').each(function(){
       $("div.submission").has('a[href="/u/' + $(this).text() + '"]').animate({opacity: 0.25});
       });
   });
});

console.log("done");

result : https://imgoat.com/uploads/4d9ee44e45/198088.png


Sounds cool man. Stuff to play with isn't bad.

0
3

[–] PuttItOut 0 points 3 points (+3|-0) ago 

Awesome!

0
3

[–] boredTech [S] 0 points 3 points (+3|-0) ago  (edited ago)

yeah, I really like the idea of packages. I don't have a second account on preview, so can't determine if it really does work for others (should obviously). A whole lot of other stuff I'd do with this package if I was really going to release it into the wild (like making sure it only runs on feeds /v/all and not on comments /v/voatdev/3042050. Dropping to the bottom the dimmed hides, and bringing opacity back to 100% on a hover. But, if you are planning to have it so that others can sub to packages that would be an awesome feature (dangerous, but awesome).