您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Oculta automaticamente las imagenes de categorias NSFW.
当前为
- // ==UserScript==
- // @name Voxed NSFW
- // @namespace voxed.nsfw
- // @version 1.0
- // @description Oculta automaticamente las imagenes de categorias NSFW.
- // @author Voxero
- // @match http*://voxed.net/
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- var nsfw = ["XXX", "GOR", "UFF", "HOT"];
- var voxList = document.getElementsByClassName('vox-list')[0];
- if(typeof voxList != 'undefined')
- {
- var voxs = document.getElementsByClassName('vox');
- for(var i = 0; i < voxs.length; i++) {
- var category = voxs[i].getElementsByClassName('category')[0];
- if(typeof category != 'undefined')
- {
- var cat = category.innerHTML;
- if(nsfw.indexOf(cat) != -1)
- {
- voxs[i].getElementsByTagName('img')[0].style.filter = ((cat == "HOT" || cat == "UFF") ? 'blur(15px)' : 'blur(25px)');
- voxs[i].getElementsByClassName('tags')[0].style.zIndex = "1";
- category.style.zIndex = "1";
- }
- }
- }
- }
- })();