javdb性癖净化器

过滤掉你不喜欢的内容

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         javdb性癖净化器
// @namespace    psrx
// @version      0.3
// @description  过滤掉你不喜欢的内容
// @author       psrx
// @include      https://javdb.com/*
// @grant        none
// ==/UserScript==
;(function () {
  'use strict'

  const 你不喜欢的关键字 = [
    '剛毛',
    '虐',
    '奴',
    '調教',
    '熟女',
    '熟娘',
    '拷問',
    'vr',
    '拘束',
    '大便',
    '尿',
    'ドM',
      'SM',
    '唾',
    'M男',
      '個人撮影',
      'アナル',
      '糞',
      '鼻',
      '浣腸',
      '失禁',
      '排泄',
      '失便'
  ].map((i) => i.toLowerCase())

  // 如DKWT-010,只需要写DKWT
  const 你不喜欢的番号 = [].map((i) => i.toLowerCase())

  const avDoms = [...document.querySelectorAll('.movie-list .item')]
  const avs = avDoms.map((i) => {
    return {
      title: i.querySelector('.video-title').lastChild.textContent.toLowerCase(),
      id: i.querySelector('.video-title strong').textContent.toLowerCase(),
    }
  })

  avs.forEach((av, index) => {
    ;(你不喜欢的关键字.find((关键字) => av.title.includes(关键字)) ||
      你不喜欢的番号.find((番号) => av.id.includes(番号))) &&
      avDoms[index].remove()
  })
})()