Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // put this in the custom js field for 8chan (options in top right corner)
- // enter all trips to filter here, one per row, within "", separate with comma, dont add a trailing comma at the end
- var filtered =[
- "!N0971Qf8pA",
- "sometrip",
- "etc"
- ];
- //do not touch anything below here
- var trips = document.getElementsByClassName("trip");
- for(i in trips) {
- if(filtered.indexOf(trips[i].innerText) >-1) {
- trips[i].parentNode.parentNode.parentNode.style.display='none';
- trips[i].parentNode.parentNode.parentNode.nextSibling.style.display='none';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement