javdb性癖净化器

过滤掉你不喜欢的内容

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

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