当前为
// ==UserScript==
// @name yap_filter_200
// @namespace yap_filter
// @description:en "Hide posts with rating < 200"
// @description:ru "Скрипт скрывает на yaplakal.com посты, с рейтингом меньше 200."
// @include http://www.yaplakal.com/
// @include http://www.yaplakal.com/st/*
// @version 1
// @grant none
// @requre https://code.jquery.com/jquery-2.1.4.min.js
// ==/UserScript==
$(document).ready(function()
{
$('.lenta noindex').parents('.lenta tr').hide();
$('.rating-short-value a').each(function(){
var rating = this.text;
if(rating < 200) {
var hd = $(this).parents('.lenta tr');
hd.hide();
hd.next().hide();
hd.next().next().hide();
}
});
});