Advertisement
Guest User

infinitychan tripfag filter

a guest
Oct 1st, 2014
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. // enter all trips to filter here, one per row, within "", separate with comma, dont add a trailing comma at the end
  2. var filtered =[
  3. "!N0971Qf8pA",
  4. "sometrip",
  5. "etc"
  6. ];
  7. //do not touch anything below here
  8. var trips = document.getElementsByClassName("trip");
  9. for(i in trips)if(filtered.indexOf(trips[i].innerText) >-1)trips[i].parentNode.parentNode.parentNode.style.display='none';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement