Greasy Fork is available in English.

DLSite circle filter

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

  1. // ==UserScript==
  2. // @name DLSite circle filter
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description DLSiteで特定のサークルを非表示にする
  6. // @author 俺
  7. // @compatible Chrome
  8. // @match http://www.dlsite.com/maniax/*
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. var blockID=['00000'];
  13. var blockID_length = blockID.length;
  14. $(function() {
  15. // 検索用
  16. $('._search_result_list').children().each(function() {
  17. for (var i = 0; i < blockID_length; i++) {
  18. $('a[href*=' + blockID[i] + ']').parents('tr').remove();
  19. }
  20. });
  21.  
  22. // メインぺージ用
  23. $('.n_work_list_container').children().each(function() {
  24. //$('.n_worklist.type_2col').children().each(function() { // 時間がかかる
  25. for (var i = 0; i < blockID_length; i++) {
  26. $('a[href*=' + blockID[i] + ']').closest('.n_worklist_item').remove();
  27. }
  28. });
  29.  
  30. // 日付ページ用
  31. $('.work_block').children().each(function() {
  32. for (var i = 0; i < blockID_length; i++) {
  33. $('a[href*=' + blockID[i] + ']').closest('.n_worklist_item').remove();
  34. }
  35. });
  36. });