DLSite circle filter

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

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

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