javdb性癖净化器

过滤掉你不喜欢的内容

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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()
  })
})()