DLSite circle filter

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

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

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