DLSite circle filter

DLSiteで特定のサークルを非表示にする

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         DLSite circle filter
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  DLSiteで特定のサークルを非表示にする
// @author       俺
// @compatible   Chrome
// @match        http://www.dlsite.com/maniax/*
// @grant        none
// ==/UserScript==

var blockID=['00000'];
var blockID_length = blockID.length;
$(function() {
    // 検索用
    $('._search_result_list').children().each(function() {
        for (var i = 0; i < blockID_length; i++) {
            $('a[href*=' + blockID[i] + ']').parents('tr').remove();
        }
    });

    // メインぺージ用
    $('.n_work_list_container').children().each(function() {
    //$('.n_worklist.type_2col').children().each(function() { // 時間がかかる
        for (var i = 0; i < blockID_length; i++) {
            $('a[href*=' + blockID[i] + ']').closest('.n_worklist_item').remove();
        }
    });

    // 日付ページ用
    $('.work_block').children().each(function() {
        for (var i = 0; i < blockID_length; i++) {
            $('a[href*=' + blockID[i] + ']').closest('.n_worklist_item').remove();
        }
    });
});