yap_filter_200

目前為 2015-09-29 提交的版本,檢視 最新版本

// ==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();
    }
  });
});

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址