// ==UserScript== // @name TGFC User Tagging // @namespace http://tampermonkey.net/ // @version 1.3.1 // @description 给TGFC加上标记用户/屏蔽用户帖子/修改用户帖子颜色/保存用户帖子/暴力搜索 // @author Hibino // @include http*://bbs.tgfcer.com/* // @include http*://club.tgfcer.com/* // @include http*://s.tgfcer.com/* // @require https://code.jquery.com/jquery-3.1.1.min.js // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle // @downloadURL https://update.greasyfork.icu/scripts/440490/TGFC%20User%20Tagging.user.js // @updateURL https://update.greasyfork.icu/scripts/440490/TGFC%20User%20Tagging.meta.js // ==/UserScript== /* CSSs .tgut-clear{ clear: both; } .tgut-blur{ filter: blur(20px); } .tgut{ right: 0; position: absolute; font-weight: normal; } .tgut:hover{ } .tgut-msg{ display: none; position: fixed; width: 300px; padding: 5px 10px; top: 0; left: 50%; margin-left: -150px; color: #ffffff; text-align: center; background: #0033cc; z-index: 300; } .tgut .t{ display: block; padding: 2px 5px; color: #ffffff; background: #006cc2; } .tgut .m{ display: none; position: absolute; width: 165px; right: 0; padding: 10px; color: #444444; text-align: right; border: 3px solid #006cc2; background: #ffffff; z-index: 100; } .tgut:hover .m{ display: block; } .tgut .in{ width: 110px; } .tgut .but{ color: #ffffff; border: 0; background: #006cc2; } .tgut .tag{ margin: 0 0 10px; } .tgut .colors{ margin: 0 0 10px; } .tgut .clor{ margin: 0 0 10px; } .tgut .remv{ margin: 0 0 10px; } .tgut .colors .c{ float: right; width: 32px; height: 32px; margin: 0; } .tgut .colors .f{ margin-right: 0; } .tgut .colors .c1{ background: #641e16; } .tgut .colors .c2{ background: #4a235a; } .tgut .colors .c3{ background: #0b5345; } .tgut .colors .c4{ background: #7d6608; } .tgut .colors .c5{ background: #424949 ; } .tgut .colors .c6{ background: #e74c3c; } .tgut .colors .c7{ background: #f7dc6f; } .tgut .colors .c8{ background: #85929e; } .tgut .colors .c9{ background: #17a589 ; } .tgut .colors .c10{ background: #f0b27a; } .tgut-tag{ margin: 10px 0; color: #ffffff; text-align: center; line-height: 24px; border: 0; background: #006cc2; } .tgut-page-cover{ display: none; position:absolute; top: 0; left: 0; -moz-opacity: 0.6; opacity: 0.6; background-color: #000000; z-index: 200; } .tgut-popup{ position: absolute; display: none; left: 50%; top: 10%; width: 60%; background: #ffffff; border: 5px solid #006cc2; z-index: 250; } .tgut-popup .f-l{ float: left; } .tgut-popup .f-r{ float: right; } .tgut-popup .tt{ padding: 0 10px; line-height: 28px; color: #ffffff; background: #006cc2; } .tgut-popup .cls{ } .tgut-popup .cls a{ display: block; width: 24px; float: right; font-size: 120%; color: #fff; line-height: 24px; cursor: pointer; text-align: center; text-decoration: none; } .tgut-popup .cls a:hover{ color: #0e5685; background: #fff; } .tgut-popup .ct{ clear: both; __padding: 5px; text-align: left; } .tgut-posts{ padding: 10px; } .tgut-posts .post{ clear: both; margin: 10px 0 20px 0; padding: 10px; background: #f0f0f0; border-bottom: 2px solid #006cc2; overflow: hidden; } .tgut-posts .pid{ float: right; margin: 0 20px 0 0; font-weight: bold; text-decoration: underline; } .tgut-posts .time{ float: left; font-weight: bold; } .tgut-posts .del{ float: right; } .tgut-posts .del button{ color: #ffffff; border: 0; background: #006cc2; } .tgut-posts .ct{ clear: both; margin: 10px 0; } .tgut-but{ display: inline-block; margin: 0 5px 0 0; padding: 2px 5px; color: #ffffff; background: #006cc2; cursor: pointer; } .tgut-sett{ padding: 10px; } .tgut-sett .but{ color: #ffffff; border: 0; background: #006cc2; } .tgut-sett .b{ text-align: right; } .tgut-sett .t{ margin: 20px 0; } .tgut-sett .t .txa{ width: 99%; height: 200px; } .tgut-sch{ padding: 10px; } .tgut-sch .t{ text-align: center; } .tgut-sch .t .slc{ width: 160px; } .tgut-sch .t .inp{ width: 340px; } .tgut-sch .t .usr{ width: 100px; } .tgut-sch .but{ display: inline-block; margin: 0 5px 0; color: #ffffff; border: 0; background: #006cc2; } .tgut-sch .s{ margin: 5px auto; text-align: center; } .tgut-sch .s span{ display: inline-block; margin: 0 5px; font-weight: bold; } .tgut-sch .rs{ margin: 10px 0; } .tgut-sch .p{ margin: 5px 0; } .tgut-sch .p .u{ color: #888888; } .tgut-sch .e{ text-align: center; } .tgut-sch .e strong{ font-weight: bold; } */ (function() { 'use strict'; var DATA_FILE = "tgfc_user_tags"; var POST_URL = "/redirect.php?goto=findpost&pid="; var HTML_USERNAME = '