Fix censored/uncensored icons
This commit is contained in:
parent
1c0771bc4c
commit
12bfeab976
|
@ -1,7 +1,7 @@
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name AnimeBytes Mediainfo Improvements
|
// @name AnimeBytes Mediainfo Improvements
|
||||||
// @author WeebDataHoarder
|
// @author WeebDataHoarder
|
||||||
// @version 1.31.3
|
// @version 1.32.0
|
||||||
// @downloadURL https://git.gammaspectra.live/WeebDataHoarder/userscripts/raw/branch/master/AnimeBytes/ab-mediainfo.user.js
|
// @downloadURL https://git.gammaspectra.live/WeebDataHoarder/userscripts/raw/branch/master/AnimeBytes/ab-mediainfo.user.js
|
||||||
// @updateURL https://git.gammaspectra.live/WeebDataHoarder/userscripts/raw/branch/master/AnimeBytes/ab-mediainfo.user.js
|
// @updateURL https://git.gammaspectra.live/WeebDataHoarder/userscripts/raw/branch/master/AnimeBytes/ab-mediainfo.user.js
|
||||||
// @description AnimeBytes Mediainfo Improvements. Adds several listing and matching releases against mediainfo utilities. MIT license
|
// @description AnimeBytes Mediainfo Improvements. Adds several listing and matching releases against mediainfo utilities. MIT license
|
||||||
|
@ -1728,8 +1728,8 @@ if(
|
||||||
audioCount: 1,
|
audioCount: 1,
|
||||||
freeleech: torrentEntry.querySelector("img[alt^='Freeleech!']") !== null,
|
freeleech: torrentEntry.querySelector("img[alt^='Freeleech!']") !== null,
|
||||||
remastered: torrentEntry.querySelector("img[alt^='Remastered']") !== null,
|
remastered: torrentEntry.querySelector("img[alt^='Remastered']") !== null,
|
||||||
censoredHentai: torrentEntry.querySelector("img[src*='/hentaic.svg']") !== null,
|
censoredHentai: torrentEntry.querySelector("img[src*='/hentaic-']") !== null,
|
||||||
uncensoredHentai: torrentEntry.querySelector("img[src*='/hentai.svg']") !== null,
|
uncensoredHentai: torrentEntry.querySelector("img[src*='/hentai-']") !== null,
|
||||||
snatched: torrentEntry.textContent.match(/- Snatched/) !== null,
|
snatched: torrentEntry.textContent.match(/- Snatched/) !== null,
|
||||||
reported: torrentEntry.textContent.match(/- Reported/) !== null,
|
reported: torrentEntry.textContent.match(/- Reported/) !== null,
|
||||||
pruned: torrentEntry.textContent.match(/- Pruned!/) !== null
|
pruned: torrentEntry.textContent.match(/- Pruned!/) !== null
|
||||||
|
|
Loading…
Reference in a new issue