您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Te muestra si un user esta ban o no.
当前为
// ==UserScript== // @name Coso para ver si un user esta ban // @namespace http://tampermonkey.net/ // @version 0.1 // @description Te muestra si un user esta ban o no. // @author Wixie // @match http://www.taringa.net/* // @match https://www.taringa.net/* // @grant none // ==/UserScript== var ban = function(user){ var stat; var style; $.get('https://api.taringa.net/user/nick/view/' + nick, function(data){ if (data.status === 10) { stat = "No está baneado."; style = "color: #357ADD;"; } else if (data.status === 5) { stat = "Está baneado."; style = "color: #FF5A58;"; } else if (data.status === undefined) { stat = "No sé que pasó acá"; } $('.perfil-info').append('<div style="position: absolute; top: 15%; right: 1%;"><span style="font-size: 16px; font-weight: bold; ' + style + '">' + stat + '</span></div>'); }); }; var nick = $('.nickname').html(); if (nick == null) { nick = $('.fn').html(); // Esto es para poder obtener el nick de los que la bugean como http://www.taringa.net/OverJT } nick = nick.replace("@", ""); ban(nick);