Xiaosa.Quan.Baiduyun.Tieba

自用插件整合,包含优惠券领取,百度云直链下载和贴吧美化功能!版权属原作者所有

此脚本不应直接安装,它是一个供其他脚本使用的外部库。如果您需要使用该库,请在脚本元属性加入:// @require https://update.cn-greasyfork.org/scripts/377634/669631/XiaosaQuanBaiduyunTieba.js

//优惠券
(function() {
    var type = 0;
    var location = window.location.host;
    if(location.indexOf("s.taobao.com") != -1) {
        type = 1;
    } else if(location.indexOf("list.tmall.com") != -1) {
        type = 2;
    } else if(location.indexOf("list.tmall.hk") != -1) {
        type = 3;
    } else if(location.indexOf("item.taobao.com") != -1) {
        type = 4;
    } else if(location.indexOf("detail.tmall") != -1) {
        type = 5;
    }
    var countdownTimer = setInterval(function() {
        var number = Move(type);
        //if(number == 0) clearInterval(countdownTimer);
    }, 500)
    })()

function CutString(_string) {
    if(_string.indexOf('减') != -1) {
        return "优惠券" + _string.substring(_string.indexOf('减') + 1, _string.length);
    } else {
        return _string;
    }
}

function GetID(url, id) {
    if(url.indexOf("?") != -1) {
        url = url.split('?')[1];
    }
    var array = url.split("&");
    for(var i = 0; i < array.length; i++) {
        if(array[i].split("=")[0] == id) return array[i].split("=")[1];
    }
}

function TicketSearch(id, name) {
    var location = window.location.host;
    GM_xmlhttpRequest({ //获取列表
        method: "GET",
        responseType: 'json',
        headers: {
            "Accept": "application/json"
        },
        url: "http://lingquyouhuiquan.cn/sdk/test.php?name=" + encodeURI(name) + "&id=" + id,
        onload: function(response) {
            if(response.responseText == null || response.responseText == '') {} else {
                var data = eval('(' + response.responseText + ')');
                if(data.code == 200) {
                    var $sp = $("#GetQuanS" + data.id);
                    if((location.indexOf("detail.tmall") != -1) || (location.indexOf("item.taobao.com") != -1)) {
                        $sp.attr("href", "#");
                        $sp.text("领取:" + CutString(data.info));
                    } else {
                        $sp.attr("href", "#");
                        $sp.children().text(CutString(data.info));
                        $sp.children().css("color", "#1606ca")
                    }
                }
            }
        }
    })
}

(function() {
    var loca = window.location.host;
    if(((loca.indexOf("detail.tmall") != -1) || (loca.indexOf("item.taobao.com") != -1)) && (location.href.indexOf("mm_23460544_16314573_61008893") == -1)) {
        var id = GetID(location.href, 'id');
        GM_xmlhttpRequest({ //获取列表
            method: "GET",
            responseType: 'json',
            headers: {
                "Accept": "application/json"
            },
            url: "http://lingquyouhuiquan.cn/sdk/search.php?id=" + id,
            onload: function(response) {
                if(response.responseText == null || response.responseText == '') {} else {
                    var data = eval('(' + response.responseText + ')');
                    if(data.code == 0) {
                        location.href = data.gy;
                    }
                }
            }
        })
    }
})()




function Move(type) {
    var id;
    var name;
    var html;
    var addr;
    var id_btn=new Array();
    var items=new Array();
    var addr_name;
    switch(type) {
        case 1:
            $.each($(".item.J_MouserOnverReq"), function(index) {
                if(index != -1) {
                    if($(this).hasClass("jia")) {

                    } else {
                        $(this).addClass("jia");
                        id = $(this).find("a[id^='J_Itemlist_TLink_']").attr("data-nid");
                        name = $.trim($(".item.J_MouserOnverReq").eq(index).find(".row-2").text());
                        addr = "http://fakse.taoxiaoxing.com/index.php?/goods/search/"+encodeURI(name);

                        $(".price").eq(index).append("<a id='GetQuanS" + id + "' href='#' title='领大额券购物省80%!' onclick='window.open(\"http://fakse.taoxiaoxing.com/index.php?/goods/search/"+encodeURI(name)+"\",encodeURI(String(name)))'><strong style='border-left:2px solid;padding-left:4px;font-size:12px;color:#2cb95e;'>领券省80%</strong></a>");
                        TicketSearch(id, name);
                        ;
                    }
                }
            });


            break;
        case 2:
            if($(".productPrice")) {
                $.each($(".product-iWrap"), function(index) {
                    if($(this).hasClass("jia")) {

                    } else {
                        $(this).addClass("jia");
                        id = $(this).find(".productTitle a").attr("href").match(/id=\d+/)[0].replace(/id=/, "");
                        name = $.trim($(".productTitle a").eq(index).attr("title"));
                        $(".productPrice").eq(index).append("<a id='GetQuanS" + id + "' href='#' title='领大额券购物省80%!' onclick='window.open(\"http://fakse.taoxiaoxing.com/index.php?/goods/search/"+encodeURI(name)+"\",encodeURI(String(name)))'><em style='color:#30b210;border-left:2px solid;height:17px;line-height:20px;padding:4px;margin-left:4px;font-size:17px;color:2cb95e;'>领券省80%</em></a>"
                                                           )
                        TicketSearch(id, name);
                    }
                })
            }

            $(".product").each(function(index) {
                if($(this).hasClass("jia")) {

                } else {
                    $(this).addClass("jia");
                    id = $(".product").eq(index).attr("data-itemid");
                    name = $.trim($(this).find(".product-title a").text());
                    $(".ui-price").eq(index).append("<a id='GetQuanS" + id + "' href='#' title='领大额券购物省80%!' onclick='window.open(\"http://fakse.taoxiaoxing.com/index.php?/goods/search/"+encodeURI(name)+"\",encodeURI(String(name)))'><em style='border-left:2px solid;height:17px;line-height:20px;padding:4px;margin-left:4px;font-size:14px;color:#2cb95e;'>领券省80%</em></a>"
                                                   )
                    TicketSearch(id, name);
                }
            });

            $.each($(".chaoshi-recommend-item"), function(index) {
                if($(this).hasClass("jia")) {

                } else {
                    $(this).addClass("jia");
                    id = $(".chaoshi-recommend-item a").eq(index).attr("href").split("=")[1];
                    name = $(".rec-item-title").eq(index).text();
                    $(".rec-item-price").eq(index).append("<a id='GetQuanS" + id + "' href='#' title='领大额券购物省80%!' onclick='window.open(\"http://fakse.taoxiaoxing.com/index.php?/goods/search/"+encodeURI(name)+"\",encodeURI(String(name)))'><em style='border-left:2px solid;height:17px;line-height:20px;padding:4px;margin-left:4px;font-size:14px;color:#2cb95e;'>领券省80%</em></a>"
                                                         )
                    TicketSearch(id, name);
                }
            })
            break;
        case 3:
            $.each($(".productPrice"), function(index) {
                if($(this).hasClass("jia")) {

                } else {
                    $(this).addClass("jia");
                    id = $(".product").eq(index).attr("data-id");
                    name = $.trim($(".productTitle").eq(index).text());
                    $(".productPrice").eq(index).append("<a id='GetQuanS" + id + "' href='#' title='领大额券购物省80%!' onclick='window.open(\"http://fakse.taoxiaoxing.com/index.php?/goods/search/"+encodeURI(name)+"\",encodeURI(String(name)))'><em style='border-left:2px solid;height:17px;line-height:20px;padding:4px;margin-left:4px;font-size:13px;color:#2cb95e;'>领券省80%</em></a>"
                                                       )
                    TicketSearch(id, name);
                }
            });
            break;
        case 4:

            if($('.tb-main-title').hasClass("jia")) {} else {
                $('.tb-main-title').addClass("jia");
                id = GetID(location.href, 'id');
                name = $.trim($('.tb-main-title').text());
                $('.tb-action').append('<div style="margin:0px;padding:0px;display:table;width:100%;"><div class="tb-btn-buy" style="padding-top:10px;"><a id=\"GetQuanS' + id + '\" href="#" title="领大额券购物省80%!" onclick=\'window.open(\"http://fakse.taoxiaoxing.com/index.php?/goods/search/'+encodeURI(name)+'\",encodeURI(String(name)))\'>领券省80%</a></div><div class="tb-btn-add" style="padding-top:10px;"><a id=\"GetQuanS' + id + '\" href="#" title="领大额券购物省80%!" onclick=\'window.open(\"https://mobile.yangkeduo.com/duo_cms_mall.html?pid=1905534_23426152&cpsSign=CM1905534_23426152_d8eb422fae64bbe6dee1f38d7102a31f&duoduo_type=2&_wv=41729&_wvx=10&refer_share_id=hFX3mAyxxW1YNrv3ZSgvpDUyxeqyOV07&refer_share_uid=5110870431&refer_share_channel=message&from=singlemessage&state=\")\'>拼多多领券商城</a></div><div class="tb-btn-buy" style="padding-top:10px;"><a id=\"GetQuanS' + id + '\" href="#" title="领大额券购物省80%!" onclick=\'window.open(\"				https://qwd.jd.com/previewShop.shtml?isNoCheckPlatProtocol=1&shopid=3348002\")\'>京东优选好券</a></div></div>');




                TicketSearch(id, name);
            }
            break;
        case 5:
            if($('.tb-detail-hd').hasClass("jia")) {} else {
                $('.tb-detail-hd').addClass("jia");
                id = GetID(location.href, 'id');
                name = $.trim($('.tb-detail-hd h1').text());
                $('.tb-action').append(
                    '<div style="margin:0px;padding:0px;display:table;width:100%;"><div class="tb-btn-sku" style="padding-top:10px;"><a id=\"GetQuanS' + id + '\" href="#" title="领大额券购物省80%!" onclick=\'window.open(\"http://fakse.taoxiaoxing.com/index.php?/goods/search/'+encodeURI(name)+'\",encodeURI(String(name)))\'>领券省80%</a></div><div class="tb-btn-sku" style="padding-top:10px;"><a id=\"GetQuanS' + id + '\" href="#" title="领大额券购物省80%!" onclick=\'window.open(\"https://mobile.yangkeduo.com/duo_cms_mall.html?pid=1905534_23426152&cpsSign=CM1905534_23426152_d8eb422fae64bbe6dee1f38d7102a31f&duoduo_type=2&_wv=41729&_wvx=10&refer_share_id=hFX3mAyxxW1YNrv3ZSgvpDUyxeqyOV07&refer_share_uid=5110870431&refer_share_channel=message&from=singlemessage&state=\")\'>拼多多领券商城</a></div><div class="tb-btn-sku" style="padding-top:10px;"><a id=\"GetQuanS' + id + '\" href="#" title="领大额券购物省80%!" onclick=\'window.open(\"				https://qwd.jd.com/previewShop.shtml?isNoCheckPlatProtocol=1&shopid=3348002\")\'>京东优选好券</a></div></div>'
                );

                TicketSearch(id, name);
            }
            break;
        default:
            break;
    }
}

//云盘
(function () {
 // 'use strict';

  var $ = $ || window.$;
  var log_count = 1;
  var wordMapHttp = {};
  $(function () {
    wordMapHttp['default-dom'] = ($('.icon-upload').parent().parent().parent().parent().parent().attr('class'));
    wordMapHttp['bar'] = ($('.icon-upload').parent().parent().parent().parent().attr('class'));
  });
  var wordMapHttps = {
    'list': 'zJMtAEb',
    'grid': 'fyQgAEb',
    'list-grid-switch': 'auiaQNyn',
    'list-switched-on': 'ewXm1e',
    'grid-switched-on': 'kxhkX2Em',
    'list-switch': 'rvpXm63',
    'grid-switch': 'mxgdJgwv',
    'checkbox': 'EOGexf',
    'col-item': 'Qxyfvg',
    'check': 'fydGNC',
    'checked': 'EzubGg',
    'chekbox-grid': 'cEefyz',
    'list-view': 'vdAfKMb',
    'item-active': 'jddPyQ',
    'grid-view': 'JKvHJMb',
    'bar-search': 'OFaPaO',
    //'default-dom':'qkk3LED',
    //'bar':'cfj3L8W',
    'list-tools': 'QDDOQB'
  };
  var wordMap = location.protocol == 'http:' ? wordMapHttp : wordMapHttps;

  //console.log(wordMap);

  //替换网址为高级下载链接 默认不替换 http不用传
  function replaceDownloadLink(link, http) {
    var http = http || false;
    //是否强制将https替换为http
    if (http) {
      return link.replace('https://d.pcs.baidu.com', 'http://c.pcs.baidu.com');
    } else {
      return link.replace('d.pcs.baidu.com', 'c.pcs.baidu.com');
    }
  }

  function slog(c1, c2, c3) {
    c1 = c1 ? c1 : '';
    c2 = c2 ? c2 : '';
    c3 = c3 ? c3 : '';
    console.log('#' + log_count++ + '-BaiDuNetdiskHelper-log:', c1, c2, c3);
  }

  $(function () {
    switch (detectPage()) {
      case 'disk':
        var panHelper = new PanHelper();
        panHelper.init();
        return;
      case 'share':
      case 's':
        var panShareHelper = new PanShareHelper();
        panShareHelper.init();
        return;
      default:
        return;
    }
  });

  //网盘页面的下载助手
  function PanHelper() {
    var yunData, sign, timestamp, bdstoken, logid, fid_list;
    var fileList = [], selectFileList = [], batchLinkList = [], batchLinkListAll = [], linkList = [],
      list_grid_status = 'list';
    var observer, currentPage, currentPath, currentCategory, dialog, searchKey;
    var panAPIUrl = location.protocol + "//" + location.host + "/api/";
    var restAPIUrl = location.protocol + "//pcs.baidu.com/rest/2.0/pcs/";
    var clientAPIUrl = location.protocol + "//d.pcs.baidu.com/rest/2.0/pcs/";

    this.init = function () {
      yunData = unsafeWindow.yunData;
      slog('yunData:', yunData);
      if (yunData === undefined) {
        slog('页面未正常加载,或者百度已经更新!');
        return;
      }
      initParams();
      registerEventListener();
      createObserver();
      addButton();
      createIframe();
      dialog = new Dialog({addCopy: true});

      slog('网盘直接下载助手加载成功!');
    };

    function initParams() {
      sign = getSign();
      timestamp = getTimestamp();
      bdstoken = getBDStoken();
      logid = getLogID();
      currentPage = getCurrentPage();
      slog('Current display mode:', currentPage);

      if (currentPage == 'all')
        currentPath = getPath();

      if (currentPage == 'category')
        currentCategory = getCategory();

      if (currentPage == 'search')
        searchKey = getSearchKey();
      refreshListGridStatus();
      refreshFileList();
      refreshSelectList();
    }

    function refreshFileList() {
      if (currentPage == 'all') {
        fileList = getFileList();
      } else if (currentPage == 'category') {
        fileList = getCategoryFileList();
      } else if (currentPage == 'search') {
        fileList = getSearchFileList();
      }
    }

    function refreshSelectList() {
      selectFileList = [];
    }

    function refreshListGridStatus() {
      list_grid_status = getListGridStatus();
    }

    //获取当前的视图模式
    function getListGridStatus() {
      if ($('.' + wordMap['list']).is(':hidden')) {
        return 'grid'
      } else {
        return 'list'
      }
    }

    function registerEventListener() {
      registerHashChange();
      registerListGridStatus();
      registerCheckbox();
      registerAllCheckbox();
      registerFileSelect();
    }

    //监视地址栏#标签的变化
    function registerHashChange() {
      window.addEventListener('hashchange', function (e) {
        refreshListGridStatus();

        if (getCurrentPage() == 'all') {
          if (currentPage == getCurrentPage()) {
            if (currentPath == getPath()) {

            } else {
              currentPath = getPath();
              refreshFileList();
              refreshSelectList();
            }
          } else {
            currentPage = getCurrentPage();
            currentPath = getPath();
            refreshFileList();
            refreshSelectList();
          }
        } else if (getCurrentPage() == 'category') {
          if (currentPage == getCurrentPage()) {
            if (currentCategory == getCategory()) {

            } else {
              currentPage = getCurrentPage();
              currentCategory = getCategory();
              refreshFileList();
              refreshSelectList();
            }
          } else {
            currentPage = getCurrentPage();
            currentCategory = getCategory();
            refreshFileList();
            refreshSelectList();
          }
        } else if (getCurrentPage() == 'search') {
          if (currentPage == getCurrentPage()) {
            if (searchKey == getSearchKey()) {

            } else {
              currentPage = getCurrentPage();
              searchKey = getSearchKey();
              refreshFileList();
              refreshSelectList();
            }
          } else {
            currentPage = getCurrentPage();
            searchKey = getSearchKey();
            refreshFileList();
            refreshSelectList();
          }
        }
      });
    }

    //监视视图变化
    function registerListGridStatus() {
      var $a_list = $('a[data-type=list]');
      $a_list.click(function () {
        list_grid_status = 'list';
      });

      var $a_grid = $('a[data-type=grid]');
      $a_grid.click(function () {
        list_grid_status = 'grid';
      });
    }

    //文件选择框
    function registerCheckbox() {
      var $checkbox = $('span.' + wordMap['checkbox']);
      if (list_grid_status == 'grid') {
        $checkbox = $('.' + wordMap['chekbox-grid']);
      }

      $checkbox.each(function (index, element) {
        $(element).bind('click', function (e) {
          var $parent = $(this).parent();
          var filename;
          var isActive;

          if (list_grid_status == 'list') {
            filename = $('div.file-name div.text a', $parent).attr('title');
            isActive = $parent.hasClass(wordMap['item-active']);
          } else if (list_grid_status == 'grid') {
            filename = $('div.file-name a', $(this)).attr('title');
            isActive = !$(this).hasClass(wordMap['item-active'])
          }

          if (isActive) {
            slog('取消选中文件:' + filename);
            for (var i = 0; i < selectFileList.length; i++) {
              if (selectFileList[i].filename == filename) {
                selectFileList.splice(i, 1);
              }
            }
          } else {
            slog('选中文件:' + filename);
            $.each(fileList, function (index, element) {
              if (element.server_filename == filename) {
                var obj = {
                  filename: element.server_filename,
                  path: element.path,
                  fs_id: element.fs_id,
                  isdir: element.isdir
                };
                selectFileList.push(obj);
              }
            });
          }
        });
      });
    }

    function unregisterCheckbox() {
      //var $checkbox = $('span.checkbox');
      //var $checkbox = $('span.EOGexf');
      var $checkbox = $('span.' + wordMap['checkbox']);
      $checkbox.each(function (index, element) {
        $(element).unbind('click');
      });
    }

    //全选框
    function registerAllCheckbox() {
      //var $checkbox = $('div.col-item.check');
      //var $checkbox = $('div.Qxyfvg.fydGNC');
      var $checkbox = $('div.' + wordMap['col-item'] + '.' + wordMap['check']);
      $checkbox.each(function (index, element) {
        $(element).bind('click', function (e) {
          var $parent = $(this).parent();
          //if($parent.hasClass('checked')){
          //if($parent.hasClass('EzubGg')){
          if ($parent.hasClass(wordMap['checked'])) {
            slog('取消全选');
            selectFileList = [];
          } else {
            slog('全部选中');
            selectFileList = [];
            $.each(fileList, function (index, element) {
              var obj = {
                filename: element.server_filename,
                path: element.path,
                fs_id: element.fs_id,
                isdir: element.isdir
              };
              selectFileList.push(obj);
            });
          }
        });
      });
    }

    function unregisterAllCheckbox() {
      //var $checkbox = $('div.col-item.check');
      //var $checkbox = $('div.Qxyfvg.fydGNC');
      var $checkbox = $('div.' + wordMap['col-item'] + '.' + wordMap['check']);
      $checkbox.each(function (index, element) {
        $(element).unbind('click');
      });
    }

    //单个文件选中,点击文件不是点击选中框,会只选中该文件
    function registerFileSelect() {
      var $dd = $('div.' + wordMap['list-view'] + ' dd');
      $dd.each(function (index, element) {
        $(element).bind('click', function (e) {
          var nodeName = e.target.nodeName.toLowerCase();
          if (nodeName != 'span' && nodeName != 'a' && nodeName != 'em') {
            slog('shiftKey:' + e.shiftKey);
            if (!e.shiftKey) {
              selectFileList = [];
              var filename = $('div.file-name div.text a', $(this)).attr('title');
              slog('选中文件:' + filename);
              $.each(fileList, function (index, element) {
                if (element.server_filename == filename) {
                  var obj = {
                    filename: element.server_filename,
                    path: element.path,
                    fs_id: element.fs_id,
                    isdir: element.isdir
                  };
                  selectFileList.push(obj);
                }
              });
            } else {
              selectFileList = [];
              //var $dd_select = $('div.list-view dd.item-active');
              //var $dd_select = $('div.vdAfKMb dd.prWzXA');
              var $dd_select = $('div.' + wordMap['list-view'] + ' dd.' + wordMap['item-active']);
              $.each($dd_select, function (index, element) {
                var filename = $('div.file-name div.text a', $(element)).attr('title');
                slog('选中文件:' + filename);
                $.each(fileList, function (index, element) {
                  if (element.server_filename == filename) {
                    var obj = {
                      filename: element.server_filename,
                      path: element.path,
                      fs_id: element.fs_id,
                      isdir: element.isdir
                    };
                    selectFileList.push(obj);
                  }
                });
              });
            }
          }
        });
      });
    }

    function unregisterFileSelect() {
      //var $dd = $('div.list-view dd');
      //var $dd = $('div.vdAfKMb dd');
      var $dd = $('div.' + wordMap['list-view'] + ' dd');
      $dd.each(function (index, element) {
        $(element).unbind('click');
      });
    }

    //监视文件列表显示变化
    function createObserver() {
      var MutationObserver = window.MutationObserver;
      var options = {
        'childList': true
      };
      observer = new MutationObserver(function (mutations) {
        unregisterCheckbox();
        unregisterAllCheckbox();
        unregisterFileSelect();
        registerCheckbox();
        registerAllCheckbox();
        registerFileSelect();
      });

      //var list_view = document.querySelector('.list-view');
      //var grid_view = document.querySelector('.grid-view');

      //var list_view = document.querySelector('.vdAfKMb');
      //var grid_view = document.querySelector('.JKvHJMb');

      var list_view = document.querySelector('.' + wordMap['list-view']);
      var grid_view = document.querySelector('.' + wordMap['grid-view']);

      //console.log(list_view);
      observer.observe(list_view, options);
      observer.observe(grid_view, options);
    }

    //添加助手按钮
    function addButton() {
      //$('div.bar-search').css('width','18%');//修改搜索框的宽度,避免遮挡
      //$('div.OFaPaO').css('width','18%');
      $('div.' + wordMap['bar-search']).css('width', '18%');
      var $dropdownbutton = $('<span class="g-dropdown-button"></span>');
      var $dropdownbutton_a = $('<a class="g-button" href="javascript:void(0);"><span class="g-button-right"><em class="icon icon-download" title="百度网盘下载助手"></em><span class="text" style="width: auto;">下载助手</span></span></a>');
      var $dropdownbutton_span = $('<span class="menu" style="width:96px"></span>');

      var $directbutton = $('<span class="g-button-menu" style="display:block"></span>');
      var $directbutton_span = $('<span class="g-dropdown-button g-dropdown-button-second" menulevel="2"></span>');
      var $directbutton_a = $('<a class="g-button" href="javascript:void(0);"><span class="g-button-right"><span class="text" style="width:auto">直接下载</span></span></a>');
      var $directbutton_menu = $('<span class="menu" style="width:120px;left:79px"></span>');
      var $directbutton_download_button = $('<a id="download-direct" class="g-button-menu" href="javascript:void(0);">下载</a>');
      var $directbutton_link_button = $('<a id="link-direct" class="g-button-menu" href="javascript:void(0);">显示链接</a>');
      var $directbutton_batchhttplink_button = $('<a id="batchhttplink-direct" class="g-button-menu" href="javascript:void(0);">批量链接(HTTP)</a>');
      var $directbutton_batchhttpslink_button = $('<a id="batchhttpslink-direct" class="g-button-menu" href="javascript:void(0);">批量链接(HTTPS)</a>');
      $directbutton_menu.append($directbutton_download_button).append($directbutton_link_button).append($directbutton_batchhttplink_button).append($directbutton_batchhttpslink_button);
      $directbutton.append($directbutton_span.append($directbutton_a).append($directbutton_menu));
      $directbutton.hover(function () {
        $directbutton_span.toggleClass('button-open');
      });
      $directbutton_download_button.click(downloadClick);
      $directbutton_link_button.click(linkClick);
      $directbutton_batchhttplink_button.click(batchClick);
      $directbutton_batchhttpslink_button.click(batchClick);

      var $apibutton = $('<span class="g-button-menu" style="display:block"></span>');
      var $apibutton_span = $('<span class="g-dropdown-button g-dropdown-button-second" menulevel="2"></span>');
      var $apibutton_a = $('<a class="g-button" href="javascript:void(0);"><span class="g-button-right"><span class="text" style="width:auto">API下载</span></span></a>');
      var $apibutton_menu = $('<span class="menu" style="width:120px;left:77px"></span>');
      var $apibutton_download_button = $('<a id="download-api" class="g-button-menu" href="javascript:void(0);">下载</a>');
      var $apibutton_link_button = $('<a id="httplink-api" class="g-button-menu" href="javascript:void(0);">显示链接</a>');
      var $apibutton_batchhttplink_button = $('<a id="batchhttplink-api" class="g-button-menu" href="javascript:void(0);">批量链接(HTTP)</a>');
      var $apibutton_batchhttpslink_button = $('<a id="batchhttpslink-api" class="g-button-menu" href="javascript:void(0);">批量链接(HTTPS)</a>');
      $apibutton_menu.append($apibutton_download_button).append($apibutton_link_button).append($apibutton_batchhttplink_button).append($apibutton_batchhttpslink_button);
      $apibutton.append($apibutton_span.append($apibutton_a).append($apibutton_menu));
      $apibutton.hover(function () {
        $apibutton_span.toggleClass('button-open');
      });
      $apibutton_download_button.click(downloadClick);
      $apibutton_link_button.click(linkClick);
      $apibutton_batchhttplink_button.click(batchClick);
      $apibutton_batchhttpslink_button.click(batchClick);

      var $outerlinkbutton = $('<span class="g-button-menu" style="display:none"></span>');  //改为block显示外链下载
      var $outerlinkbutton_span = $('<span class="g-dropdown-button g-dropdown-button-second" menulevel="2"></span>');
      var $outerlinkbutton_a = $('<a class="g-button" href="javascript:void(0);"><span class="g-button-right"><span class="text" style="width:auto">外链下载</span></span></a>');
      var $outerlinkbutton_menu = $('<span class="menu" style="width:120px;left:79px"></span>');
      var $outerlinkbutton_download_button = $('<a id="download-outerlink" class="g-button-menu" href="javascript:void(0);">下载</a>');
      var $outerlinkbutton_link_button = $('<a id="link-outerlink" class="g-button-menu" href="javascript:void(0);">显示链接</a>');
      var $outerlinkbutton_batchlink_button = $('<a id="batchlink-outerlink" class="g-button-menu" href="javascript:void(0);">批量链接</a>');
      $outerlinkbutton_menu.append($outerlinkbutton_download_button).append($outerlinkbutton_link_button).append($outerlinkbutton_batchlink_button);
      $outerlinkbutton.append($outerlinkbutton_span.append($outerlinkbutton_a).append($outerlinkbutton_menu));
      $outerlinkbutton.hover(function () {
        $outerlinkbutton_span.toggleClass('button-open');
      });
      $outerlinkbutton_download_button.click(downloadClick);
      $outerlinkbutton_link_button.click(linkClick);
      $outerlinkbutton_batchlink_button.click(batchClick);

      //$dropdownbutton_span.append($directbutton).append($apibutton).append($outerlinkbutton);
      $dropdownbutton_span.append($apibutton).append($outerlinkbutton);
      $dropdownbutton.append($dropdownbutton_a).append($dropdownbutton_span);

      $dropdownbutton.hover(function () {
        $dropdownbutton.toggleClass('button-open');
      });

      $('div.' + wordMap['default-dom'] + ' div.' + wordMap['bar'] + ' div.' + wordMap['list-tools']).prepend($dropdownbutton);
      $('div.' + wordMap['list-tools']).prepend($dropdownbutton)
    }

    // 我的网盘 - 下载
    function downloadClick(event) {
      //console.log('downloadClick');
      slog('选中文件列表:', selectFileList);
      var id = event.target.id;
      var downloadLink;

      if (id == 'download-direct') {
        var downloadType;
        if (selectFileList.length === 0) {
          alert("获取选中文件失败,请刷新重试!");
          return;
        } else if (selectFileList.length == 1) {
          if (selectFileList[0].isdir === 1)
            downloadType = 'batch';
          else if (selectFileList[0].isdir === 0)
            downloadType = 'dlink';
          //downloadType = selectFileList[0].isdir==1?'batch':(selectFileList[0].isdir===0?'dlink':'batch');
        } else if (selectFileList.length > 1) {
          downloadType = 'batch';
        }

        fid_list = getFidList(selectFileList);
        var result = getDownloadLinkWithPanAPI(downloadType);
        if (result.errno === 0) {
          if (downloadType == 'dlink')
            downloadLink = result.dlink[0].dlink;
          else if (downloadType == 'batch') {
            downloadLink = result.dlink;
            if (selectFileList.length === 1)
              downloadLink = downloadLink + '&zipname=' + encodeURIComponent(selectFileList[0].filename) + '.zip';
          } else {
            alert("发生错误!");
            return;
          }
        } else if (result.errno == -1) {
          alert('文件不存在或已被百度和谐,无法下载!');
          return;
        } else if (result.errno == 112) {
          alert("页面过期,请刷新重试!");
          return;
        } else {
          alert("发生错误!");
          return;
        }
      } else {
        if (selectFileList.length === 0) {
          alert("获取选中文件失败,请刷新重试!");
          return;
        } else if (selectFileList.length > 1) {
          alert("该方法不支持多文件下载!");
          return;
        } else {
          if (selectFileList[0].isdir == 1) {
            alert("该方法不支持目录下载!");
            return;
          }
        }
        if (id == 'download-api') {
          downloadLink = getDownloadLinkWithRESTAPIBaidu(selectFileList[0].path);
        } else if (id == 'download-outerlink') {
          var result = getDownloadLinkWithClientAPI(selectFileList[0].path);
          if (result.errno == 0) {
            downloadLink = result.urls[0].url;
          } else if (result.errno == 1) {
            alert('文件不存在!');
            return;
          } else if (result.errno == 2) {
            alert('文件不存在或者已被百度和谐,无法下载!');
            return;
          } else {
            alert('发生错误!');
            return;
          }
        }
      }
      execDownload(downloadLink);
    }

    //我的网盘 - 显示链接
    function linkClick(event) {
      //console.log('linkClick');
      slog('选中文件列表:', selectFileList);
      var id = event.target.id;
      var linkList, tip;

      if (id.indexOf('direct') != -1) {
        var downloadType;
        var downloadLink;
        if (selectFileList.length === 0) {
          alert("获取选中文件失败,请刷新重试!");
          return;
        } else if (selectFileList.length == 1) {
          if (selectFileList[0].isdir === 1)
            downloadType = 'batch';
          else if (selectFileList[0].isdir === 0)
            downloadType = 'dlink';
        } else if (selectFileList.length > 1) {
          downloadType = 'batch';
        }
        fid_list = getFidList(selectFileList);
        var result = getDownloadLinkWithPanAPI(downloadType);
        if (result.errno === 0) {
          if (downloadType == 'dlink')
            downloadLink = result.dlink[0].dlink;
          else if (downloadType == 'batch') {
            slog(selectFileList);
            downloadLink = result.dlink;
            if (selectFileList.length === 1)
              downloadLink = downloadLink + '&zipname=' + encodeURIComponent(selectFileList[0].filename) + '.zip';
          } else {
            alert("发生错误!");
            return;
          }
        } else if (result.errno == -1) {
          alert('文件不存在或已被百度和谐,无法下载!');
          return;
        } else if (result.errno == 112) {
          alert("页面过期,请刷新重试!");
          return;
        } else {
          alert("发生错误!");
          return;
        }
        var httplink = downloadLink.replace(/^([A-Za-z]+):/, 'http:');
        //httplink = replaceDownloadLink(httplink);
        var httpslink = downloadLink.replace(/^([A-Za-z]+):/, 'https:');
        //httpslink = replaceDownloadLink(httpslink);
        var filename = '';
        $.each(selectFileList, function (index, element) {
          if (selectFileList.length == 1)
            filename = element.filename;
          else {
            if (index == 0)
              filename = element.filename;
            else
              filename = filename + ',' + element.filename;
          }
        });
        linkList = {
          filename: filename,
          urls: [
            {url: httplink, rank: 1},
            {url: httpslink, rank: 2}
          ]
        };
        tip = '显示模拟百度网盘网页获取的链接,可以使用右键迅雷或IDM下载,复制到下载工具需要传递cookie,多文件打包下载的链接可以直接复制使用';
        dialog.open({title: '下载链接', type: 'link', list: linkList, tip: tip});
      } else {
        if (selectFileList.length === 0) {
          alert("获取选中文件失败,请刷新重试!");
          return;
        } else if (selectFileList.length > 1) {
          alert("该方法不支持多文件下载!");
          return;
        } else {
          if (selectFileList[0].isdir == 1) {
            alert("该方法不支持目录下载!");
            return;
          }
        }
        if (id.indexOf('api') != -1) {
          var downloadLink = getDownloadLinkWithRESTAPIBaidu(selectFileList[0].path);
          var httplink = downloadLink.replace(/^([A-Za-z]+):/, 'http:');
          var httpslink = downloadLink.replace(/^([A-Za-z]+):/, 'https:');
          linkList = {
            filename: selectFileList[0].filename,
            urls: [
              {url: httplink, rank: 1},
              {url: httpslink, rank: 2}
            ]
          };
          httplink = httplink.replace('266719', '266719');
          httpslink = httpslink.replace('266719', '266719');
          linkList.urls.push({url: httplink, rank: 3});
          linkList.urls.push({url: httpslink, rank: 4});
          tip = '显示模拟APP获取的链接(使用百度云ID),可以使用右键迅雷或IDM下载,复制到下载工具需要传递cookie';
          dialog.open({title: '下载链接', type: 'link', list: linkList, tip: tip});
        } else if (id.indexOf('outerlink') != -1) {
          var result = getDownloadLinkWithClientAPI(selectFileList[0].path);
          if (result.errno == 0) {
            linkList = {
              filename: selectFileList[0].filename,
              urls: result.urls
            };
          } else if (result.errno == 1) {
            alert('文件不存在!');
            return;
          } else if (result.errno == 2) {
            alert('文件不存在或者已被百度和谐,无法下载!');
            return;
          } else {
            alert('发生错误!');
            return;
          }
          tip = '显示模拟百度网盘客户端获取的链接,可以直接复制到下载工具使用,不需要cookie';
          dialog.open({
            title: '下载链接',
            type: 'link',
            list: linkList,
            tip: tip,
            showcopy: true,
            showedit: true
          });
        }
      }
      //dialog.open({title:'下载链接',type:'link',list:linkList,tip:tip});
    }

    // 我的网盘 - 批量下载
    function batchClick(event) {
      //console.log('batchClick');
      slog('选中文件列表:', selectFileList);
      if (selectFileList.length === 0) {
        alert('获取选中文件失败,请刷新重试!');
        return;
      }
      var id = event.target.id;
      var linkType, tip;
      linkType = id.indexOf('https') == -1 ? (id.indexOf('http') == -1 ? location.protocol + ':' : 'http:') : 'https:';
      batchLinkList = [];
      batchLinkListAll = [];
      if (id.indexOf('direct') != -1) {
        batchLinkList = getDirectBatchLink(linkType);
        tip = '显示所有选中文件的直接下载链接,文件夹显示为打包下载的链接';
        if (batchLinkList.length === 0) {
          alert('没有链接可以显示,API链接不要全部选中文件夹!');
          return;
        }
        dialog.open({title: '批量链接', type: 'batch', list: batchLinkList, tip: tip, showcopy: true});
      } else if (id.indexOf('api') != -1) {
        batchLinkList = getAPIBatchLink(linkType);
        tip = '显示所有选中文件的API下载链接,不显示文件夹';
        if (batchLinkList.length === 0) {
          alert('没有链接可以显示,API链接不要全部选中文件夹!');
          return;
        }
        dialog.open({title: '批量链接', type: 'batch', list: batchLinkList, tip: tip, showcopy: true});
      } else if (id.indexOf('outerlink') != -1) {
        batchLinkListAll = getOuterlinkBatchLinkAll();
        batchLinkList = getOuterlinkBatchLinkFirst(batchLinkListAll);
        tip = '显示所有选中文件的外部下载链接,不显示文件夹';
        if (batchLinkList.length === 0) {
          alert('没有链接可以显示,API链接不要全部选中文件夹!');
          return;
        }

        dialog.open({
          title: '批量链接',
          type: 'batch',
          list: batchLinkList,
          tip: tip,
          showcopy: true,
          alllist: batchLinkListAll,
          showall: true
        });
      }

      //dialog.open({title:'批量链接',type:'batch',list:batchLinkList,tip:tip,showcopy:true});
    }

    function getDirectBatchLink(linkType) {
      var list = [];
      $.each(selectFileList, function (index, element) {
        var downloadType, downloadLink, result;
        if (element.isdir == 0)
          downloadType = 'dlink';
        else
          downloadType = 'batch';
        fid_list = getFidList([element]);
        result = getDownloadLinkWithPanAPI(downloadType);
        if (result.errno == 0) {
          if (downloadType == 'dlink')
            downloadLink = result.dlink[0].dlink;
          else if (downloadType == 'batch')
            downloadLink = result.dlink;
          downloadLink = downloadLink.replace(/^([A-Za-z]+):/, linkType);
          //downloadLink = replaceDownloadLink(downloadLink);
        } else {
          downloadLink = 'error';
        }
        list.push({filename: element.filename, downloadlink: downloadLink});
      });
      return list;
    }

    function getAPIBatchLink(linkType) {
      var list = [];
      $.each(selectFileList, function (index, element) {
        if (element.isdir == 1)
          return;
        var downloadLink;
        downloadLink = getDownloadLinkWithRESTAPIBaidu(element.path);
        downloadLink = downloadLink.replace(/^([A-Za-z]+):/, linkType);
        list.push({filename: element.filename, downloadlink: downloadLink});
      });
      return list;
    }

    function getOuterlinkBatchLinkAll() {
      var list = [];
      $.each(selectFileList, function (index, element) {
        var result;
        if (element.isdir == 1)
          return;
        result = getDownloadLinkWithClientAPI(element.path);
        if (result.errno == 0) {
          //downloadLink = result.urls[0].url;
          list.push({filename: element.filename, links: result.urls});
        } else {
          //downloadLink = 'error';
          list.push({filename: element.filename, links: [{rank: 1, url: 'error'}]});
        }
        //list.push({filename:element.filename,downloadlink:downloadLink});
      });
      return list;
    }

    function getOuterlinkBatchLinkFirst(list) {
      var result = [];
      $.each(list, function (index, element) {
        result.push({filename: element.filename, downloadlink: element.links[0].url});
      });
      return result;
    }

    function getSign() {
      var signFnc;
      try {
        signFnc = new Function("return " + yunData.sign2)();
      } catch (e) {
        throw new Error(e.message);
      }
      return base64Encode(signFnc(yunData.sign5, yunData.sign1));
    }

    //获取当前目录
    function getPath() {
      var hash = location.hash;
      var regx = new RegExp("path=([^&]*)(&|$)", 'i');
      var result = hash.match(regx);
      //console.log(result);
      return decodeURIComponent(result[1]);
    }

    //获取分类显示的类别,即地址栏中的type
    function getCategory() {
      var hash = location.hash;
      var regx = new RegExp("path=([^&]*)(&|$)", 'i');
      var result = hash.match(regx);
      return decodeURIComponent(result[1]);
    }

    function getSearchKey() {
      var hash = location.hash;
      var regx = new RegExp("key=([^&]*)(&|$)", 'i');
      var result = hash.match(regx);
      return decodeURIComponent(result[1]);
    }

    //获取当前页面(all或者category或search)
    function getCurrentPage() {
      var hash = location.hash;
      //console.log(hash.substring(hash.indexOf('#') + 2, hash.indexOf('?')));
      return hash.substring(hash.indexOf('#') + 2, hash.indexOf('?'));
    }

    //获取文件列表
    function getFileList() {
      var filelist = [];
      var listUrl = panAPIUrl + "list";
      var path = getPath();
      logid = getLogID();
      var params = {
        dir: path,
        bdstoken: bdstoken,
        logid: logid,
        order: 'size',
        desc: 0,
        clienttype: 0,
        showempty: 0,
        web: 1,
        channel: 'chunlei',
        appid: 266719
      };

      $.ajax({
        url: listUrl,
        async: false,
        method: 'GET',
        data: params,
        success: function (response) {
          filelist = 0 === response.errno ? response.list : [];
        }
      });
      return filelist;
    }

    //获取分类页面下的文件列表
    function getCategoryFileList() {
      var filelist = [];
      var listUrl = panAPIUrl + "categorylist";
      var category = getCategory();
      logid = getLogID();
      var params = {
        category: category,
        bdstoken: bdstoken,
        logid: logid,
        order: 'size',
        desc: 0,
        clienttype: 0,
        showempty: 0,
        web: 1,
        channel: 'chunlei',
        appid: 266719
      };
      $.ajax({
        url: listUrl,
        async: false,
        method: 'GET',
        data: params,
        success: function (response) {
          filelist = 0 === response.errno ? response.info : [];
        }
      });
      return filelist;
    }

    function getSearchFileList() {
      var filelist = [];
      var listUrl = panAPIUrl + 'search';
      logid = getLogID();
      searchKey = getSearchKey();
      var params = {
        recursion: 1,
        order: 'time',
        desc: 1,
        showempty: 0,
        web: 1,
        page: 1,
        num: 100,
        key: searchKey,
        channel: 'chunlei',
        app_id: 266719,
        bdstoken: bdstoken,
        logid: logid,
        clienttype: 0
      };
      $.ajax({
        url: listUrl,
        async: false,
        method: 'GET',
        data: params,
        success: function (response) {
          filelist = 0 === response.errno ? response.list : [];
        }
      });
      return filelist;
    }

    //生成下载时的fid_list参数
    function getFidList(list) {
      var fidlist = null;
      if (list.length === 0)
        return null;
      var fileidlist = [];
      $.each(list, function (index, element) {
        fileidlist.push(element.fs_id);
      });
      fidlist = '[' + fileidlist + ']';
      return fidlist;
    }

    function getTimestamp() {
      return yunData.timestamp;
    }

    function getBDStoken() {
      return yunData.MYBDSTOKEN;
    }

    //获取直接下载地址
    //这个地址不是直接下载地址,访问这个地址会返回302,response header中的location才是真实下载地址
    //暂时没有找到提取方法
    function getDownloadLinkWithPanAPI(type) {
      var downloadUrl = panAPIUrl + "download";
      var result;
      logid = getLogID();
      var params = {
        sign: sign,
        timestamp: timestamp,
        fidlist: fid_list,
        type: type,
        channel: 'chunlei',
        web: 1,
        app_id: 266719,
        bdstoken: bdstoken,
        logid: logid,
        clienttype: 0
      };
      $.ajax({
        url: downloadUrl,
        async: false,
        method: 'GET',
        data: params,
        success: function (response) {
          result = response;
        }
      });
      return result;
    }

    function getDownloadLinkWithRESTAPIBaidu(path) {
      var link = restAPIUrl + 'file?method=download&app_id=266719&path=' + encodeURIComponent(path);
      return link;
    }

    function getDownloadLinkWithRESTAPIES(path) {
      var link = restAPIUrl + 'file?method=download&app_id=266719&path=' + encodeURIComponent(path);
      return link;
    }

    function getDownloadLinkWithClientAPI(path) {
      var result;
      var url = clientAPIUrl + 'file?method=locatedownload&app_id=266719&ver=4.0&path=' + encodeURIComponent(path);
      $.ajax({
        url: url,
        method: 'POST',
        xhrFields: {
          withCredentials: true
        },
        async: false,
        success: function (response) {
          result = JSON.parse(response);
        },
        statusCode: {
          404: function (response) {
            result = response;
          }
        }
      });
      if (result) {
        if (result.error_code == undefined) {
          if (result.urls == undefined) {
            result.errno = 2;
          } else {
            $.each(result.urls, function (index, element) {
              result.urls[index].url = element.url.replace('\\', '');
            });
            result.errno = 0;
          }
        } else if (result.error_code == 31066) {
          result.errno = 1;
        } else {
          result.errno = -1;
        }
      } else {
        result = {};
        result.errno = -1;
      }
      return result;
    }

    function execDownload(link) {
      slog("下载链接:" + link);
      $('#helperdownloadiframe').attr('src', link);
    }

    function createIframe() {
      var $div = $('<div class="helper-hide" style="padding:0;margin:0;display:block"></div>');
      var $iframe = $('<iframe src="javascript:void(0)" id="helperdownloadiframe" style="display:none"></iframe>');
      $div.append($iframe);
      $('body').append($div);

    }
  }

  //分享页面的下载助手
  function PanShareHelper() {
    var yunData, sign, timestamp, bdstoken, channel, clienttype, web, app_id, logid, encrypt, product, uk,
      primaryid, fid_list, extra, shareid;
    var vcode;
    var shareType, buttonTarget, currentPath, list_grid_status, observer, dialog, vcodeDialog;
    var fileList = [], selectFileList = [];
    var panAPIUrl = location.protocol + "//" + location.host + "/api/";
    var shareListUrl = location.protocol + "//" + location.host + "/share/list";

    this.init = function () {
      yunData = unsafeWindow.yunData;
      slog('yunData:', yunData);
      if (yunData === undefined || yunData.FILEINFO == null) {
        slog('页面未正常加载,或者百度已经更新!');
        return;
      }
      initParams();
      addButton();
      dialog = new Dialog({addCopy: false});
      vcodeDialog = new VCodeDialog(refreshVCode, confirmClick);
      createIframe();

      if (!isSingleShare()) {
        registerEventListener();
        createObserver();
      }

      slog('分享直接下载加载成功!');
    };

    function initParams() {
      shareType = getShareType();
      sign = yunData.SIGN;
      timestamp = yunData.TIMESTAMP;
      bdstoken = yunData.MYBDSTOKEN;
      channel = 'chunlei';
      clienttype = 0;
      web = 1;
      app_id = 266719;
      logid = getLogID();
      encrypt = 0;
      product = 'share';
      primaryid = yunData.SHARE_ID;
      uk = yunData.SHARE_UK;

      if (shareType == 'secret') {
        extra = getExtra();
      }
      if (isSingleShare()) {
        var obj = {};
        if (yunData.CATEGORY == 2) {
          obj.filename = yunData.FILENAME;
          obj.path = yunData.PATH;
          obj.fs_id = yunData.FS_ID;
          obj.isdir = 0;
        } else {
          obj.filename = yunData.FILEINFO[0].server_filename,
            obj.path = yunData.FILEINFO[0].path,
            obj.fs_id = yunData.FILEINFO[0].fs_id,
            obj.isdir = yunData.FILEINFO[0].isdir
        }
        selectFileList.push(obj);
      } else {
        shareid = yunData.SHARE_ID;
        currentPath = getPath();
        list_grid_status = getListGridStatus();
        fileList = getFileList();
      }
    }

    //判断分享类型(public或者secret)
    function getShareType() {
      return yunData.SHARE_PUBLIC === 1 ? 'public' : 'secret';
    }

    //判断是单个文件分享还是文件夹或者多文件分享
    function isSingleShare() {
      return yunData.getContext === undefined ? true : false;
    }

    //判断是否为自己的分享链接
    function isSelfShare() {
      return yunData.MYSELF == 1 ? true : false;
    }

    function getExtra() {
      var seKey = decodeURIComponent(getCookie('BDCLND'));
      return '{' + '"sekey":"' + seKey + '"' + "}";
    }

    //获取当前目录
    function getPath() {
      var hash = location.hash;
      var regx = new RegExp("path=([^&]*)(&|$)", 'i');
      var result = hash.match(regx);
      return decodeURIComponent(result[1]);
    }

    //获取当前的视图模式
    function getListGridStatus() {
      var status = 'list';
      if ($('.list-switched-on').length > 0) {
        status = 'list';
      } else if ($('.grid-switched-on').length > 0) {
        status = 'grid';
      }
      return status;
    }

    //添加下载助手按钮
    function addButton() {
      if (isSingleShare()) {
        $('div.slide-show-right').css('width', '500px');
        $('div.frame-main').css('width', '96%');
        $('div.share-file-viewer').css('width', '740px').css('margin-left', 'auto').css('margin-right', 'auto');
      } else
        $('div.slide-show-right').css('width', '500px');
      var $dropdownbutton = $('<span class="g-dropdown-button"></span>');
      var $dropdownbutton_a = $('<a class="g-button" data-button-id="b200" data-button-index="200" href="javascript:void(0);"></a>');
      var $dropdownbutton_a_span = $('<span class="g-button-right"><em class="icon icon-download" title="百度网盘下载助手"></em><span class="text" style="width: auto;">下载助手</span></span>');
      var $dropdownbutton_span = $('<span class="menu" style="width:auto;z-index:41"></span>');

      var $downloadButton = $('<a data-menu-id="b-menu207" class="g-button-menu" href="javascript:void(0);">直接下载</a>');
      var $linkButton = $('<a data-menu-id="b-menu208" class="g-button-menu" href="javascript:void(0);">显示链接</a>');

      $dropdownbutton_span.append($downloadButton).append($linkButton);
      $dropdownbutton_a.append($dropdownbutton_a_span);
      $dropdownbutton.append($dropdownbutton_a).append($dropdownbutton_span);

      $dropdownbutton.hover(function () {
        $dropdownbutton.toggleClass('button-open');
      });

      $downloadButton.click(downloadButtonClick);
      $linkButton.click(linkButtonClick);

      $('div.module-share-top-bar div.bar div.x-button-box').append($dropdownbutton);
    }

    function createIframe() {
      var $div = $('<div class="helper-hide" style="padding:0;margin:0;display:block"></div>');
      var $iframe = $('<iframe src="javascript:void(0)" id="helperdownloadiframe" style="display:none"></iframe>');
      $div.append($iframe);
      $('body').append($div);
    }

    function registerEventListener() {
      registerHashChange();
      registerListGridStatus();
      registerCheckbox();
      registerAllCheckbox();
      registerFileSelect();
    }

    //监视地址栏#标签变化
    function registerHashChange() {
      window.addEventListener('hashchange', function (e) {
        list_grid_status = getListGridStatus();
        if (currentPath == getPath()) {

        } else {
          currentPath = getPath();
          refreshFileList();
          refreshSelectFileList();
        }
      });
    }

    function refreshFileList() {
      fileList = getFileList();
    }

    function refreshSelectFileList() {
      selectFileList = [];
    }

    //监视视图变化
    function registerListGridStatus() {
      var $a_list = $('a[data-type=list]');
      $a_list.click(function () {
        list_grid_status = 'list';
      });

      var $a_grid = $('a[data-type=grid]');
      $a_grid.click(function () {
        list_grid_status = 'grid';
      });
    }

    //监视文件选择框
    function registerCheckbox() {
      //var $checkbox = $('span.checkbox');
      var $checkbox = $('span.' + wordMap['checkbox']);
      if (list_grid_status == 'grid') {
        $checkbox = $('.' + wordMap['chekbox-grid']);
      }
      $checkbox.each(function (index, element) {
        $(element).bind('click', function (e) {
          var $parent = $(this).parent();
          var filename;
          var isActive;

          if (list_grid_status == 'list') {
            filename = $('div.file-name div.text a', $parent).attr('title');
            isActive = $(this).parents('dd').hasClass('JS-item-active')
          } else if (list_grid_status == 'grid') {
            filename = $('div.file-name a', $(this)).attr('title');
            isActive = !$(this).hasClass('JS-item-active')
          }

          if (isActive) {
            slog('取消选中文件:' + filename);
            for (var i = 0; i < selectFileList.length; i++) {
              if (selectFileList[i].filename == filename) {
                selectFileList.splice(i, 1);
              }
            }
          } else {
            slog('选中文件: ' + filename);
            $.each(fileList, function (index, element) {
              if (element.server_filename == filename) {
                var obj = {
                  filename: element.server_filename,
                  path: element.path,
                  fs_id: element.fs_id,
                  isdir: element.isdir
                };
                selectFileList.push(obj);
              }
            });
          }
        });
      });
    }

    function unregisterCheckbox() {
      //var $checkbox = $('span.checkbox');
      var $checkbox = $('span.' + wordMap['checkbox']);
      $checkbox.each(function (index, element) {
        $(element).unbind('click');
      });
    }

    //监视全选框
    function registerAllCheckbox() {
      //var $checkbox = $('div.col-item.check');
      var $checkbox = $('div.' + wordMap['col-item'] + '.' + wordMap['check']);
      $checkbox.each(function (index, element) {
        $(element).bind('click', function (e) {
          var $parent = $(this).parent();
          //if($parent.hasClass('checked')){
          if ($parent.hasClass(wordMap['checked'])) {
            slog('取消全选');
            selectFileList = [];
          } else {
            slog('全部选中');
            selectFileList = [];
            $.each(fileList, function (index, element) {
              var obj = {
                filename: element.server_filename,
                path: element.path,
                fs_id: element.fs_id,
                isdir: element.isdir
              };
              selectFileList.push(obj);
            });
          }
        });
      });
    }

    function unregisterAllCheckbox() {
      //var $checkbox = $('div.col-item.check');
      var $checkbox = $('div.' + wordMap['col-item'] + '.' + wordMap['check']);
      $checkbox.each(function (index, element) {
        $(element).unbind('click');
      });
    }

    //监视单个文件选中
    function registerFileSelect() {
      //console.log('registerFileSelect');
      //var $dd = $('div.list-view dd');
      var $dd = $('div.' + wordMap['list-view'] + ' dd');
      $dd.each(function (index, element) {
        $(element).bind('click', function (e) {
          var nodeName = e.target.nodeName.toLowerCase();
          if (nodeName != 'span' && nodeName != 'a' && nodeName != 'em') {
            selectFileList = [];
            var filename = $('div.file-name div.text a', $(this)).attr('title');
            slog('选中文件:' + filename);
            $.each(fileList, function (index, element) {
              if (element.server_filename == filename) {
                var obj = {
                  filename: element.server_filename,
                  path: element.path,
                  fs_id: element.fs_id,
                  isdir: element.isdir
                };
                selectFileList.push(obj);
              }
            });
          }
        });
      });
    }

    function unregisterFileSelect() {
      //var $dd = $('div.list-view dd');
      var $dd = $('div.' + wordMap['list-view'] + ' dd');
      $dd.each(function (index, element) {
        $(element).unbind('click');
      });
    }

    //监视文件列表显示变化
    function createObserver() {
      var MutationObserver = window.MutationObserver;
      var options = {
        'childList': true
      };
      observer = new MutationObserver(function (mutations) {
        unregisterCheckbox();
        unregisterAllCheckbox();
        unregisterFileSelect();
        registerCheckbox();
        registerAllCheckbox();
        registerFileSelect();
      });
      //var list_view = document.querySelector('.list-view');
      //var grid_view = document.querySelector('.grid-view');

      var list_view = document.querySelector('.' + wordMap['list-view']);
      var grid_view = document.querySelector('.' + wordMap['grid-view']);

      observer.observe(list_view, options);
      observer.observe(grid_view, options);
    }

    //获取文件信息列表
    function getFileList() {
      var result = [];
      if (getPath() == '/') {
        result = yunData.FILEINFO;
      } else {
        logid = getLogID();
        var params = {
          uk: uk,
          shareid: shareid,
          order: 'other',
          desc: 1,
          showempty: 0,
          web: web,
          dir: getPath(),
          t: Math.random(),
          bdstoken: bdstoken,
          channel: channel,
          clienttype: clienttype,
          app_id: app_id,
          logid: logid
        };
        $.ajax({
          url: shareListUrl,
          method: 'GET',
          async: false,
          data: params,
          success: function (response) {
            if (response.errno === 0) {
              result = response.list;
            }
          }
        });
      }
      return result;
    }

    function downloadButtonClick() {
      //console.log('点击直接下载按钮');
      slog('选中文件列表:', selectFileList);
      if (selectFileList.length === 0) {
        alert('获取文件ID失败,请重试');
        return;
      }
      buttonTarget = 'download';
      var downloadLink = getDownloadLink();
      //console.log(downloadLink);

      if (downloadLink.errno == -20) {
        vcode = getVCode();
        if (vcode.errno !== 0) {
          alert('获取验证码失败!');
          return;
        }
        vcodeDialog.open(vcode);
      } else if (downloadLink.errno == 112) {
        alert('页面过期,请刷新重试');

      } else if (downloadLink.errno === 0) {
        var link;
        if (selectFileList.length == 1 && selectFileList[0].isdir === 0)
          link = downloadLink.list[0].dlink;
        else
          link = downloadLink.dlink;
        //link = link.replace("https://d.pcs.baidu.com","http://c.pcs.baidu.com");
        execDownload(link);
      } else {
        alert('获取下载链接失败!');

      }
    }

    //获取验证码
    function getVCode() {
      var url = panAPIUrl + 'getvcode';
      var result;
      logid = getLogID();
      var params = {
        prod: 'pan',
        t: Math.random(),
        bdstoken: bdstoken,
        channel: channel,
        clienttype: clienttype,
        web: web,
        app_id: app_id,
        logid: logid
      };
      $.ajax({
        url: url,
        method: 'GET',
        async: false,
        data: params,
        success: function (response) {
          result = response;
        }
      });
      return result;
    }

    //刷新验证码
    function refreshVCode() {
      vcode = getVCode();
      $('#dialog-img').attr('src', vcode.img);
    }

    //验证码确认提交
    function confirmClick() {
      var val = $('#dialog-input').val();
      if (val.length === 0) {
        $('#dialog-err').text('请输入验证码');
        return;
      } else if (val.length < 4) {
        $('#dialog-err').text('验证码输入错误,请重新输入');
        return;
      }
      var result = getDownloadLinkWithVCode(val);
      //console.log(result);
      if (result.errno == -20) {
        vcodeDialog.close();
        $('#dialog-err').text('验证码输入错误,请重新输入');
        refreshVCode();
        if (!vcode || vcode.errno !== 0) {
          alert('获取验证码失败!');
          return;
        }
        vcodeDialog.open();
      } else if (result.errno === 0) {
        vcodeDialog.close();
        var link;
        if (selectFileList.length == 1 && selectFileList[0].isdir === 0)
          link = result.list[0].dlink;
        else
          link = result.dlink;
        if (buttonTarget == 'download') {
          execDownload(link);
        } else if (buttonTarget == 'link') {
          var filename = '';
          $.each(selectFileList, function (index, element) {
            if (selectFileList.length == 1)
              filename = element.filename;
            else {
              if (index == 0)
                filename = element.filename;
              else
                filename = filename + ',' + element.filename;
            }
          });
          //link = replaceDownloadLink(link);
          var linkList = {
            filename: filename,
            urls: [
              {url: link, rank: 1}
            ]
          };
          var tip = "显示获取的链接,可以使用右键迅雷或IDM下载,复制无用,需要传递cookie";
          dialog.open({title: '下载链接', type: 'link', list: linkList, tip: tip});
        }
      } else {
        alert('发生错误!');

      }
    }

    //生成下载用的fid_list参数
    function getFidList() {
      var fidlist = [];
      $.each(selectFileList, function (index, element) {
        fidlist.push(element.fs_id);
      });
      return '[' + fidlist + ']';
    }

    function linkButtonClick() {
      slog('选中文件列表:', selectFileList);
      if (selectFileList.length === 0) {
        alert('没有选中文件,请重试');
        return;
      }
      buttonTarget = 'link';
      var downloadLink = getDownloadLink();

      if (downloadLink.errno == -20) {
        vcode = getVCode();
        if (!vcode || vcode.errno !== 0) {
          alert('获取验证码失败!');
          return;
        }
        vcodeDialog.open(vcode);
      } else if (downloadLink.errno == 112) {
        alert('页面过期,请刷新重试');

      } else if (downloadLink.errno === 0) {
        var link;
        if (selectFileList.length == 1 && selectFileList[0].isdir === 0)
          link = downloadLink.list[0].dlink;
        else
          link = downloadLink.dlink;
        if (selectFileList.length == 1)
          $('#dialog-downloadlink').attr('href', link).text(link);
        else
          $('#dialog-downloadlink').attr('href', link).text(link);
        var filename = '';
        $.each(selectFileList, function (index, element) {
          if (selectFileList.length == 1)
            filename = element.filename;
          else {
            if (index == 0)
              filename = element.filename;
            else
              filename = filename + ',' + element.filename;
          }
        });
        //link = replaceDownloadLink(link);
        var linkList = {
          filename: filename,
          urls: [
            {url: link, rank: 1}
          ]
        };
        var tip = "显示获取的链接,可以使用右键迅雷或IDM下载,复制无用,需要传递cookie";
        dialog.open({title: '下载链接', type: 'link', list: linkList, tip: tip});
      } else {
        alert('获取下载链接失败!');

      }
    }

    //获取下载链接
    function getDownloadLink() {
      if (bdstoken === null) {
        alert('脚本作者提示 : 百度升级, 请先登录百度云盘才能正常获取');
        return '';
      } else {
        var result;
        if (isSingleShare) {
          fid_list = getFidList();
          logid = getLogID();
          var url = panAPIUrl + 'sharedownload?sign=' + sign + '&timestamp=' + timestamp + '&bdstoken=' + bdstoken + '&channel=' + channel + '&clienttype=' + clienttype + '&web=' + web + '&app_id=' + app_id + '&logid=' + logid;
          var params = {
            encrypt: encrypt,
            product: product,
            uk: uk,
            primaryid: primaryid,
            fid_list: fid_list
          };
          if (shareType == 'secret') {
            params.extra = extra;
          }
          if (selectFileList[0].isdir == 1 || selectFileList.length > 1) {
            params.type = 'batch';
          }
          $.ajax({
            url: url,
            method: 'POST',
            async: false,
            data: params,
            success: function (response) {
              result = response;
            }
          });
        }
        return result;
      }
    }

    //有验证码输入时获取下载链接
    function getDownloadLinkWithVCode(vcodeInput) {
      var result;
      if (isSingleShare) {
        fid_list = getFidList();
        var url = panAPIUrl + 'sharedownload?sign=' + sign + '&timestamp=' + timestamp + '&bdstoken=' + bdstoken + '&channel=' + channel + '&clienttype=' + clienttype + '&web=' + web + '&app_id=' + app_id + '&logid=' + logid;
        var params = {
          encrypt: encrypt,
          product: product,
          vcode_input: vcodeInput,
          vcode_str: vcode.vcode,
          uk: uk,
          primaryid: primaryid,
          fid_list: fid_list
        };
        if (shareType == 'secret') {
          params.extra = extra;
        }
        if (selectFileList[0].isdir == 1 || selectFileList.length > 1) {
          params.type = 'batch';
        }
        $.ajax({
          url: url,
          method: 'POST',
          async: false,
          data: params,
          success: function (response) {
            result = response;
          }
        });
      }
      return result;
    }

    function execDownload(link) {
      slog('下载链接:' + link);
      $('#helperdownloadiframe').attr('src', link);
    }
  }

  function base64Encode(t) {
    var a, r, e, n, i, s, o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
    for (e = t.length, r = 0, a = ""; e > r;) {
      if (n = 255 & t.charCodeAt(r++), r == e) {
        a += o.charAt(n >> 2);
        a += o.charAt((3 & n) << 4);
        a += "==";
        break;
      }
      if (i = t.charCodeAt(r++), r == e) {
        a += o.charAt(n >> 2);
        a += o.charAt((3 & n) << 4 | (240 & i) >> 4);
        a += o.charAt((15 & i) << 2);
        a += "=";
        break;
      }
      s = t.charCodeAt(r++);
      a += o.charAt(n >> 2);
      a += o.charAt((3 & n) << 4 | (240 & i) >> 4);
      a += o.charAt((15 & i) << 2 | (192 & s) >> 6);
      a += o.charAt(63 & s);
    }
    return a;
  }

  function detectPage() {
    var regx = /[\/].+[\/]/g;
    var page = location.pathname.match(regx);
    return page[0].replace(/\//g, '');
  }

  function getCookie(e) {
    var o, t;
    var n = document, c = decodeURI;
    return n.cookie.length > 0 && (o = n.cookie.indexOf(e + "="), -1 != o) ? (o = o + e.length + 1, t = n.cookie.indexOf(";", o), -1 == t && (t = n.cookie.length), c(n.cookie.substring(o, t))) : "";
  }

  function getLogID() {
    var name = "BAIDUID";
    var u = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/~!@#¥%……&";
    var d = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g;
    var f = String.fromCharCode;

    function l(e) {
      if (e.length < 2) {
        var n = e.charCodeAt(0);
        return 128 > n ? e : 2048 > n ? f(192 | n >>> 6) + f(128 | 63 & n) : f(224 | n >>> 12 & 15) + f(128 | n >>> 6 & 63) + f(128 | 63 & n);
      }
      var n = 65536 + 1024 * (e.charCodeAt(0) - 55296) + (e.charCodeAt(1) - 56320);
      return f(240 | n >>> 18 & 7) + f(128 | n >>> 12 & 63) + f(128 | n >>> 6 & 63) + f(128 | 63 & n);
    }

    function g(e) {
      return (e + "" + Math.random()).replace(d, l);
    }

    function m(e) {
      var n = [0, 2, 1][e.length % 3];
      var t = e.charCodeAt(0) << 16 | (e.length > 1 ? e.charCodeAt(1) : 0) << 8 | (e.length > 2 ? e.charCodeAt(2) : 0);
      var o = [u.charAt(t >>> 18), u.charAt(t >>> 12 & 63), n >= 2 ? "=" : u.charAt(t >>> 6 & 63), n >= 1 ? "=" : u.charAt(63 & t)];
      return o.join("");
    }

    function h(e) {
      return e.replace(/[\s\S]{1,3}/g, m);
    }

    function p() {
      return h(g((new Date()).getTime()));
    }

    function w(e, n) {
      return n ? p(String(e)).replace(/[+\/]/g, function (e) {
        return "+" == e ? "-" : "_";
      }).replace(/=/g, "") : p(String(e));
    }

    return w(getCookie(name));
  }

  function Dialog() {
    var linkList = [];
    var showParams;
    var dialog, shadow;

    function createDialog() {
      var screenWidth = document.body.clientWidth;
      var dialogLeft = screenWidth > 800 ? (screenWidth - 800) / 2 : 0;
      var $dialog_div = $('<div class="dialog" style="width: 800px; top: 0px; bottom: auto; left: ' + dialogLeft + 'px; right: auto; display: hidden; visibility: visible; z-index: 52;"></div>');
      var $dialog_header = $('<div class="dialog-header"><h3><span class="dialog-title" style="display:inline-block;width:740px;white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis"></span></h3></div>');
      var $dialog_control = $('<div class="dialog-control"><span class="dialog-icon dialog-close">×</span></div>');
      var $dialog_body = $('<div class="dialog-body" style="max-height:450px;overflow-y:auto;padding:0 20px;"></div>');
      var $dialog_tip = $('<div class="dialog-tip" style="padding-left:20px;background-color:#faf2d3;border-top: 1px solid #c4dbfe;"><p></p></div>');

      $dialog_div.append($dialog_header.append($dialog_control)).append($dialog_body);

      //var $dialog_textarea = $('<textarea class="dialog-textarea" style="display:none;width"></textarea>');
      var $dialog_radio_div = $('<div class="dialog-radio" style="display:none;width:760px;padding-left:20px;padding-right:20px"></div>');
      var $dialog_radio_multi = $('<input type="radio" name="showmode" checked="checked" value="multi"><span>多行</span>');
      var $dialog_radio_single = $('<input type="radio" name="showmode" value="single"><span>单行</span>');
      $dialog_radio_div.append($dialog_radio_multi).append($dialog_radio_single);
      $dialog_div.append($dialog_radio_div);
      $('input[type=radio][name=showmode]', $dialog_radio_div).change(function () {
        var value = this.value;
        var $textarea = $('div.dialog-body textarea[name=dialog-textarea]', dialog);
        var content = $textarea.val();
        if (value == 'multi') {
          content = content.replace(/\s+/g, '\n');
          $textarea.css('height', '300px');
        } else if (value == 'single') {
          content = content.replace(/\n+/g, ' ');
          $textarea.css('height', '');
        }
        $textarea.val(content);
      });

      var $dialog_button = $('<div class="dialog-button" style="display:none"></div>');
      var $dialog_button_div = $('<div style="display:table;margin:auto"></div>');
      var $dialog_copy_button = $('<button id="dialog-copy-button" style="display:none;width: 100px; margin: 5px 0 10px 0; cursor: pointer; background: #3b8cff; border: none; height: 30px; color: #fff; border-radius: 3px;">复制</button>');
      var $dialog_edit_button = $('<button id="dialog-edit-button" style="display:none">编辑</button>');
      var $dialog_exit_button = $('<button id="dialog-exit-button" style="display:none">退出</button>');

      $dialog_button_div.append($dialog_copy_button).append($dialog_edit_button).append($dialog_exit_button);
      $dialog_button.append($dialog_button_div);
      $dialog_div.append($dialog_button);

      $dialog_copy_button.click(function () {
        var content = '';
        if (showParams.type == 'batch') {
          $.each(linkList, function (index, element) {
            if (element.downloadlink == 'error')
              return;
            if (index == linkList.length - 1)
              content = content + element.downloadlink;
            else
              content = content + element.downloadlink + '\n';
          });
        } else if (showParams.type == 'link') {
          $.each(linkList, function (index, element) {
            if (element.url == 'error')
              return;
            if (index == linkList.length - 1)
              content = content + element.url;
            else
              content = content + element.url + '\n';
          });
        }
        GM_setClipboard(content, 'text');
        alert('已将链接复制到剪贴板!');
      });

      $dialog_edit_button.click(function () {
        var $dialog_textarea = $('div.dialog-body textarea[name=dialog-textarea]', dialog);
        var $dialog_item = $('div.dialog-body div', dialog);
        $dialog_item.hide();
        $dialog_copy_button.hide();
        $dialog_edit_button.hide();
        $dialog_textarea.show();
        $dialog_radio_div.show();
        $dialog_exit_button.show();
      });

      $dialog_exit_button.click(function () {
        var $dialog_textarea = $('div.dialog-body textarea[name=dialog-textarea]', dialog);
        var $dialog_item = $('div.dialog-body div', dialog);
        $dialog_textarea.hide();
        $dialog_radio_div.hide();
        $dialog_item.show();
        $dialog_exit_button.hide();
        $dialog_copy_button.show();
        $dialog_edit_button.show();
      });

      $dialog_div.append($dialog_tip);
      $('body').append($dialog_div);
      $dialog_div.dialogDrag();
      $dialog_control.click(dialogControl);
      return $dialog_div;
    }

    function createShadow() {
      var $shadow = $('<div class="dialog-shadow" style="position: fixed; left: 0px; top: 0px; z-index: 50; background: rgb(0, 0, 0) none repeat scroll 0% 0%; opacity: 0.5; width: 100%; height: 100%; display: none;"></div>');
      $('body').append($shadow);
      return $shadow;
    }

    this.open = function (params) {
      showParams = params;
      linkList = [];
      if (params.type == 'link') {
        linkList = params.list.urls;
        $('div.dialog-header h3 span.dialog-title', dialog).text(params.title + ":" + params.list.filename);
        $.each(params.list.urls, function (index, element) {
          var $div = $('<div><div style="width:30px;float:left">' + element.rank + ':</div><div style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis"><a href="' + element.url + '">' + element.url + '</a></div></div>');
          $('div.dialog-body', dialog).append($div);
        });
      } else if (params.type == 'batch') {
        linkList = params.list;
        $('div.dialog-header h3 span.dialog-title', dialog).text(params.title);
        if (params.showall) {
          $.each(params.list, function (index, element) {
            var $item_div = $('<div class="item-container" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap"></div>');
            var $item_name = $('<div style="width:100px;float:left;overflow:hidden;text-overflow:ellipsis" title="' + element.filename + '">' + element.filename + '</div>');
            var $item_sep = $('<div style="width:12px;float:left"><span>:</span></div>');
            var $item_link_div = $('<div class="item-link" style="float:left;width:618px;"></div>');
            var $item_first = $('<div class="item-first" style="overflow:hidden;text-overflow:ellipsis"><a href="' + element.downloadlink + '">' + element.downloadlink + '</a></div>');
            $item_link_div.append($item_first);
            $.each(params.alllist[index].links, function (n, item) {
              if (element.downloadlink == item.url)
                return;
              var $item = $('<div class="item-ex" style="display:none;overflow:hidden;text-overflow:ellipsis"><a href="' + item.url + '">' + item.url + '</a></div>');
              $item_link_div.append($item);
            });
            var $item_ex = $('<div style="width:15px;float:left;cursor:pointer;text-align:center;font-size:16px"><span>+</span></div>');
            $item_div.append($item_name).append($item_sep).append($item_link_div).append($item_ex);
            $item_ex.click(function () {
              var $parent = $(this).parent();
              $parent.toggleClass('showall');
              if ($parent.hasClass('showall')) {
                $(this).text('-');
                $('div.item-link div.item-ex', $parent).show();
              } else {
                $(this).text('+');
                $('div.item-link div.item-ex', $parent).hide();
              }
            });
            $('div.dialog-body', dialog).append($item_div);
          });
        } else {
          $.each(params.list, function (index, element) {
            var $div = $('<div style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap"><div style="width:100px;float:left;overflow:hidden;text-overflow:ellipsis" title="' + element.filename + '">' + element.filename + '</div><span>:</span><a href="' + element.downloadlink + '">' + element.downloadlink + '</a></div>');
            $('div.dialog-body', dialog).append($div);
          });
        }
      }

      if (params.tip) {
        $('div.dialog-tip p', dialog).text(params.tip);
      }

      if (params.showcopy) {
        $('div.dialog-button', dialog).show();
        $('div.dialog-button button#dialog-copy-button', dialog).show();
      }
      if (params.showedit) {
        $('div.dialog-button', dialog).show();
        $('div.dialog-button button#dialog-edit-button', dialog).show();
        var $dialog_textarea = $('<textarea name="dialog-textarea" style="display:none;resize:none;width:758px;height:300px;white-space:pre;word-wrap:normal;overflow-x:scroll"></textarea>');
        var content = '';
        if (showParams.type == 'batch') {
          $.each(linkList, function (index, element) {
            if (element.downloadlink == 'error')
              return;
            if (index == linkList.length - 1)
              content = content + element.downloadlink;
            else
              content = content + element.downloadlink + '\n';
          });
        } else if (showParams.type == 'link') {
          $.each(linkList, function (index, element) {
            if (element.url == 'error')
              return;
            if (index == linkList.length - 1)
              content = content + element.url;
            else
              content = content + element.url + '\n';
          });
        }
        $dialog_textarea.val(content);
        $('div.dialog-body', dialog).append($dialog_textarea);
      }

      shadow.show();
      dialog.show();
    };

    this.close = function () {
      dialogControl();
    };

    function dialogControl() {
      $('div.dialog-body', dialog).children().remove();
      $('div.dialog-header h3 span.dialog-title', dialog).text('');
      $('div.dialog-tip p', dialog).text('');
      $('div.dialog-button', dialog).hide();
      $('div.dialog-radio input[type=radio][name=showmode][value=multi]', dialog).prop('checked', true);
      $('div.dialog-radio', dialog).hide();
      $('div.dialog-button button#dialog-copy-button', dialog).hide();
      $('div.dialog-button button#dialog-edit-button', dialog).hide();
      $('div.dialog-button button#dialog-exit-button', dialog).hide();
      dialog.hide();
      shadow.hide();
    }

    dialog = createDialog();
    shadow = createShadow();
  }

  function VCodeDialog(refreshVCode, confirmClick) {
    var dialog, shadow;

    function createDialog() {
      var screenWidth = document.body.clientWidth;
      var dialogLeft = screenWidth > 520 ? (screenWidth - 520) / 2 : 0;
      var $dialog_div = $('<div class="dialog" id="dialog-vcode" style="width:520px;top:0px;bottom:auto;left:' + dialogLeft + 'px;right:auto;display:none;visibility:visible;z-index:52"></div>');
      var $dialog_header = $('<div class="dialog-header"><h3><span class="dialog-header-title"><em class="select-text">提示</em></span></h3></div>');
      var $dialog_control = $('<div class="dialog-control"><span class="dialog-icon dialog-close icon icon-close"><span class="sicon">x</span></span></div>');
      var $dialog_body = $('<div class="dialog-body"></div>');
      var $dialog_body_div = $('<div style="text-align:center;padding:22px"></div>');
      var $dialog_body_download_verify = $('<div class="download-verify" style="margin-top:10px;padding:0 28px;text-align:left;font-size:12px;"></div>');
      var $dialog_verify_body = $('<div class="verify-body">请输入验证码:</div>');
      var $dialog_input = $('<input id="dialog-input" type="text" style="padding:3px;width:85px;height:23px;border:1px solid #c6c6c6;background-color:white;vertical-align:middle;" class="input-code" maxlength="4">');
      var $dialog_img = $('<img id="dialog-img" class="img-code" style="margin-left:10px;vertical-align:middle;" alt="点击换一张" src="" width="100" height="30">');
      var $dialog_refresh = $('<a href="javascript:void(0)" style="text-decoration:underline;" class="underline">换一张</a>');
      var $dialog_err = $('<div id="dialog-err" style="padding-left:84px;height:18px;color:#d80000" class="verify-error"></div>');
      var $dialog_footer = $('<div class="dialog-footer g-clearfix"></div>');
      var $dialog_confirm_button = $('<a class="g-button g-button-blue" data-button-id="" data-button-index href="javascript:void(0)" style="padding-left:36px"><span class="g-button-right" style="padding-right:36px;"><span class="text" style="width:auto;">确定</span></span></a>');
      var $dialog_cancel_button = $('<a class="g-button" data-button-id="" data-button-index href="javascript:void(0);" style="padding-left: 36px;"><span class="g-button-right" style="padding-right: 36px;"><span class="text" style="width: auto;">取消</span></span></a>');

      $dialog_header.append($dialog_control);
      $dialog_verify_body.append($dialog_input).append($dialog_img).append($dialog_refresh);
      $dialog_body_download_verify.append($dialog_verify_body).append($dialog_err);
      $dialog_body_div.append($dialog_body_download_verify);
      $dialog_body.append($dialog_body_div);
      $dialog_footer.append($dialog_confirm_button).append($dialog_cancel_button);
      $dialog_div.append($dialog_header).append($dialog_body).append($dialog_footer);
      $('body').append($dialog_div);

      $dialog_div.dialogDrag();

      $dialog_control.click(dialogControl);
      $dialog_img.click(refreshVCode);
      $dialog_refresh.click(refreshVCode);
      $dialog_input.keypress(function (event) {
        if (event.which == 13)
          confirmClick();
      });
      $dialog_confirm_button.click(confirmClick);
      $dialog_cancel_button.click(dialogControl);
      $dialog_input.click(function () {
        $('#dialog-err').text('');
      });
      return $dialog_div;
    }

    this.open = function (vcode) {
      if (vcode)
        $('#dialog-img').attr('src', vcode.img);
      dialog.show();
      shadow.show();
    };
    this.close = function () {
      dialogControl();
    };
    dialog = createDialog();
    shadow = $('div.dialog-shadow');

    function dialogControl() {
      $('#dialog-img', dialog).attr('src', '');
      $('#dialog-err').text('');
      dialog.hide();
      shadow.hide();
    }
  }

  $.fn.dialogDrag = function () {
    var mouseInitX, mouseInitY, dialogInitX, dialogInitY;
    var screenWidth = document.body.clientWidth;
    var $parent = this;
    $('div.dialog-header', this).mousedown(function (event) {
      mouseInitX = parseInt(event.pageX);
      mouseInitY = parseInt(event.pageY);
      dialogInitX = parseInt($parent.css('left').replace('px', ''));
      dialogInitY = parseInt($parent.css('top').replace('px', ''));
      $(this).mousemove(function (event) {
        var tempX = dialogInitX + parseInt(event.pageX) - mouseInitX;
        var tempY = dialogInitY + parseInt(event.pageY) - mouseInitY;
        var width = parseInt($parent.css('width').replace('px', ''));
        tempX = tempX < 0 ? 0 : tempX > screenWidth - width ? screenWidth - width : tempX;
        tempY = tempY < 0 ? 0 : tempY;
        $parent.css('left', tempX + 'px').css('top', tempY + 'px');
      });
    });
    $('div.dialog-header', this).mouseup(function (event) {
      $(this).unbind('mousemove');
    });
  }

})();

//贴吧美化
(function() {
    //TieBa - Maverick
    if(!GM_getValue("jinyongtiebameihua")){
        var css = "";
        if (false || (document.domain == "tieba.baidu.com" || document.domain.substring(document.domain.indexOf(".tieba.baidu.com") + 1) == "tieba.baidu.com") || (document.domain == "www.tieba.com" || document.domain.substring(document.domain.indexOf(".www.tieba.com") + 1) == "www.tieba.com"))
            css += [
                "/*",
                "——WebFonts——",
                "Google Fonts: https://www.google.com/fonts",
                "Google Material icons: https://design.google.com/icons/",
                "*/",
                "@font-face {",
                "	font-family: \'Open Sans\';",
                "	font-style: normal;",
                "	font-weight: 400;",
                "	src: url(https://fonts-gstatic.proxy.ustclug.org/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3VtXRa8TVwTICgirnJhmVJw.woff2) format(\'woff\');",
                "}",
                "@font-face {",
                "	font-family: \'Material Icons\';",
                "	font-style: normal;",
                "	font-weight: 400;",
                "	src: url(https://fonts-gstatic.proxy.ustclug.org/s/materialicons/v17/2fcrYFNaTjcS6g4U3t-Y5ZjZjT5FdEJ140U2DJYC3mY.woff2) format(\'woff2\'),",
                "		 url(http://onox.qiniudn.com/maverick/materialicons_safari_v16.woff) format(\'woff\');",
                "}",
                "",
                "body,",
                ".tb-ueditor-fullscreen .tb_rich_poster_container{",
                "	background-color: #F1F1F1 !important;",
                "	background-image: url(http://onox.qiniudn.com/maverick/tbbg/1.jpg) !important;",
                "	background-size: cover !important;",
                "	background-attachment: fixed !important;",
                "	background-repeat: no-repeat !important;",
                "}",
                "body,",
                ".tb-ueditor-fullscreen .tb_rich_poster_container {",
                "    background-image: none !important;",
                "}",
                "body::selection {",
                "	color: #fff;",
                "	background-color: #4879BD;",
                "	text-shadow: none;",
                "}",
                "* {",
                "	font-family: \'Open Sans\', \'Microsoft Yahei UI\', \'Microsoft Yahei\';",
                "}",
                "a {",
                "	transition: color .4s ease;",
                "}",
                "/*替换Banner*/",
                ".star_banner img[src$=\"default_head20141014.jpg\"],",
                ".vertical_card_banner img[src$=\"default_head20141014.jpg\"],",
                ".card_banner img[src$=\"default_head20141014.jpg\"]{",
                "	display: block;",
                "	background: #fff;",
                "	padding-top: 180px;",
                "	padding-left: 100%;",
                "	width: 0 !important;",
                "	height: 0 !important;",
                "	background-size: cover;",
                "	background-position: center;",
                "	background-image: url(http://ww2.sinaimg.cn/large/7bde02fbgw1f3yt89p0xej20xc064tae.jpg);",
                "}",
                "",
                "/*替换吧头像*/",
                "div[class*=\"_theme2\"] img.card_head_img[src$=\"c1d719f7905298227221ab8bd6ca7bcb0b46d458.jpg\"],",
                "div[class*=\"_theme2\"] img.card_head_img[src$=\"199a87d6277f9e2fa0419bf01930e924b999f3e0.jpg\"],",
                "div[class*=\"_theme2\"] img.card_head_img[src$=\"7bf78245d688d43f147b01ba7c1ed21b0cf43b98.jpg\"],",
                "div[class*=\"_theme2\"] img.card_head_img[src$=\"default_avatar20141017.jpg\"]{",
                "    padding-top: 60px;",
                "    padding-left: 60px;",
                "    width: 0 !important;",
                "    height: 0 !important;",
                "}",
                "img.card_head_img[src$=\"c1d719f7905298227221ab8bd6ca7bcb0b46d458.jpg\"],",
                "img.card_head_img[src$=\"199a87d6277f9e2fa0419bf01930e924b999f3e0.jpg\"],",
                "img.card_head_img[src$=\"7bf78245d688d43f147b01ba7c1ed21b0cf43b98.jpg\"],",
                "img.card_head_img[src$=\"default_avatar20141017.jpg\"]{",
                "	display: block;",
                "	background: #fff;",
                "	padding-top: 150px;",
                "	padding-left: 150px;",
                "	width: 0 !important;",
                "	height: 0 !important;",
                "	background-size: cover;",
                "	background-position: center;",
                "	background-image: url(http://ww2.sinaimg.cn/mw690/7bde02fbgw1f4dg4jwknej2046046gly.jpg);",
                "}",
                "",
                "/*贴吧会员相关项*/",
                ".u_member,",
                "#celebrity,",
                ".aside_region.celebrity,",
                ".j-placeholder-pay-member,",
                ".icon-crown-super-non,",
                ".j_thread_setmembertop,",
                ".j_thread_dismembertop,",
                ".sign_tip_sbox_1key,",
                ".p-post-forbid-speech,",
                "/*超级会员各种提示*/",
                ".poster_success .success-foot-tip,",
                ".l_thread_manage #notify_bubble,",
                ".quick-reply-desc {",
                "    display: none !important;",
                "}",
                "",
                "#d_post_manage:hover #j_quick_thread>li:nth-of-type(3){",
                "    transition-delay: .0s;",
                "}",
                "#d_post_manage:hover #j_quick_thread>li:nth-of-type(4){",
                "    transition-delay: .1s;",
                "}",
                "#d_post_manage:hover #j_quick_thread>li:nth-of-type(5){",
                "    transition-delay: .2s;",
                "}",
                "#d_post_manage:hover #j_quick_thread>li:nth-of-type(6){",
                "    transition-delay: .3s;",
                "}",
                "",
                ".tbui_fbar_share,/*右侧浮层-分享*/",
                //".tbui_fbar_favor,/*右侧浮层-爱逛的吧*/",
                ".tbui_fbar_props,/*右侧浮层-魔法道具*/",
                ".tbui_fbar_tsukkomi,/*右侧浮层-神来一句*/",
                ".search_main_fixed,/*搜索栏浮层*/",
                "",
                "",
                "",
                ".edui-btn-toolbar .edui-btn-medal,/*编辑框贴吧特权按钮*/",
                ".save_face_bg,.achievement_medal_section,.achievement_medal_wrapper,/*楼层挽尊按钮,徽章*/",
                ".lzl_cnt .pre_icon_wrap,.p_postlist .pre_icon_wrap,/*帖子内页会员标识*/",
                ".share_thread,/*一楼分享按钮*/",
                ".post-foot-send-gift-btn,/*一楼送礼物按钮*/",
                "",
                "#selectsearch-icon,/*划词搜索*/",
                "[id=\"pagelet_entertainment-game/pagelet/game_head_middle\"],/*部分游戏贴吧头部游戏域*/",
                "",
                "",
                "",
                "[id=\"pagelet_frs-aside/pagelet/hottopic\"],",
                ".l_container .plat_head_v2_unmain_wrapper,/*认证吧帖子内页头部详细信息*/",
                ".p_reply_first,.d_post_content_firstfloor .core_reply_tail .p_reply,/*屏蔽具有误导性的一楼内容下方回复按钮*/",
                ".suggestion_list >li[data-field*=\"operation_title\"],.suggestion_list >li[data-field*=\"operation_item\"],.bdfengyun,/*搜索悬浮窗-大伙正在聊*/",
                ".suggestion_list >li[data-field*=\"relation_game_title\"],.suggestion_list >li[data-field*=\"game_item\"],/*搜索悬浮窗-相关游戏*/",
                ".tbui_fbar_square {",
                "	display: none !important;",
                "}",
                "  ",
                "",
                "/*楼层气泡*/",
                ".post_bubble_top,.post_bubble_bottom{",
                "    display: none !important;",
                "}",
                ".post_bubble_middle{",
                "    background: none !important;",
                "    padding: 0 !important;",
                "    width: 100% !important;",
                "}",
                "/*标题输入框文字对齐方式*/",
                ".poster_body .editor_title,",
                ".poster_body .tbui_placeholder,",
                ".pprefix-item{",
                "	text-align: center !important;",
                "}",
                "/*帖子列表页会员标识和非实名认证印记*/",
                "/*悬停显示*/",
                ".frs_bright_preicon,",
                ".frs_bright_icons>*:not([data-name=\"user_type\"]):not([data-name=\"is_verify\"]){",
                "    opacity: 0;",
                "    transition: opacity .4s ease;",
                "}",
                ".threadlist_bright .j_thread_list:hover .frs_bright_preicon,",
                ".threadlist_bright .j_thread_list:hover .frs_bright_icons>*:not([data-name=\"user_type\"]):not([data-name=\"is_verify\"]){",
                "    opacity: 1;",
                "}",
                ".j_thread_list .red_text,",
                ".j_thread_list .red-text,",
                ".j_thread_list .vip_red,",
                ".j_thread_list .vip-red,",
                ".j_thread_list .vip_red:hover,",
                ".j_thread_list .vip-red:hover,",
                ".j_thread_list .vip_red:visited,",
                ".j_thread_list .vip-red:visited{",
                "    color: inherit !important;",
                "}",
                ".j_thread_list .sign_highlight{",
                "    color: inherit !important;",
                "}",
                ".threadlist_bright .j_thread_list:hover .sign_highlight{",
                "    color: #ffa640 !important;",
                "}",
                ".threadlist_bright .j_thread_list:hover .red_text,",
                ".threadlist_bright .j_thread_list:hover .red-text,",
                ".threadlist_bright .j_thread_list:hover .vip_red,",
                ".threadlist_bright .j_thread_list:hover .vip-red{",
                "    color: #f74d4a!important;",
                "}",
                "",
                "",
                "",
                ".threadlist_li_left, .j_threadlist_li_left {",
                "    align-items: center;",
                "}",
                "  ",
                "",
                "/*用户面板*/",
                "",
                ".u_xiu8,/*个人-我的秀场*/",
                ".u_wallet,/*T逗账单*/",
                ".u_tbmall,/*贴吧商城*/",
                ".u_app,/*移动客户端*/",
                "/*杂项*/",
                ".split,",
                ".u_split,",
                ".u_appcenterEntrance,",
                ".u_joinvip,",
                ".u_bdhome {",
                "	display: none;",
                "}",
                "",
                "/*用户面板-动画延迟*/",
                "",
                ".userbar>ul>li.u_username:hover~li:nth-of-type(2) {",
                "	transition-delay: 0s;",
                "}",
                ".userbar>ul>li.u_username:hover~li:nth-of-type(4) {",
                "	transition-delay: .05s;",
                "}",
                ".userbar>ul>li.u_username:hover~li:nth-of-type(6) {",
                "	transition-delay: .1s;",
                "}",
                ".userbar>ul>li.u_username:hover~li {",
                "	transition-delay: .15s;",
                "}",
                ".userbar>ul>li.u_setting:hover~li:nth-of-type(4) {",
                "	transition-delay: 0s;",
                "}",
                ".userbar>ul>li.u_setting:hover~li:nth-of-type(6) {",
                "	transition-delay: .05s;",
                "}",
                ".userbar>ul>li.u_setting:hover~li {",
                "	transition-delay: .1s;",
                "}",
                ".userbar>ul>li.u_news:hover~li:nth-of-type(6) {",
                "	transition-delay: 0s;",
                "}",
                ".userbar>ul>li.u_news:hover~li {",
                "	transition-delay: .05s;",
                "}",
                "",
                "/*广告和无用功能*/",
                ".tbui_fbar_bazhu,",
                ".game-head-game-info-wrapper,",
                "[id=\"pagelet_entertainment-liveshow/pagelet/video_head\"],",
                ".l_post_bright[data-field*=\"user_name\\\"\\:\\\"\\\\u4e3f\\\\u5929\\\\u4e36\\\\u4e4b\\\\u6b87\"][data-field*=\"content\\\"\\:\\\"\\\\u5e0c\\\\u671b\\\\u5404\\\\u4f4d\\\\u5427\\\\u53cb\\\\u80fd\\\\u652f\\\\u6301\\\\u9b54\\\\u5427\\\\u6708\\\\u520a\\\\u3002\\\"\"],",
                ".l_post_bright[data-field*=\"template_id\"],",
                ".l_post_bright[data-field*=\"monitor_id\"],",
                "#duoku_servers_list_wrapper,",
                "a[locate*=\"common_search_button\"],",
                ".play_list_panel,",
                ".middle-sec,",
                ".game_live_list,",
                ".firework_sender_wrap,",
                "[data-daid],",
                "#pb_adbanner,",
                "#forum_recommend,",
                ".top-sec,",
                ".r-top-sec,",
                "#spage_liveshow_slide,",
                "#plat_act_wrapper,",
                "#spage_game_tab_wrapper,",
                ".member_rank,",
                "#search_fengchao,",
                "#search_union_mod,",
                "#search_bottomad,",
                ".app_forum_top_nav_holdplace,",
                ".app_forum_top_nav,",
                ".fav-toolbar,",
                "img.close_btn,",
                "img.close_btn.j_click_close+div,",
                "p.switch_radios+div,",
                "#aside_ad,",
                ".region_bright#tieba-notice+div,",
                ".thread_recommend,",
                "#platform_left_float,",
                ".content_top,",
                ".aside_region.my_app.j_encourage_entry,",
                "img[src^=\"http://tb1.bdstatic.com/tb/cms/ngmis/adsense/\"],",
                "#top_activity,",
                ".life_helper,",
                ".middle-sec>div>.iframe_wrapper,",
                "#search_fengchao_left,",
                "div[id=\"pagelet_entertainment-base/pagelet/xiu8_aside_slide\"],",
                "[id=\"pagelet_frs-aside/pagelet/ad\"],",
                "div[id=\"pagelet_frs-header/pagelet/head_content_middle\"] > div:first-child > div[class^=\"iframe_\"],",
                ".j_voice_ad_gif,",
                ".p_share_ding,/*发帖域顶部分享控件*/",
                ".p_mall_tail,/*层主使用了贴吧特权标识*/",
                "#pop_frame,/*右下弹窗*/",
                "#encourage_entry,/*右边栏-我的应用*/",
                "#global_notice_wrap,/*全贴吧底部公共通知*/",
                ".firework-wrap,.firework-wrap2,/*烟花*/",
                "ul#thread_list>li:not([data-field]):not(.thread_top_list_folder),/*帖子列表所有项*/",
                "#j_p_postlist>div:nth-of-type(1)~div:not([data-field]):not(#j_p_postlist),/*帖子内页所有楼层*/",
                "ul#thread_list>li.j_df_card,/*推广*/",
                "#j_p_postlist>div[data-isautoreply]:not(:first-of-type),/*推广*/",
                ".diamond-mall-aside,/*贴吧夺宝*/",
                "#pc2client,/*i贴吧页面客户端广告*/",
                "#com_u9_head{",
                "	display: none !important;",
                "}",
                "",
                ".creativeplatform-wrap-word-repost-btn .btn-default,",
                "#selectsearch-icon {",
                "	font-size: 14px;",
                "	line-height: 20px;",
                "	padding: 4px 6px;",
                "	padding-right: 9px;",
                "	background: #4879BD;",
                "	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.08) !important;",
                "	color: #fff;",
                "	border-radius: 4px;",
                "	transition: background .4s ease;",
                "	z-index: 9999;",
                "}",
                ".creativeplatform-wrap-word-repost-btn .btn-default{",
                "	padding: 2px 4px !important;",
                "}",
                ".creativeplatform-wrap-word-repost-btn .btn-default:hover,",
                "#selectsearch-icon:hover {",
                "	background: #4285F4;",
                "}",
                "#selectsearch-icon:before {",
                "	content: \"\\e8b6\";",
                "	font-family: \'Material Icons\' !important;",
                "	line-height: 1;",
                "	font-size: 18px;",
                "	display: inline-block;",
                "	vertical-align: bottom;",
                "	padding-bottom: 1px;",
                "}",
                "#selectsearch-icon:after {",
                "	content: \"搜索\";",
                "	display: inline-block;",
                "	vertical-align: bottom;",
                "}",
                "#selectsearch-icon img {",
                "	/*display:none或visibility:hiddend掉竟然会导致点击无效*/",
                "	",
                "	position: absolute;",
                "	left: 0;",
                "	top: 0;",
                "	border: none !important;",
                "	width: 100% !important;",
                "	height: 100% !important;",
                "	z-index: 99;",
                "	opacity: 0;",
                "}",
                "",
                "/*贴吧头部资料*/",
                ".vertical_head_bg{",
                "	background: none!important;",
                "	position: relative;",
                "}",
                ".vertical_head .card_top_wrap{",
                "	width: 100% !important;",
                "	height: 96px !important;",
                "	padding: 15px 0 0 100px !important;",
                "	box-sizing: border-box;",
                "}",
                ".star_banner,",
                ".vertical_card_banner,",
                ".card_banner {",
                "	width: 100% !important;",
                "	margin: 0 !important;",
                "	overflow: hidden;",
                "}",
                ".star_head,",
                ".plat_head{",
                "	padding: 0 !important;",
                "	border: none !important;",
                "	background: rgba(0, 0, 0, .04) !important;",
                "}",
                ".head_card{",
                "	background: rgba(0, 0, 0, .04) !important;",
                "}",
                ".card_top_left{",
                "	margin: 5px 0;",
                "}",
                ".plat_head_v2_unmain_wrapper,",
                ".plat_head_v2_main_wrapper {",
                "	border-left: none !important;",
                "	border-right: none !important;",
                "	background: rgba(0, 0, 0, .04) !important;",
                "	border-top: 1px solid rgba(0,0,0,.06) !important;",
                "}",
                ".star_header{",
                "	padding: 13px 17px !important;",
                "	background: none !important;",
                "	border: none !important;",
                "}",
                ".star_header_right{",
                "	position: static !important;",
                "}",
                ".star_info{",
                "	margin-right: 20px;",
                "}",
                ".star_nav_btns_wrap{",
                "	position: static !important;",
                "}",
                ".star_nav_btns_wrap:nth-last-of-type(2){",
                "	display: none !important;",
                "}",
                ".plat_recom_carousel {",
                "	width: 100% !important;",
                "}",
                ".time_axis_slide_button_wrapper,",
                "a.starchannel_entrance{",
                "	margin: 0 !important;",
                "}",
                ".plat_header{",
                "	padding: 0 !important;",
                "	background: none !important;",
                "	border: none !important;",
                "}",
                ".plat_card_top {",
                "	margin: 20px 0;",
                "	margin-left: 20px;",
                "	position: relative;",
                "}",
                ".card_top_wrap{",
                "	background: rgba(0, 0, 0, .03) !important;",
                "	margin: 0 !important;",
                "	border-left: none !important;",
                "	border-top: none !important;",
                "	border-right: none !important;",
                "	padding: 0 !important;",
                "	position: relative;",
                "	z-index: 9;",
                "}",
                ".star_picbox,",
                ".plat_picbox,",
                ".card_head {",
                "	padding: 5px !important;",
                "	background: rgba(255,255,255,.5) !important;",
                "	border: none !important;",
                "}",
                ".plat_picbox img,",
                ".card_head_img{",
                "	width: 150px !important;",
                "	height: 150px !important;",
                "}",
                "div[class*=\"_theme2\"] .plat_picbox img,",
                "div[class*=\"_theme2\"] .card_head_img{",
                "	width: 60px !important;",
                "	height: 60px !important;",
                "}",
                "",
                ".plat_title_h3,",
                ".card_title_fname{",
                "	text-transform: capitalize;",
                "	font-size: 24px !important;",
                "	line-height: 32px !important;",
                "	color: #555 !important;",
                "	text-decoration: none !important;",
                "}",
                "",
                ".card_slogan{",
                "	color: #555 !important;",
                "}",
                ".focus_btn{",
                "	width: auto !important;",
                "	height: auto !important;",
                "	line-height: 24px !important;",
                "	border-radius: 12px;",
                "	font-size: 12px !important;",
                "	margin: 0 !important;",
                "	margin-left: 10px !important;",
                "	margin-right: 4px !important;",
                "	margin-top: 5px !important;",
                "	background: none !important;",
                "	padding: 0 10px !important;",
                "	background-color: rgba(0,0,0,.06) !important;",
                "	color: #999 !important;",
                "	text-decoration: none !important;",
                "	",
                "	transition-property: background-color,color;",
                "	transition-duration: .4s;",
                "	transition-timing-function: ease;",
                "}",
                ".focus_btn:hover{",
                "	background-color: #F44336 !important;",
                "	color: #fff !important;",
                "}",
                ".focus_btn:before{",
                "	font-family: \'Material Icons\';",
                "	font-size: 14px !important;",
                "	display: inline-block;",
                "	vertical-align: top;",
                "	margin-right: 2px;",
                "	text-indent: -2px;",
                "}",
                ".cancel_focus:before{",
                "	content: \"\\e87d\";",
                "}",
                ".cancel_focus:after{",
                "	content: \"已关注\";",
                "}",
                ".islike_focus{",
                "	background-color: #4879BD !important;",
                "	color: #fff !important;",
                "}",
                ".islike_focus:hover{",
                "	background-color: #4285F4 !important;",
                "}",
                ".islike_focus:before{",
                "	content: \"\\e87e\";",
                "}",
                ".islike_focus:after{",
                "	content: \"关注\";",
                "}",
                ".plat_use_total *,",
                ".card_num *,",
                ".card_info *{",
                "	color:  #aaa !important;",
                "}",
                ".plat_post_num,",
                ".card_menNum,",
                ".card_infoNum,",
                ".card_info a[href]{",
                "	color:  #888 !important;",
                "   text-decoration: none !important;",
                "}",
                ".card_info a[href]:hover{",
                "	color:  #666 !important;",
                "}",
                "/*theme2*/",
                ".plat_head.plat_head_theme2,",
                ".card_top_wrap.card_top_theme2{",
                "	padding-top: 10px !important;",
                "}",
                ".card_top_theme2 .card_top {",
                "	height: 84px !important;",
                "	padding-left: 104px !important;",
                "	padding-top: 4px !important;",
                "	box-sizing: border-box;",
                "	position: relative;",
                "}",
                ".card_top_theme2 .card_title_fname {",
                "	margin-top: 1px !important;",
                "}",
                ".card_top_theme2 .card_num{",
                "	white-space:nowrap;",
                "	position: absolute;",
                "	margin: 0 !important;",
                "	left: 1px;",
                "	bottom: -18px;",
                "}",
                "",
                ".plat_head_theme2 .plat_card_top {",
                "	margin-top: 16px;",
                "	margin-bottom: 24px;",
                "	position: relative;",
                "}",
                ".plat_head_theme2 .plat_header_left {",
                "	height: 86px !important;",
                "}",
                ".plat_head_theme2 .plat_picbox,",
                ".card_top_theme2 .card_head {",
                "	padding: 4px !important;",
                "	width: 60px !important;",
                "	height: 60px !important;",
                "	margin: 4px 20px !important;",
                "}",
                ".plat_head_theme2 .plat_picbox{",
                "	margin: -7px 15px 0 0 !important;",
                "}",
                ".card_top_theme2 .focus_btn,",
                ".plat_head_theme2 .focus_btn{",
                "	margin-top: 6px !important;",
                "}",
                ".plat_head_theme2 .plat_use_total{",
                "	white-space:nowrap;",
                "	position: absolute;",
                "	left: 79px;",
                "	bottom: -2px;",
                "}",
                "/*签到*/",
                ".plat_header_right,",
                ".card_top_right{",
                "	position: absolute !important;",
                "	width: auto !important;",
                "	height: 100% !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	right: 0;",
                "	top: 0;",
                "	z-index: 1;",
                "}",
                ".sign_mod_bright{",
                "	width: 240px;",
                "}",
                ".sign_box_bright{",
                "	width: auto !important;",
                "	height: auto !important;",
                "	background: none !important;",
                "	position: absolute !important;",
                "	top: 50% !important;",
                "	right: 20px !important;",
                "	transform: translateY(-50%) !important;",
                "}",
                ".j_signbtn{",
                "	display: block;",
                "	position: relative;",
                "	width: 64px !important;",
                "	height: 2px !important;",
                "	background: #4879BD;",
                "	color: #fff;",
                "	box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.1);",
                "}",
                ".j_signbtn:before{",
                "	content: \"\\e616\";",
                "	font-family: \'Material Icons\';",
                "	position: absolute;",
                "	z-index: 1;",
                "	top: 50%;",
                "	left: 50%;",
                "	transform: translate(-50%,-50%) !important;",
                "	display: block;",
                "	width: 64px;",
                "	height: 64px;",
                "	border-radius: 50%;",
                "	background: inherit;",
                "	color: inherit;",
                "	-moz-box-shadow: inherit;",
                "	-webkit-box-shadow: inherit;",
                "	line-height: 64px;",
                "	font-size: 42px;",
                "	text-align: center;",
                "	transition-property: background,color;",
                "	transition-duration: .4s;",
                "	transition-timing-function: ease;",
                "}",
                ".j_signbtn:hover{",
                "	background: #4285F4;",
                "}",
                ".sign_today_date{",
                "	display:none !important;",
                "}",
                ".sign_keep_span,",
                ".sign_month_lack_days{",
                "	position: absolute;",
                "	width: auto !important;",
                "	margin:0 !important;",
                "	padding: 0 !important;",
                "	right: auto !important;",
                "	bottom: auto !important;",
                "	top: auto !important;",
                "	white-space: nowrap;",
                "	display: inline-block;",
                "	font-size: 12px !important;",
                "	line-height: 22px !important;",
                "	background: inherit;",
                "	color: inherit !important;",
                "	-moz-box-shadow: inherit;",
                "	-webkit-box-shadow: inherit;",
                "	text-align: right !important;",
                "	padding-left: 8px !important;",
                "	padding-right: 20px !important;",
                "	border-radius: 10px 0 0 10px;",
                "	left: 18px !important;",
                "	transform: translateX(-50%);",
                "	opacity: 0;",
                "	",
                "	transition-property: opacity, transform;",
                "	transition-duration: .5s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                ".sign_month_lack_days span{",
                "	color: inherit !important;",
                "}",
                ".sign_keep_span{",
                "	top: -20px !important;",
                "}",
                ".sign_month_lack_days{",
                "	top: 4px !important;",
                "}",
                ".sign_mod_bright:hover .sign_keep_span,",
                ".sign_mod_bright:hover .sign_month_lack_days{",
                "	opacity: 1;",
                "	transform: translateX(-100%);",
                "}",
                ".sign_month_lack_days:nth-of-type(2){",
                "	display: none !important;",
                "}",
                "",
                ".signstar_signed{",
                "	background: #eee !important;",
                "	color: #999 !important;",
                "	box-shadow: none !important;",
                "}",
                ".signstar_signed:before{",
                "	content: \"\\e614\" !important;",
                "	color: #ccc !important;",
                "}",
                "",
                "",
                ".sign_mod_bright .sign_succ1 {",
                "	top: 90px;",
                "	right: -12px;",
                "}",
                ".sign_tip_bd_arr {",
                "	right: 57px;",
                "}",
                "",
                "/*特殊吧头部*/",
                ".plat_skin .wrap1,",
                ".skin_2103 .wrap1,",
                ".app_forum_body .wrap1{",
                "	margin: 0 auto;",
                "	background-position: center 138px !important;",
                "}",
                ".app_forum_body .head_content{",
                "	background: transparent !important;",
                "}",
                ".app-header-wrapper {",
                "	width: 100% !important;",
                "	border-radius: inherit;",
                "}",
                ".app_header{",
                "	padding-top: 16px !important;",
                "	width: 100% !important;;",
                "	height: 100px !important;",
                "	box-sizing: border-box;",
                "	background: rgba(0, 0, 0, .04) !important;",
                "	border-radius: inherit;",
                "	color: #555 !important;",
                "}",
                ".app_header_title_main {",
                "	margin-top: 10px !important;",
                "}",
                ".app_header_forum_name {",
                "	font-size: 24px !important;",
                "	padding: 0px 0 0 15px !important;",
                "	text-transform: capitalize;",
                "}",
                ".app_header_forum_name,",
                ".app_header_forum_name_href{",
                "	color: #555 !important;",
                "}",
                ".app_header_focus_btn {",
                "	margin: -5px 0 0 !important;",
                "}",
                ".app_header_focus_info {",
                "	white-space: nowrap;",
                "	position: absolute;",
                "	margin: 0 !important;",
                "	left: 104px;",
                "	bottom: 10px;",
                "}",
                ".app_header_focus_info_focusnum,",
                ".app_header_focus_info_tienum {",
                "	color: #888 !important;",
                "}",
                ".app_header_main_background{",
                "	display: none !important;",
                "}",
                "[id=\"pagelet_platform-official/pagelet/official_forum_card\"],",
                ".official_head,",
                ".head_banner,",
                ".head_banner_img,",
                "[id=\"pagelet_encourage-appforum/pagelet/head_top\"],",
                ".app_forum_top{",
                "	border-radius: inherit;",
                "}",
                ".app_header_avatar {",
                "	padding: 0px 0 0 20px !important;",
                "}",
                ".app_header_avatar_img{",
                "	width: 60px !important;",
                "	height: 60px !important;",
                "	padding: 4px;",
                "	background: rgba(255,255,255,.5) !important;",
                "	border: none !important;",
                "}",
                ".app_forum_body .sign_mod_bright .sign_succ1 {",
                "	top: 68px;",
                "	right: 32px;",
                "}",
                ".skin_2103 [id=\"pagelet_frs-header/pagelet/head\"],",
                ".app_forum_body [id=\"pagelet_frs-header/pagelet/head\"]{",
                "	box-shadow: 0 0 20px 2px rgba(0, 0, 0, .1);",
                "}",
                ".app_forum_body [id=\"pagelet_frs-header/pagelet/head\"]>div{",
                "	box-shadow: none !important;",
                "	width: 100% !important;",
                "}",
                ".skin_2103 .head_top,",
                ".app_forum_body .head_top{",
                "	box-sizing: border-box;",
                "	border: 1px solid #DBDCE0 !important;",
                "	border-bottom: none !important;",
                "	position: relative;",
                "	z-index: 4;",
                "}",
                ".app_forum_body [id=\"pagelet_entertainment-game/pagelet/game_head_middle\"]{",
                "	border-top: 4px solid #EAEAEA;",
                "}",
                "",
                "/*头部指引*/",
                ".top_content {",
                "	background: none !important;",
                "}",
                ".top_cont_main{",
                "	background: rgba(0,0,0,.02) !important;",
                "	border-top: 1px solid rgba(0,0,0,.06);",
                "}",
                ".top_cont_toggle{",
                "	transition: right .4s ease;",
                "	z-index: 9;",
                "	border-radius: 6px 6px 0 0;",
                "	border: 1px solid rgba(0,0,0,.1);",
                "	border-bottom: none;",
                "	background: #fff;",
                "	color: #2D64B3;",
                "	height: 24px;",
                "	line-height: 24px;",
                "	overflow: hidden;",
                "}",
                ".top_content_closed .top_cont_toggle{",
                "	right: 100px;",
                "}",
                ".top_cont_toggle:before{",
                "	content:\'\\e8ef\';",
                "	font-family: \'Material Icons\';",
                "	font-size: 24px;",
                "	display: inline-block;",
                "	vertical-align: top;",
                "	margin-right: -4px;  ",
                "	padding-left: 4px;",
                "}",
                ".top_cont_toggle .toggleBtn {",
                "	display: inline-block !important;",
                "	height: 100%;",
                "	margin-left: -24px;",
                "	margin-right: -4px;",
                "	text-indent: 31px;",
                "	background: none !important;",
                "	font-size: 0 !important;",
                "	color: inherit;",
                "}",
                ".top_cont_toggle .toggleBtn:before {",
                "	content: \'收起指引\';",
                "	font-size: 12px;",
                "}",
                ".top_cont_toggle .toggleBtn:after {",
                "	content: \'\\e316\';",
                "	font-family: \'Material Icons\';",
                "	font-size: 20px;",
                "	display: inline-block;",
                "	vertical-align: top;",
                "	text-indent: 0;",
                "}",
                ".top_content_closed .toggleBtn:before{",
                "	content: \'展开指引\';",
                "}",
                ".top_content_closed .toggleBtn:after{",
                "	content: \'\\e313\';",
                "}",
                "",
                "",
                "/*导航重制*/",
                ".forumInfo_nav_wrap,",
                ".star_nav_wrap,",
                ".ihome_nav_wrap,",
                ":not(.forum_radio_aside)>.nav_wrap {",
                "	width: 100% !important;",
                "	background: rgba(0, 0, 0, .04) !important;",
                "	border: none !important;",
                "	border-top: 1px solid rgba(0, 0, 0, .04) !important;",
                "	border-bottom: 4px solid rgba(0, 0, 0, .04) !important;",
                "	height: 47px !important;",
                "	box-sizing: border-box;",
                "	display: flex;",
                "}",
                ".forumInfo_nav_list,",
                ".star_class_nav,",
                ".ihome_nav_list,",
                ".nav_list {",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	height: auto !important;",
                "	width: 0 !important;",
                "	background: none!important;",
                "	border: none!important;",
                "	position: relative;",
                "	float: none !important;",
                "	flex: 1;",
                "	overflow: visible!important;",
                "	display: flex;",
                "",
                "}",
                ".star_class_nav,",
                ".nav_list{",
                "	box-sizing: border-box;",
                "}",
                ".forumInfo_nav_list>li,",
                ".star_class_nav>li,",
                ".nav_list>li{",
                "	flex: 1;",
                "}",
                ".forumInfo_nav_list>li,",
                ".star_class_nav>li,",
                ".ihome_nav_list>li,",
                ".nav_list>li,",
                ".forumInfo_nav_list>li *,",
                ".star_class_nav>li *,",
                ".ihome_nav_list>li *,",
                ".nav_list>li *{",
                "	display: block;",
                "	background: none !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	border: none!important;",
                "	height: auto !important;",
                "	width: auto !important;",
                "	float: none !important;",
                "}",
                ".forumInfo_nav_list>li a,",
                ".star_class_nav>li .star_nav_ico,",
                ".ihome_nav_list>li .nav_icon,",
                ".nav_list>li .j_tbnav_tab_a{",
                "	display: inline-block !important;",
                "	vertical-align: top;",
                "	height: 46px !important;",
                "	line-height: 42px !important;",
                "	font-size: 16px !important;",
                "	color: #777 !important;",
                "	border: none !important;",
                "	box-sizing: border-box;",
                "	text-align: center;",
                "	border-bottom: 4px solid rgba(0, 0, 0, 0) !important;",
                "	transition-property: border;",
                "	transition-duration: .4s;",
                "	transition-timing-function: ease;",
                "}",
                ".star_class_nav>li .star_nav_ico *,",
                ".ihome_nav_list>li .nav_icon *,",
                ".nav_list>li .j_tbnav_tab_a *{",
                "	display: inline !important;",
                "	color: inherit !important;",
                "}",
                ".forumInfo_nav_list>li.focus a,",
                ".star_class_nav>li.focus .star_nav_ico,",
                ".ihome_nav_list>li.focus .nav_icon,",
                ".nav_list>li.focus .j_tbnav_tab_a{",
                "	background: rgba(0,0,0,.06) !important;",
                "}",
                ".forumInfo_nav_list>li a:hover,",
                ".star_class_nav>li .star_nav_ico:hover,",
                ".ihome_nav_list>li .nav_icon:hover,",
                ".nav_list>li .j_tbnav_tab_a:hover{",
                "	border-bottom: 4px solid rgba(0, 0, 0, .2) !important;",
                "}",
                ".forumInfo_nav_list>li a,",
                ".nav_list>li .j_tbnav_tab_a{",
                "	padding: 0 !important;",
                "	width: 100% !important;",
                "}",
                ".star_class_nav>li .star_nav_ico,",
                ".ihome_nav_list>li .nav_icon{",
                "	padding: 0 20px !important;",
                "	width: 100% !important;",
                "}",
                ".star_class_nav>li .star_nav_ico:empty:after,",
                ".ihome_nav_list>li .nav_icon:empty:after,",
                ".nav_list>li .j_tbnav_tab_a:empty:after{",
                "	content:\"空项\"",
                "}",
                ".star_class_nav>li .star_nav_ico:before,",
                ".ihome_nav_list>li .nav_icon:before,",
                ".nav_list>li .j_tbnav_tab_a:before{",
                "	content: \"\\e871\";",
                "	font-family: \'Material Icons\';",
                "	font-size: 18px;",
                "	display: inline-block !important;",
                "	vertical-align: top;",
                "	margin-right: 3px;",
                "}",
                ".nav_list>li[data-tab-main] .j_tbnav_tab_a:before,",
                ".star_class_nav>li .star_nav_ico.star_nav_ico_tie:before,",
                ".nav_list>li .j_tbnav_tab_a[stats-data*=\"tabmain\"]:before{",
                "	content: \"\\e24d\";",
                "}",
                ".star_class_nav>li .star_nav_ico.star_nav_ico_photo:before,",
                ".nav_list>li .j_tbnav_tab_a[stats-data*=\"tabfrsphotogood\"]:before{",
                "	content: \"\\e410\";",
                "}",
                ".star_class_nav>li .star_nav_ico.star_nav_ico_good:before,",
                ".nav_list>li .j_tbnav_tab_a[stats-data*=\"tabgood\"]:before{",
                "	content: \"\\e838\";",
                "	font-size: 20px;",
                "}",
                ".star_class_nav>li .star_nav_ico.star_nav_ico_video:before,",
                ".nav_list>li .j_tbnav_tab_a[stats-data*=\"tabvideo\"]:before{",
                "	content: \"\\e04b\";",
                "	font-size: 20px;",
                "}",
                ".nav_list>li .j_tbnav_tab_a[stats-data*=\"st_value=wanle\"]:before{",
                "	content: \"\\e332\";",
                "}",
                ".nav_list>li .j_tbnav_tab_a[href*=\"tab=game\"]:before,",
                ".nav_list>li .j_tbnav_tab_a[stats-data*=\"tabplay\"]:before{",
                "	content: \"\\e021\";",
                "}",
                ".star_class_nav>li .star_nav_ico.star_nav_ico_group:before,",
                ".nav_list>li .j_tbnav_tab_a[stats-data*=\"tabgroup\"]:before{",
                "	content: \"\\e7ef\";",
                "	font-size: 20px;",
                "}",
                ".nav_list>li .j_tbnav_tab_a[href*=\"/show/zhanqi\"]:before{",
                "	content: \"\\e639\";",
                "	text-indent: 2px;",
                "}",
                ".nav_list>li .j_tbnav_tab_a[href*=\"tab=tuan\"]:before{",
                "	content: \"\\e8cb\";",
                "}",
                "",
                ".ihome_nav_list>li .nav_icon.nav_main:before{",
                "	content: \"\\e88a\";",
                "	font-size: 22px;",
                "}",
                ".ihome_nav_list>li .nav_icon.nav_msg:before{",
                "	content: \"\\e7f4\";",
                "	font-size: 20px;",
                "}",
                ".ihome_nav_list>li .nav_icon.nav_collect:before{",
                "	content: \"\\e865\";",
                "}",
                ".ihome_nav_list>li .nav_icon.nav_concern:before{",
                "	content: \"\\e87d\";",
                "}",
                ".ihome_nav_list>li .nav_icon.nav_post:before{",
                "	content: \"\\e24d\";",
                "}",
                ".ihome_nav_list>li .nav_icon.nav_achieve:before{",
                "	content: \"\\e545\";",
                "	font-size: 20px;",
                "}",
                ".star_class_tip{",
                "	display: none !important;",
                "}",
                "/*帖子排序按钮*/",
                ".thread_list_order {",
                "	position: absolute;",
                "	top: auto;",
                "	bottom: 0;",
                "	cursor: pointer;",
                "	display: inline-block;",
                "	white-space: nowrap;",
                "	font-size: 0;",
                "	margin-left: 12px;",
                "	color: #777;",
                "	line-height: 16px;",
                "	padding: 0 8px;",
                "	padding-top: 4px;",
                "	border-radius: 4px 4px 0 0;",
                "	background: rgba(0,0,0,.06);",
                "	transition: color .4s ease;",
                "}",
                ".thread_list_order:hover{",
                "	color: #444;",
                "}",
                ".thread_list_order:before {",
                "	content: \"\\e8fe\";",
                "	font-size: 18px;",
                "	font-family: \'Material Icons\';",
                "	display: inline-block;",
                "	vertical-align: top;",
                "	margin-right: 2px;",
                "}",
                ".thread_list_order:after {",
                "	content: \"按回复排序\";",
                "	font-size: 12px;",
                "}",
                "",
                "/*吧内搜索*/",
                ".star_nav_btns_wrap,",
                ".search_internal_wrap{",
                "	float: none !important;",
                "	height: 44px !important;",
                "	margin: 0 !important;",
                "	display: block;",
                "	box-sizing: border-box;",
                "	padding: 6px 10px !important;",
                "	width: 18% !important;",
                "	min-width: 240px !important;",
                "	position: relative;",
                "	 margin-left: 12% !important;",
                "}",
                ".search_internal_wrap.pull_right{",
                "	display: flex;",
                "}",
                ".j_search_internal_form{",
                "	position: relative;",
                "	width: 100%;",
                "	box-sizing: border-box;",
                "	display:flex;",
                "}",
                ".search_internal_input{",
                "	flex: 1;",
                "	display: block;",
                "	float: none !important;",
                "	width: 0 !important;",
                "	height: 30px !important;",
                "	background: rgba(0, 0, 0, 0.04);",
                "	outline: none !important;",
                "	border: none !important;",
                "	margin: 0 !important;",
                "	padding: 0 8px !important;",
                "	border-bottom: 4px solid rgba(0, 0, 0, .04) !important;",
                "	box-sizing: border-box;",
                "	color: #666 !important;",
                "	font-size: 12px !important;",
                "	line-height: 26px !important;",
                "}",
                ".search_internal_placeholder{",
                "	color: darkgrey !important;",
                "	position: absolute;",
                "	top: 1px !important;",
                "	left: 8px !important;",
                "	display: block;",
                "	line-height: 26px !important;",
                "	font-size: 12px !important;",
                "}",
                ".search_internal_btn{",
                "	background: none !important;",
                "	background-color: rgba(0, 0, 0, .04) !important;",
                "	border-bottom: 4px solid rgba(0, 0, 0, .04) !important;",
                "	box-sizing: border-box;",
                "	margin-left: 4px;",
                "	height: 30px !important;",
                "	width: 30px !important;",
                "	display: inline-block;",
                "	float: none !important;",
                "	vertical-align: top;",
                "	text-indent: 0 !important;",
                "	font-size: 0 !important;",
                "	position: relative;",
                "}",
                "",
                ".search_internal_input,",
                ".search_internal_btn{",
                "	transition-property: background, border-bottom;",
                "	transition-duration: .5s;",
                "	transition-timing-function: ease;",
                "}",
                ".search_internal_input:focus{",
                "	background: rgba(255, 255, 255, .4) !important;",
                "	border-bottom: 4px solid rgba(0, 0, 0, .2) !important;",
                "}",
                ".search_internal_btn:hover{",
                "	background-color: rgba(0, 0, 0, 0.06) !important;",
                "	border-bottom: 4px solid rgba(0, 0, 0, .1) !important;",
                "}",
                ".search_internal_btn:before,",
                ".j_search_internal_form:before {",
                "	content: \"\\e8b6\";",
                "	font-family: \'Material Icons\';",
                "	display: block;",
                "	color: #999;",
                "	font-size: 20px;",
                "	position: absolute;",
                "	right: -5px;",
                "	top: 13px;",
                "	transform: translate(-50%, -50%) translateY(1px);",
                "}",
                "/*贴子内容页右侧*/",
                ".right_section {",
                "	display: none !important;",
                "	width: 240px;",
                "}",
                ".right_section {",
                "	width: 240px;",
                "}",
                ".right_section >div {",
                "	display: none !important;",
                "}",
                ".right_section >div[id] {",
                "	display: block !important;",
                "}",
                "/*首页帖子列表块*/",
                ".forum_content{",
                "	display: flex;",
                "}",
                "#contet_wrap,",
                "#content_wrap {",
                "	flex: 1;",
                "	box-sizing: border-box;",
                "	float: none !important;",
                "	display: block;",
                "	width: 0 !important;",
                "}",
                "#aside {",
                "	width: 18% !important;",
                "	min-width: 240px !important;",
                "	box-sizing: border-box;",
                "	float: none !important;",
                "	display: block;",
                "}",
                ".region_header,",
                ".region_bright > .title,",
                ".region_bright > .trip_title,",
                ".aside_album_good_title,",
                ".zyq_bright .mod .tl{",
                "	background: rgba(0,0,0,.04);",
                "	height: 28px !important;",
                "	line-height: 28px !important;",
                "	border-radius: 14px;",
                "	width: 100%;",
                "	padding: 0 10px;",
                "	margin-left: -10px;",
                "	color: #777 !important;",
                "}",
                ".region_title,",
                ".region_title a,",
                ".zyq_mod_title,",
                ".aside_album_good_title span,",
                ".region_bright > .title h1{",
                "	color: inherit !important;",
                "	font-weight: bold !important;",
                "	height: inherit !important;",
                "	font-size: 14px;",
                "}",
                ".region_header a,",
                ".aside_album_good_title a,",
                ".zyq_bright .mod .tl a{",
                "	color: inherit !important;",
                "	text-decoration: none !important;",
                "}",
                ".aside_region {",
                "	border-top: none !important;",
                "}",
                "",
                ".region_bright {",
                "	border-top: none !important;",
                "	background: none;",
                "}",
                ".zyq_bright .mod,",
                ".aside_album_good_bright{",
                "	background: none !important;",
                "}",
                ".aside_region,",
                ".region_bright,",
                ".zyq_bright .mod,",
                ".aside_album_good_bright{",
                "	border-bottom: 1px solid rgba(0,0,0,.06);",
                "}",
                "",
                ".aside_album_good_title>a[href],",
                ".region_header .j_op a{",
                "	display: inline !important;",
                "	font-size: 0  !important;",
                "	opacity: .5;",
                "	transition: opacity .4s ease;",
                "}",
                ".region_header .j_op{",
                "	height: 100% !important;",
                "}",
                ".aside_album_good_title>a[href]:hover,",
                ".region_header .j_op a:hover{",
                "	opacity: 1;",
                "}",
                ".aside_album_good_title>a[href]:after,",
                ".region_header .j_op a:after{",
                "	content: \'\\e5d3\';",
                "	font-family: \'Material Icons\' ;",
                "	font-size: 28px;",
                "}",
                ".region_header .j_op a.p_balv_btnmanager:after,",
                ".region_header .j_op a.j_zyq_mod_edit_entry:after{",
                "	content: \'\\e869\';",
                "	font-size: 16px;",
                "	margin-right: 4px;",
                "}",
                ".user_level,",
                ".my_current_forum{",
                "	position: static !important;",
                "	margin: 0 !important;",
                "}",
                ".user_level .title,",
                ".my_current_forum .title{",
                "	display: none !important;",
                "}",
                ".my_current_forum .badge,",
                ".user_level .badge{",
                "	position: relative;",
                "	height: 24px;",
                "	line-height: 24px;",
                "	border: 1px rgba(0,0,0,.1) solid !important;",
                "	border-radius: 4px;",
                "	background: rgba(0,0,0,.04);",
                "	overflow: hidden;",
                "}",
                ".my_current_forum .badge_index,",
                ".user_level .badge_index{",
                "	position: absolute;",
                "	top: 0 !important;",
                "	left: auto !important;",
                "	right: 0 !important;",
                "	margin: 0 !important;",
                "	height: 100% !important;",
                "	line-height: inherit !important;",
                "	background: rgba(0,0,0,.3) !important;",
                "	color: #fff !important;",
                "	z-index: 1;",
                "	padding: 0;",
                "	text-align: center;",
                "	width: 24px;",
                "	text-indent: 0 !important;",
                "	font-family: inherit !important;",
                "}",
                ".user_level .badge_name,",
                ".my_current_forum .badge_name {",
                "	position: absolute;",
                "	width: 72px;",
                "	color: #4C4C4C;",
                "	text-align: center;",
                "}",
                ".user_level .exp,",
                ".my_current_forum .exp{",
                "	padding: 0 !important;",
                "}",
                ".exp_bar {",
                "	border: none !important;",
                "	border-radius: 0 !important;",
                "	height: 16px !important;",
                "	background: rgba(0,0,0,.1);",
                "}",
                ".exp_bar_current {",
                "	margin: 0 !important;",
                "	height: 100% !important;",
                "	border: none !important;",
                "	border-radius: 0 !important;",
                "	background: rgba(0,0,0,.1) !important;",
                "}",
                ".exp_num {",
                "	top: 0 !important;",
                "	height: 100% !important;",
                "	line-height: 16px !important;",
                "	font-size: 12px !important;",
                "}",
                ".region_cnt:hover .exp_num {",
                "	display: block;",
                "}",
                ".exp_bar span,",
                ".exp_bar .exp_current_num {",
                "	color: #666 !important;",
                "}",
                "#content_leftList,",
                "div[id=\"pagelet_frs-list/pagelet/thread_list\"],",
                "#thread_list,",
                ".j_thread_list,",
                ".threadlist_bright .t_con{",
                "	width:100% !important;",
                "	box-sizing: border-box;",
                "	padding: 0 !important;",
                "	margin: 0 !important;",
                "	border: none !important;",
                "}",
                ".threadlist_bright li.thread_top_list_folder{",
                "	background: none !important;",
                "}",
                ".interview .threadListGroupCnt,",
                ".threadlist_bright li{",
                "	border-bottom: 1px solid rgba(0,0,0,.06) !important;",
                "	transition: background .4s ease;",
                "}",
                ".threadlist_bright li:last-of-type{",
                "	border-bottom: none !important;",
                "}",
                "/*.interview .threadListGroupCnt:hover,*/",
                ".threadlist_bright li:hover{",
                "	background: rgba(0,0,0,.02)",
                "}",
                ".threadlist_bright .thread_pic_bright,",
                ".threadlist_bright .t_con {",
                "	padding: 12px 0 !important;",
                "	display: flex;",
                "	align-items: stretch;",
                "}",
                ".threadlist_li_left,",
                ".j_threadlist_li_left{",
                "	float: none !important;",
                "	width: 8% !important;",
                "	min-width: 75px !important;",
                "	padding: 0 14px 0 10px !important;",
                "	box-sizing: border-box;",
                "	margin-top: -3px !important;",
                "	position: relative;",
                "	display: flex;",
                "}",
                ".threadlist_rep_num {",
                "	background: rgba(0,0,0,.04) !important;",
                "	overflow: hidden;",
                "	width: 100% !important;",
                "	height: 24px !important;",
                "	line-height: 24px !important;",
                "	text-align: center;",
                "	color: #666;",
                "	padding: 0 !important;",
                "	margin: 0 !important;",
                "	border-radius:12px;",
                "}",
                ".threadlist_li_right,",
                ".j_threadlist_li_right{",
                "	margin: 0 !important;",
                "	float: none !important;",
                "	width: 0 !important;",
                "	flex: 1;",
                "	position: static !important;",
                "}",
                ".threadlist_bright .threadlist_lz,",
                ".threadlist_bright .threadlist_detail{",
                "	width: 100% !important;",
                "	display: flex;",
                "	padding: 0 !important;",
                "}",
                ".threadlist_bright .threadlist_lz{",
                "	overflow: visible;",
                "}",
                ".threadlist_bright .threadlist_detail{",
                "	padding-top: 4px !important;",
                "}",
                ".threadlist_bright .threadlist_title,",
                ".threadlist_bright .threadlist_text{",
                "	float: none !important;",
                "	width: 0 !important;",
                "	flex: 1;",
                "	display: flex;",
                "	margin-right: 20px;",
                "	padding: 0 !important;",
                "	box-sizing: border-box;",
                "	height: auto !important;",
                "	overflow: visible;",
                "}",
                ".threadlist_bright .threadlist_abs_onlyline{",
                "	flex: 1 1 100%;",
                "}",
                ".threadlist_bright .threadlist_text{",
                "	font-size: 12px !important;",
                "	flex-wrap: wrap;",
                "}",
                ".threadlist_bright .threadlist_title{",
                "	height: 24px!important;",
                "	line-height: 17px!important;",
                "	font-size: 14px!important;",
                "	flex-wrap: nowrap;",
                "}",
                ".threadlist_bright .threadlist_title a.j_th_tit {",
                "	order: 1;",
                "	flex: 0 1 auto;",
                "	text-overflow: ellipsis;",
                "	overflow: hidden;",
                "}",
                ".threadlist_bright .threadlist_title.threadlist_img{",
                "	overflow: visible;",
                "}",
                ".threadlist_bright .threadlist_title.threadlist_img img{",
                "	display: none;",
                "}",
                ".interview .threadListGroupCnt .listTitleCnt .listThreadTitle a,",
                ".threadlist_title a.j_th_tit {",
                "	color: #2d64b3 !important;",
                "	font-size: inherit !important;",
                "}",
                ".threadlist_title a.j_th_tit:hover {",
                "	text-decoration: underline;",
                "}",
                ".interview .threadListGroupCnt .listTitleCnt .listThreadTitle a:visited,",
                ".threadlist_title a.j_th_tit:visited {",
                "	color: #566c84 !important;",
                "}",
                ".threadlist_bright .threadlist_abs_onlyline,",
                ".threadlist_bright .threadlist_abs{",
                "	color: #666 !important;",
                "}",
                ".threadlist_title .see-lz{",
                "	order: 2;",
                "	font-size: 12px !important;",
                "	padding: 0 6px;",
                "	margin-left: 5px;",
                "	margin-top: -2px;",
                "	height: 20px;",
                "	line-height: 20px;",
                "	text-decoration: none !important;",
                "	border-radius: 4px;",
                "	background: rgba(0,0,0,.25);",
                "	color: #fff !important;",
                "	transition: background .4s ease;",
                "}",
                ".threadlist_title .see-lz:hover{",
                "	order: 2;",
                "	font-size: 12px !important;",
                "	padding: 0 6px;",
                "	margin-left: 5px;",
                "	height: 20px;",
                "	line-height: 20px;",
                "	text-decoration: none !important;",
                "	border-radius: 4px;",
                "	background: rgba(0,0,0,.4);",
                "	color: #fff !important;",
                "}",
                ".threadlist_bright .threadlist_author{",
                "	float: none !important;",
                "	display: flex;",
                "	width: 16% !important;",
                "	min-width: 155px;",
                "	padding-right: 20px;",
                "	white-space: nowrap;",
                "	font-size: 0 !important;",
                "	overflow: visible !important;",
                "}",
                ".tb_icon_author,",
                ".tb_icon_author_rely{",
                "	position: relative;",
                "	display: inline-block !important;",
                "	background: none !important;",
                "	padding: 0 !important;",
                "	height: 20px  !important;",
                "	line-height: 20px  !important;",
                "	margin: 0 !important;",
                "	overflow: visible !important;",
                "	flex: 1;",
                "	float: none !important;",
                "	z-index: 2;",
                "	pointer-events: none;",
                "}",
                ".tb_icon_author *,",
                ".tb_icon_author_rely *{",
                "	pointer-events: auto;",
                "}",
                ".interview .threadListGroupCnt .listTitleCnt .listUser:before,",
                ".frs_bright_preicon,",
                ".tb_icon_author:before,",
                ".tb_icon_author_rely:before{",
                "	display: inline-block;",
                "	font-family: \'Material Icons\';",
                "	font-size: 12px;",
                "	width: 30px;",
                "	vertical-align: top;",
                "	text-align: center;",
                "	color: #bbb;",
                "}",
                ".interview .threadListGroupCnt .listTitleCnt .listUser:before,",
                ".tb_icon_author:before{",
                "	content:\"\\e7fd\";",
                "	font-size: 16px;",
                "}",
                ".tb_icon_author_rely:before{",
                "	content:\"\\e0ca\"",
                "}",
                ".threadlist_bright .icon_author,",
                ".threadlist_bright .icon_replyer{",
                "	display: none !important;",
                "}",
                ".threadlist_author .j_user_card,",
                ".threadlist_author .frs-author-name {",
                "	display: inline-block;",
                "	width: auto !important;",
                "	overflow: hidden;",
                "	text-overflow: ellipsis;",
                "	white-space: nowrap;",
                "	font-size: 12px;",
                "}",
                ".threadlist_reply_date,",
                ".frs-author-name {",
                "	font-size: 12px;",
                "}",
                ".frs_bright_preicon{",
                "	position: absolute;",
                "	left: 0;",
                "	top: 0;",
                "}",
                ".frs_bright_preicon>*{",
                "	margin: -2px 0 0 7px!important;",
                "}",
                ".frs_bright_icons{",
                "	vertical-align: top !important;",
                "	padding-left: 6px;",
                "	padding-top: 2px;",
                "}",
                "/*帖子缩略图*/",
                ".threadlist_bright .small_wrap,",
                ".threadlist_bright .small_list{",
                "	position: relative;",
                "	z-index: 2;",
                "	pointer-events: none;",
                "}",
                ".threadlist_bright .small_wrap *:not(.small_list),",
                ".threadlist_bright .small_list *{",
                "	pointer-events: auto;",
                "}",
                ".feed_item .large_status,",
                ".threadlist_bright .media_box{",
                "	position: relative;",
                "	z-index: 2;",
                "	margin: 0 !important;",
                "	border-top: solid 1px rgba(0,0,0,.04);",
                "	padding-bottom: 20px;",
                "}",
                ".feed_item .large_box,",
                ".threadlist_bright .media_disp {",
                "	width: 100% !important;",
                "	margin: 0 !important;",
                "	padding: 0 50px;",
                "	background: none !important;",
                "	border: none !important;",
                "	display: block;",
                "	position: relative;",
                "	left:  0 !important;",
                "	box-sizing: border-box;",
                "	text-align: center;",
                "}",
                ".feed_item .tools,",
                ".media_pic_control .tb_icon_fav,",
                ".threadlist_bright .media_pic_control {",
                "	position: relative;",
                "	height: 30px;",
                "	line-height: 30px;",
                "	margin-bottom: 8px !important;",
                "	width: auto !important;",
                "	display: inline-block;",
                "	padding: 0 20px;",
                "	box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.2) !important;",
                "	background: #eee !important;",
                "	border-radius: 0 0 10px 10px;",
                "	color: rgba(0, 0, 0, .2);",
                "}",
                ".feed_item .tools_foot>.enter:before{",
                "	content: \'进入贴子\'",
                "}",
                ".feed_item .tools>a,",
                ".feed_item .tools_foot>.enter,",
                ".threadlist_bright .enter_pb_wrapper>a,",
                ".media_pic_control>a{",
                "	color: rgba(0, 0, 0, .6) !important;",
                "	padding: 0 !important;",
                "	background-image: none !important;",
                "	width: auto !important;",
                "}",
                ".feed_item .tools>a:hover,",
                ".feed_item .tools_foot>.enter:hover,",
                ".threadlist_bright .enter_pb_wrapper>a:hover,",
                ".media_pic_control>a:hover{",
                "	text-decoration: none;",
                "	color: rgba(0, 0, 0, .8) !important;",
                "}",
                ".media_pic_control .line {",
                "	margin: 0 10px;",
                "	color: rgba(0, 0, 0, .2);",
                "}",
                ".media_pic_control [class^=\"icon_\"],",
                ".media_pic_control [class*=\" icon_\"]{",
                "	display: none;",
                "}",
                ".feed_item .tools>a:before,",
                ".media_pic_control>a:before,",
                ".media_pic_control>a:before{",
                "	font-family: \'Material Icons\';",
                "	font-style: normal;",
                "	font-size: 20px;",
                "	display: inline-block;",
                "	width: 20px;",
                "	height: 20px;",
                "	vertical-align: top;",
                "}",
                ".feed_item .tools .fold_btn:before,",
                ".media_pic_control .j_retract:before{",
                "	content: \"\\e318\";",
                "}",
                ".feed_item .tools .screen_full:before,",
                ".media_pic_control .j_ypic:before{",
                "	content: \"\\e56b\";",
                "	font-size: 16px;",
                "}",
                ".media_pic_control .j_rotation_left:before{",
                "	content: \"\\e419\";",
                "}",
                ".media_pic_control .j_rotation_right:before{",
                "	content: \"\\e41a\";",
                "}",
                ".media_pic_control .j_pop_media:before{",
                "	content: \"\\e89e\";",
                "	font-size: 16px;",
                "	margin-left: 20px;",
                "}",
                "",
                ".media_pic_control .tb_icon_fav{",
                "	position: absolute;",
                "	right: -20px !important;",
                "	top: 0;",
                "	transform: translateX(100%);",
                "	padding: 0 8px !important;",
                "	text-indent: -2px;",
                "}",
                ".media_pic_control .tb_icon_fav.done{",
                "	color: #FF7C7C !important;",
                "}",
                ".media_pic_control .tb_icon_fav.done:hover{",
                "	color: #f24949 !important;",
                "}",
                ".media_pic_control .tb_icon_fav:before{",
                "	content: \"\\e87e\";",
                "	font-size: 16px;",
                "	margin-right: -1px;",
                "}",
                ".media_pic_control .tb_icon_fav.done:before{",
                "	content: \"\\e87d\";",
                "}",
                ".feed_item .tools_foot,",
                ".threadlist_bright .enter_pb_wrapper{",
                "	background: none !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	position: absolute;",
                "	left: auto;",
                "	right: 0;",
                "	bottom: 20px;",
                "	width: auto !important;",
                "}",
                ".feed_item .tools_foot>.enter,",
                ".threadlist_bright .enter_pb_wrapper>a{",
                "	margin: 0 !important;",
                "	padding: 0 14px !important;",
                "	height: 30px;",
                "	line-height: 30px !important;",
                "	text-align: center;",
                "	font-size: 14px;",
                "	overflow: hidden;",
                "	border: none !important;",
                "	box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.2) !important;",
                "	background: #eee !important;",
                "	border-radius: 15px 0 0 15px;",
                "}",
                ".icon_thread_hidden {",
                "	position: absolute;",
                "	top: 0;",
                "	right: 0;",
                "	z-index: 1;",
                "	width: 0;",
                "	height: 0;",
                "	border-top: 24px solid rgba(0,0,0,.2);",
                "	border-left: 24px solid transparent; ",
                "	background: none !important;",
                "	transition: border .4s ease;",
                "}",
                ".icon_thread_hidden:hover {",
                "	border-top: 24px solid rgba(0,0,0,.4);",
                "}",
                ".icon_thread_hidden:before {",
                "	content: \"\\e5cd\";",
                "	position: absolute;",
                "	top: -17px;",
                "	right: 1px;",
                "	font-family: \'Material Icons\';",
                "	font-size: 12px;",
                "	line-height: 0;",
                "	color: #fff;",
                "}",
                ".icon_top_folder {",
                "	position: absolute;",
                "	left: -25px;",
                "	top: 0;",
                "	width: 24px;",
                "	height: auto;",
                "	border-radius: 10px 0 0 10px;",
                "	box-shadow: -2px 2px 2px 0 rgba(0, 0, 0, 0.08);",
                "	background: #fefefe !important;",
                "	overflow: hidden;",
                "	word-break: break-all;",
                "	padding: 10px 6px;",
                "	box-sizing: border-box;",
                "	line-height: 16px;",
                "	font-size: 12px;",
                "	color: #aaa;",
                "}",
                ".icon_top_folder:hover {",
                "	color: #666;",
                "}",
                ".icon_top_folder:before {",
                "	content:\"展开置顶\";",
                "}",
                "",
                ".tb_rich_poster {",
                "	margin-left: 20px;",
                "}",
                ".tb_rich_poster_container {",
                "	width: 100% !important;",
                "	padding: 0 !important;",
                "	padding-top: 20px !important;",
                "}",
                "#pb-footer-header:empty {",
                "	display: none !important;",
                "}",
                "/*视频浮窗*/",
                "#pop_video{",
                "	left: 50vw !important;",
                "	top: 50vh !important;",
                "	right: auto!important;",
                "	bottom: auto !important;",
                "	transform: translate(-50%,-50%);",
                "	padding-bottom: 6px !important;",
                "}",
                "/*发帖编辑框*/",
                "",
                ".tb_rich_poster {",
                "	margin: 0 20px !important;",
                "}",
                ".poster_body {",
                "	width: 100% !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "}",
                ".poster_head {",
                "	border: none !important;",
                "	width: 100% !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	margin-bottom: 10px !important;",
                "	line-height: 28px;",
                "}",
                ".poster_head_text{",
                "	width: auto !important;",
                "	padding: 0 10px !important;",
                "	background: rgba(0,0,0,.06);",
                "	border-radius: 6px;",
                "	color: #999;",
                "	font-weight: normal !important;",
                "	font-size: 14px !important;",
                "}",
                ".poster_head_text>a{",
                "	line-height: inherit !important;",
                "	font-size: inherit !important;",
                "	font-weight: inherit !important;",
                "	color: inherit !important;",
                "	margin-right: 14px !important;",
                "}",
                ".poster_head_text>a:last-of-type{",
                "	margin-right: 4px !important;",
                "}",
                ".poster_head_text .split_text,",
                ".poster_head_text .post_head_btn_icon{",
                "	display: none !important;",
                "}",
                "",
                ".poster_head_text>a:before{",
                "	display: inline-block;",
                "	font-family: \'Material Icons\';",
                "	font-size: 16px;",
                "	width: 24px;",
                "	vertical-align: top;",
                "	text-align: center;",
                "	color: #bbb;",
                "}",
                ".poster_head_text .add_thread_btn:before{",
                "	content:\"\\e253\";",
                "}",
                ".poster_head_text .add_thread_btn[title=\"发表新贴\"]:before{",
                "	content:\"\\e254\";",
                "}",
                ".poster_head_text .add_vote_btn:before{",
                "	content:\"\\e01d\";",
                "	font-size: 18px;",
                "}",
                ".poster_head_text a.cur{",
                "	color: #666 !important;",
                "}",
                ".poster_head_text a.cur:before{",
                "	color: #777 !important;",
                "}",
                "/*标题编辑域*/",
                "",
                ".title_container {",
                "	width: 100% !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	padding-bottom: 10px !important;",
                "}",
                ".poster_body .editor_title {",
                "	width: 100% !important;",
                "	margin: 0 !important;",
                "	padding: 0 10px !important;",
                "	box-sizing: border-box !important;",
                "	outline: none !important;",
                "	border: none !important;",
                "	font-size: 18px !important;",
                "	height: 40px !important;",
                "	line-height: 36px !important;",
                "	border-bottom: 4px solid rgba(0, 0, 0, .04) !important;",
                "	background: rgba(0, 0, 0, 0.04) !important;",
                "	color: #666 !important;",
                "	transition-property: background, border-bottom;",
                "	transition-duration: .5s;",
                "	transition-timing-function: ease;",
                "}",
                ".poster_body .tbui_placeholder {",
                "	width: 100% !important;",
                "	position: absolute;",
                "	font-size: 18px !important;",
                "	height: 36px !important;",
                "	line-height: 36px !important;",
                "	color: #bbb !important;",
                "	left: 0 !important;",
                "}",
                "/*标题前缀*/",
                "",
                ".pprefix-list {",
                "	display: block !important;",
                "	background: #f8f8f8;",
                "	border: none !important;",
                "	border-bottom: 4px solid rgba(0, 0, 0, .2) !important;",
                "	pointer-events: none;",
                "	opacity: 0;",
                "	transform: translateY(-40px);",
                "	transition-property: opacity, transform;",
                "	transition-duration: .5s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                ".pprefix-list[style*=\"block\"] {",
                "	opacity: 1;",
                "	transform: none;",
                "	pointer-events: auto;",
                "}",
                ".pprefix-item {",
                "	color: #666;",
                "	cursor: pointer;",
                "	transition-property: background;",
                "	transition-duration: .5s;",
                "	transition-timing-function: ease;",
                "}",
                ".editor_content_wrapper {",
                "	width: 100% !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	background: none !important;",
                "	box-sizing: border-box;",
                "}",
                ".old_style_wrapper {",
                "	width: 100% !important;",
                "	background: none !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	border: none !important;",
                "	box-sizing: border-box;",
                "}",
                ".poster_body .edui-container {",
                "	width: 100% !important;",
                "	background: none !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "}",
                ".poster_body .edui-body-container {",
                "	min-height: 216px !important;",
                "	width: 100% !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "}",
                ".edui-body-container *::selection {",
                "	background-color: rgba(0,0,0,.12);",
                "	text-shadow: none;",
                "}",
                "",
                ".tb_poster_placeholder{",
                "	position: absolute !important;",
                "	left: 0 !important;",
                "	top: 55px !important;",
                "	width: 100% !important;",
                "	padding: 0 15px !important;",
                "    box-sizing: border-box;",
                "}",
                "",
                ".tb_poster_placeholder p{",
                "	width: 100% !important;",
                "}",
                "",
                "/*编辑框控件域*/",
                "",
                ".edui-toolbar {",
                "	background: rgba(0, 0, 0, .08) !important;",
                "	box-sizing: border-box;",
                "	border-bottom: 4px solid rgba(0, 0, 0, .1);",
                "	height: 40px !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "}",
                ".poster_body .edui-editor-body .edui-body-container {",
                "	padding: 0 10px !important;",
                "}",
                ".poster_body .editor_title:focus,",
                ".poster_body .edui-editor-body .edui-body-container:focus {",
                "	background: rgba(0, 0, 0, 0.02) !important;",
                "	border-bottom: 4px solid rgba(0, 0, 0, .2) !important;",
                "}",
                ".edui-popup {",
                "	z-index: 9 !important;",
                "}",
                ".edui-btn-toolbar {",
                "	position: absolute;",
                "	top: 0;",
                "	width: 100% !important;",
                "	background: none !important;",
                "	padding: 0 !important;",
                "	height: 40px !important;",
                "	line-height: 36px !important;",
                "	box-sizing: border-box;",
                "}",
                ".edui-btn {",
                "	height: 40px !important;",
                "	display: block !important;",
                "	width: 60px !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	float: left !important;",
                "	background: none !important;",
                "	overflow: hidden;",
                "	cursor: pointer;",
                "	box-sizing: border-box;",
                "	border-bottom: 4px solid rgba(0, 0, 0, 0) !important;",
                "	transition-property: border;",
                "	transition-duration: 1s;",
                "	transition-timing-function: ease;",
                "}",
                ".edui-toolbar .edui-btn-red,",
                ".edui-toolbar .edui-btn-bold,",
                ".edui-toolbar .edui-btn-fullscreen {",
                "	width: 36px !important;",
                "	float: right !important;",
                "}",
                ".edui-toolbar .edui-btn[style*=\"none\"] {",
                "	display: none !important;",
                "}",
                ".edui-btn:hover {",
                "	border-bottom: 4px solid rgba(0, 0, 0, .2) !important;",
                "}",
                ".edui-btn:hover .edui-icon {",
                "	transform: translateY(-38px);",
                "}",
                ".edui-icon {",
                "	height: 36px !important;",
                "	background: none !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	width: 100% !important;",
                "	transition-property: transform;",
                "	transition-duration: .5s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                ".edui-icon:before {",
                "	content: \'\\e22a\';",
                "	font-family: \'Material Icons\';",
                "	display: block;",
                "	color: #999;",
                "	font-size: 24px;",
                "	position: absolute;",
                "	left: 50%;",
                "	top: 50%;",
                "	transform: translate(-50%, -50%);",
                "}",
                ".edui-icon:after {",
                "	content: \'未定义\';",
                "	display: block;",
                "	color: #666;",
                "	font-size: 12px;",
                "	position: absolute;",
                "	left: 50%;",
                "	top: 50%;",
                "	transform: translate(-50%, -50%) translateY(38px);",
                "	white-space: nowrap;",
                "}",
                ".edui-icon-fullscreen:before {",
                "	content: \"\\e5d0\";",
                "}",
                ".tb-ueditor-fullscreen .edui-icon-fullscreen:before {",
                "	content: \"\\e5d1\";",
                "}",
                ".tb-ueditor-fullscreen .edui-icon-fullscreen:after {",
                "	content: \"还原\";",
                "}",
                ".edui-icon-fullscreen:after {",
                "	content: \"全屏\";",
                "}",
                ".edui-icon-bold:before {",
                "	content: \"\\e238\";",
                "	margin-top: 1px;",
                "}",
                ".edui-icon-bold:after {",
                "	content: \"加粗\";",
                "}",
                ".edui-icon-red:before {",
                "	content: \"\\e23c\";",
                "	font-size: 18px;",
                "}",
                ".edui-icon-red:after {",
                "	content: \"红字\";",
                "}",
                ".edui-icon-paypost:before {",
                "	content: \"\\e263\";",
                "}",
                ".edui-icon-paypost:after {",
                "	content: \"付费可见\";",
                "}",
                ".edui-icon-medal:before {",
                "	content: \"\\e838\";",
                "}",
                ".edui-icon-medal:after {",
                "	content: \"贴吧特权\";",
                "}",
                ".edui-btn-name-portrait .edui-icon-medal:before {",
                "	content: \"\\e253\";",
                "	font-size: 20px;",
                "}",
                ".edui-btn-name-portrait .edui-icon-medal:after {",
                "	content: \"发帖气泡\";",
                "}",
                ".edui-icon-image:before {",
                "	content: \"\\e251\";",
                "}",
                ".edui-icon-image:after {",
                "	content: \"图片\";",
                "}",
                ".edui-icon-video:before {",
                "	content: \"\\e02c\";",
                "}",
                ".edui-icon-video:after {",
                "	content: \"视频\";",
                "}",
                ".edui-icon-music:before {",
                "	content: \"\\e405\";",
                "}",
                ".edui-icon-music:after {",
                "	content: \"音乐\";",
                "}",
                ".edui-icon-formula:before {",
                "	content: \"\\e24a\";",
                "}",
                ".edui-icon-formula:after {",
                "	content: \"数学公式\";",
                "}",
                ".edui-icon-emotion:before {",
                "	content: \"\\e24e\";",
                "}",
                ".edui-icon-emotion:after {",
                "	content: \"表情\";",
                "}",
                ".edui-icon-scrawl:before {",
                "	content: \"\\e3b7\";",
                "}",
                ".edui-icon-scrawl:after {",
                "	content: \"涂鸦\";",
                "}",
                ".edui-icon-attachment:before {",
                "	content: \"\\e2bc\";",
                "	font-size: 26px;",
                "}",
                ".edui-icon-attachment:after {",
                "	content: \"附件\";",
                "}",
                ".edui-icon-quick-reply:before {",
                "	content: \"\\e539\";",
                "}",
                ".edui-icon-quick-reply:after {",
                "	content: \"快速回帖\";",
                "}",
                ".edui-icon-topic:before {",
                "	content: \'#\';",
                "	font-family: fantasy;",
                "	font-size: 24px;",
                "	font-weight: bold;",
                "	margin-top: -0.5px;",
                "}",
                ".edui-icon-topic:after {",
                "	content: \"话题\";",
                "}",
                "/*付费可见编辑框*/",
                "",
                ".poster_body .paypost-fee-editor {",
                "	margin: 0 !important;",
                "	margin-top: 2px !important;",
                "}",
                ".paypost_tdou_ipt_area {",
                "	width: 260px !important;",
                "	height: 36px !important;",
                "	line-height: 36px !important;",
                "	padding-left: 14px;",
                "	position: absolute;",
                "	z-index: 1;",
                "}",
                ".j_paypost_tdou_ipt {",
                "	box-sizing: border-box;",
                "	padding: 0 6px !important;",
                "	margin: 0 2px !important;",
                "	width: 70px !important;",
                "	outline: none !important;",
                "	border: none !important;",
                "	background: rgba(255, 255, 255, .4) !important;",
                "	transition-property: background;",
                "	transition-duration: .5s;",
                "	transition-timing-function: ease;",
                "}",
                ".j_paypost_tdou_ipt:focus {",
                "	background: rgba(255, 255, 255, .8) !important;",
                "}",
                ".paypost_editor_close_wrap {",
                "	height: 36px;",
                "}",
                ".paypost_editor_close {",
                "	display: block;",
                "	width: 36px !important;",
                "	height: 36px !important;",
                "	;",
                "	background: none !important;",
                "	color: #999 !important;",
                "}",
                ".paypost_editor_close:hover {",
                "	color: #F44336 !important;",
                "}",
                ".paypost_editor_close:before {",
                "	content: \"\\e5c9\";",
                "	font-family: \'Material Icons\';",
                "	display: block;",
                "	font-size: 24px;",
                "	position: absolute;",
                "	left: 50%;",
                "	top: 50%;",
                "	transform: translate(-50%, -50%);",
                "}",
                ".paypost-fee-editor .edui-btn-toolbar {",
                "	padding-left: 260px !important;",
                "}",
                "/*签名档选择域*/",
                ".lzl_panel_error,",
                ".poster_error{",
                "	display: inline-block !important;",
                "	box-sizing: border-box;",
                "	margin: 0 !important;",
                "	padding: 0 10px !important;",
                "	height: 26px !important;",
                "	line-height: 26px !important;",
                "	background: rgba(0, 0, 0, .08);",
                "	border-radius: 0 0 10px 10px;",
                "	color: #999 !important;",
                "	position: relative;",
                "	left: 50% !important;",
                "	transform: translateX(-50%);",
                "}",
                ".lzl_panel_error:empty,",
                ".poster_error:empty{",
                "	display: none !important;",
                "}",
                ".editor_content_wrapper .poster_error{",
                "	position: absolute;",
                "}",
                ".poster_share,",
                ".poster_signature {",
                "	display: inline-block !important;",
                "	box-sizing: border-box;",
                "	margin: 0 !important;",
                "	padding: 0 20px !important;",
                "	height: 40px !important;",
                "	line-height: 40px !important;",
                "	background: rgba(0, 0, 0, .08);",
                "	border-radius: 0 0 10px 10px;",
                "	color: #999 !important;",
                "}",
                ".poster_head_surveillance a[href],",
                ".poster_signature a[href] {",
                "	color: #666 !important;",
                "	text-decoration: none !important;",
                "}",
                ".poster_head_surveillance a[href]:hover,",
                ".poster_signature a[href]:hover {",
                "	color: #999 !important;",
                "}",
                ".poster_signature[display*=\"none\"] {",
                "	display: none !important;",
                "}",
                ".poster_share > label,",
                ".poster_signature > label {",
                "    padding: 11px 0;",
                "    line-height: 18px;",
                "    cursor: pointer;",
                "    -moz-user-select: none;",
                "    -webkit-user-select: none;",
                "}",
                ".poster_share input,",
                ".poster_signature input {",
                "    cursor: pointer;",
                "    width: 18px !important;",
                "    height: 18px !important;",
                "    display: inline-block !important;",
                "    vertical-align: top !important;",
                "    margin-right: 4px;",
                "    margin-top: -1px;",
                "}",
                "/*编辑框底部面板*/",
                "",
                ".editor_bottom_panel {",
                "	width: 100% !important;",
                "	padding: 0 !important;",
                "	margin: 0 !important;",
                "	margin-top: 20px !important;",
                "}",
                ".poster_body .poster_submit {",
                "	height: 28px !important;",
                "	line-height: 28px !important;",
                "	padding: 0 10px !important;",
                "	box-sizing: content-box;",
                "}",
                ".poster-right-area {",
                "	width: 600px;",
                "	position: relative;",
                "}",
                ".poster_body .save-to-quick-reply-btn {",
                "	width: auto !important;",
                "	padding: 0 14px !important;",
                "	height: 28px !important;",
                "	line-height: 28px !important;",
                "}",
                ".poster_body .save-to-quick-reply-btn:before {",
                "	content: \"\\e149\";",
                "	font-size: 24px;",
                "	text-indent: -6px;",
                "	margin-right: 2px;",
                "}",
                ".save-to-quick-reply-btn * {",
                "	color: inherit !important;",
                "}",
                ".poster_draft_status {",
                "	position: absolute !important;",
                "	top: 0 !important;",
                "	right: 180px !important;",
                "}",
                ".j_floating > .poster_draft_status {",
                "	position: relative !important;",
                "	right: 5px !important;",
                "	top: -2px !important;",
                "}",
                "/*发帖成功提示*/",
                ".tb_poster_info {",
                "	position: absolute !important;",
                "	left: 50% !important;",
                "	top: 50% !important;",
                "	transform: translate(-50%,-50%) !important;",
                "	border: none !important;",
                "	background-color: #4879BD !important;",
                "	border-radius: 6px !important;",
                "	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2), 0 2px 16px 0 rgba(0, 0, 0, 0.2) !important;",
                "	color: #fff !important;",
                "	margin: 0 !important;",
                "	padding: 8px 20px !important;",
                "}",
                ".tb_poster_info *{",
                "	color: inherit !important;",
                "}",
                ".poster_success_content {",
                "	margin: 0 !important;",
                "	text-align: center;",
                "}",
                ".poster_success_content > * {",
                "	display: inline-block !important;",
                "	float: none !important;",
                "	vertical-align: top;",
                "}",
                ".post_success_exp {",
                "	width: 48px !important;",
                "}",
                "",
                "/*搜索栏*/",
                "",
                ".header_divider{",
                "	border: none;",
                "}",
                ".search_form form{",
                "	margin: 0;",
                "}",
                "",
                ".search_bright{",
                "	height: auto !important;",
                "	margin: 0 auto;",
                "	position: relative;",
                "	background: none !important;",
                "	padding-top: 20px !important;",
                "	margin-bottom: 20px !important;",
                "}",
                "",
                ".search_top,",
                ".search_main_wrap{",
                "	position: relative;",
                "	height: 30px !important;",
                "	width: 100% !important;",
                "	box-sizing: border-box;",
                "	padding-right: 14px !important;",
                "}",
                ".search_top{",
                "	display: flex;",
                "	position: absolute !important;",
                "	z-index: 1;",
                "	pointer-events: none;",
                "}",
                ".search_main,",
                ".search_form{",
                "	width: 100% !important;",
                "	padding: 0  !important;",
                "	background: none !important;",
                "	box-sizing: border-box;",
                "}",
                ".search_form {",
                "	display: flex;",
                "}",
                ".search_top:before,",
                ".search_logo,",
                "#search_logo_small {",
                "	position: static !important;",
                "	width: 60px !important;",
                "	height: 30px !important;",
                "	margin: 0 !important;",
                "	background: none !important;",
                "	font-size: 36px;",
                "	line-height:  28px;",
                "	text-align: center;",
                "	color: rgba(0,0,0,.2);",
                "	pointer-events: auto;",
                "}",
                ".search_top:hover:before",
                ".search_logo:hover,",
                "#search_logo_small:hover {",
                "	text-decoration: none;",
                "	color: rgba(0,0,0,.4);",
                "}",
                ".search_top:before,",
                ".search_logo:before,",
                "#search_logo_small:before {",
                "	content: \"\\e91d\";",
                "	font-family: \'Material Icons\';",
                "}",
                ".search_form #search_logo_small{",
                "	visibility: hidden;",
                "}",
                ".search_logo+#search_logo_small{",
                "	display: none  !important;",
                "}",
                ".search_main_fixed #search_logo_small{",
                "	font-size: 30px;",
                "	visibility: visible;",
                "}",
                "#tb_header_search_form{",
                "	display: flex;",
                "	flex: 1;",
                "}",
                "",
                ".search_ipt {",
                "	flex: 1;",
                "	font-family: inherit !important;",
                "	width: 0 !important;",
                "	margin: 0 !important;",
                "	padding: 0 10px !important;",
                "	box-sizing: border-box !important;",
                "	outline: none !important;",
                "	border: none !important;",
                "	font-size: 14px !important;",
                "	height: 30px !important;",
                "	border-bottom: 4px solid rgba(0, 0, 0, .04) !important;",
                "	background: rgba(0, 0, 0, .04) !important;",
                "	color: #999 !important;",
                "	transition-property: background, border-bottom;",
                "	transition-duration: .5s;",
                "	transition-timing-function: ease;",
                "}",
                ".search_ipt:focus {",
                "	color: #666 !important;",
                "}",
                ".search_btn_wrap{",
                "	display: block !important;",
                "	float: none !important;",
                "	margin:0 !important;",
                "	width: auto !important;",
                "	height: auto !important;",
                "	background: none !important;",
                "}",
                ".search_nav>a,",
                ".search_btn,",
                ".senior-search-link{",
                "	position: static !important;",
                "	margin: 0 !important;",
                "	display: block !important;",
                "	width: 100px !important;",
                "	height: 30px !important;",
                "	line-height: 30px !important;",
                "	font-size: 14px  !important;",
                "	text-align: center;",
                "	border-radius: 0;",
                "	 background: rgba(0, 0, 0, .08) !important;",
                "	border: none !important;",
                "	border-left: 2px solid rgba(0, 0, 0, .04) !important;",
                "	border-bottom: 4px solid rgba(0, 0, 0, .04) !important;",
                "	outline: none !important;",
                "	box-shadow: none !important;",
                "	box-sizing: border-box;",
                "	color: #999 !important;",
                "	font-family: inherit !important;",
                "	text-decoration: none !important;",
                "	transition-property: box-shadow, background, height, margin-top, color;",
                "	transition-duration: .4s;",
                "	transition-timing-function: ease;",
                "	font-weight: normal !important;",
                "}",
                ".search_nav>a:hover,",
                ".search_btn:hover,",
                ".senior-search-link:hover{",
                "	height: 32px !important;",
                "	margin-top: -2px !important;",
                "	color: #666!important;",
                "	background: rgba(0, 0, 0, .06) !important;",
                "}",
                ".search_nav>a:active,",
                ".search_btn:active,",
                ".senior-search-link:active{",
                "	height: 28px !important;",
                "	margin-top: 2px !important;",
                "	background: rgba(0, 0, 0, .1) !important;",
                "}",
                ".search_nav>a:first-of-type,",
                ".search_btn_enter_ba{",
                "	border-left: none !important;",
                "}",
                ".j_search_post {",
                "	margin-right: 0 !important;",
                "}",
                "#search_baidu_promote {",
                "	display: none;",
                "}",
                ".s_tools {",
                "	display: none !important;",
                "}",
                ".search_nav {",
                "	display: flex;",
                "	flex: 1;",
                "	padding: 20px 0 !important;",
                "	margin: -20px 0 !important;",
                "	height: inherit !important;",
                "	background: none !important;",
                "	opacity: 0;",
                "}",
                ".search_nav *{",
                "	display: none !important;",
                "}",
                ".search_nav>a{",
                "	flex: 1;",
                "}",
                ".search_logo:hover+.head_right_region .search_top,",
                ".search_top:hover .search_nav{",
                "	opacity: 1;",
                "	/*事件延迟,降低误操作率*/",
                "	animation-name: eventon_duration;",
                "	animation-duration: .8s;",
                "	animation-timing-function: linear;",
                "	animation-fill-mode: forwards;",
                "}",
                ".search_top:hover+.search_main_wrap{",
                "	opacity: 0;",
                "}",
                ".search_nav,",
                ".search_main_wrap{",
                "	transition-property: opacity;",
                "	transition-duration: .4s;",
                "	transition-timing-function: ease;",
                "}",
                "",
                ".search_main_fixed {",
                "	position: fixed;",
                "	padding: 8px 20px !important;",
                "	left: 0;",
                "	background-color: #fafafa !important;",
                "	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08) !important;",
                "}",
                ".search_main_fixed:before {",
                "	content: \"Design by Maverick\";",
                "	position: fixed;",
                "	display: block;",
                "	height: 39px;",
                "	width: 60px;",
                "	top: 46px;",
                "	right: 25px;",
                "	font-size: 0;",
                "	background: #fafafa;",
                "	border-radius: 0 0 40px 40px;",
                "	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.08) !important;",
                "}",
                ".search_main_fixed .search_btn_wrap+.search_btn_wrap{",
                "	margin-right: 16px !important;",
                "}",
                ".search_main_fixed .senior-search-link{",
                "	display: none !important;",
                "}",
                "/*搜索推荐浮层*/",
                "",
                ".suggestion {",
                "	margin: 0 !important;",
                "	margin-left: 1px !important;",
                "	margin-top: 2px !important;",
                "	padding-bottom: 10px;",
                "	border-radius: 0 0 4px 4px;",
                "	border: none !important;",
                "	box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.16);",
                "	display: block !important;",
                "	pointer-events: none;",
                "	opacity: 0;",
                "	min-height: 30px;",
                "	transform:translateY(-40px);",
                "	transition-property: opacity, transform;",
                "	transition-duration: .5s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                ".search_main:not(.search_main_fixed) .suggestion{",
                "	top: 28px !important;",
                "	left: 60px !important;",
                "}",
                ".suggestion:before {",
                "	content: \"输入你要搜索的贴吧,此处将为你提供候选结果\";",
                "	white-space: nowrap;",
                "	position: absolute;",
                "	left: 50%;",
                "	top: 50%;",
                "	transform: translate(-50%, -50%);",
                "	color: #bbb;",
                "	z-index: 0;",
                "}",
                ".suggestion[style*=\"block\"] {",
                "	opacity: 1;",
                "	transform:none;",
                "	pointer-events: auto;",
                "}",
                ".suggestion_list {",
                "	background: #fff;",
                "	z-index: 1;",
                "	position: relative;",
                "}",
                "/*用户面板*/",
                ".userbar {",
                "	overflow: visible !important;",
                "	position: fixed !important;",
                "	top: 20px !important;",
                "	right: 0 !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	padding-right: 10px !important;",
                "}",
                ".userba * {",
                "	backface-visibility: hidden;",
                "}",
                ".userbar>ul {",
                "	overflow: visible;",
                "	text-align: center;",
                "	margin-top: 10px;",
                "	margin-right: 20px;",
                "	perspective: 800px;",
                "}",
                ".userbar>ul>li {",
                "	height: 100%;",
                "	position: relative;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	margin-bottom: 10px !important;",
                "	opacity: 1;",
                "	transform-origin: 100% 50%;",
                "	transition-property: transform, opacity;",
                "	transition-duration: 1s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                ".userbar>ul>li,",
                ".userbar>ul>li * {",
                "	float: none !important;",
                "}",
                ".userbar>ul>li:hover~li {",
                "	transform: translateX(50px) rotateY(-90deg) translateZ(-60px);",
                "	opacity: 0;",
                "}",
                ".userbar>ul>li.u_wallet:hover~li,",
                ".userbar>ul>li.u_tbmall:hover~li,",
                ".userbar>ul>li.u_hermes:hover~li,",
                ".userbar>ul>li.u_login:hover~li,",
                ".userbar>ul>li.u_reg:hover~li {",
                "	opacity: 1;",
                "	transform: none;",
                "}",
                ".u_menu_item {",
                "	display: block;",
                "	margin: 0 auto !important;",
                "	padding: 0 !important;",
                "	position: relative !important;",
                "	height: 50px !important;",
                "	width: 50px !important;",
                "	border: none !important;",
                "	border-radius: 50%;",
                "	background: transparent;",
                "	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.08);",
                "	transition-property: box-shadow, color, background;",
                "	transition-duration: .5s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                ".u_menu_item.u_menu_hover,",
                ".u_menu_item:hover {",
                "	background: #fff;",
                "	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1), 0 2px 16px 0 rgba(0, 0, 0, 0.08);",
                "}",
                "body>.userbar>ul>li>a,",
                ".u_menu_wrap,",
                ".u_menu_item>a {",
                "	display: block;",
                "	border-radius: 50%;",
                "	height: 50px !important;",
                "	width: 50px !important;",
                "	background: #4879BD !important;",
                "	padding: 0 !important;",
                "	margin: 0 !important;",
                "	transition-property: background;",
                "	transition-duration: 1s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                "body>.userbar>ul>li>a,",
                ".u_hermes>.u_menu_item>a {",
                "	font-size: 14px;",
                "	line-height: 18px;",
                "	letter-spacing: 2px;",
                "	text-indent: 2px;",
                "	padding: 6px !important;",
                "	padding-top: 7px !important;",
                "	box-sizing: border-box;",
                "}",
                ".u_hermes a,",
                ".u_login a,",
                ".u_reg a {",
                "	color: #fff !important;",
                "	font-size: 16px !important;",
                "	line-height: 50px;",
                "	font-weight: bold;",
                "   text-decoration: none !important;",
                "}",
                "body>.userbar>ul>.u_hermes>a,",
                "body>.userbar>ul>.u_login>a,",
                "body>.userbar>ul>.u_reg>a {",
                "	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.08);",
                "}",
                "body>.userbar>ul>.u_login>a,",
                "body>.userbar>ul>.u_reg>a {",
                "	text-indent: 0;",
                "	letter-spacing: 0;",
                "	font-size: 16px;",
                "	line-height: 34px;",
                "	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.08);",
                "}",
                ".u_hermes a:hover,",
                ".u_login a:hover,",
                ".u_reg a:hover {",
                "	background: #4285F4 !important;",
                "}",
                ".u_menu_hover:after {",
                "	display: none !important;",
                "}",
                ".u_news_wrap span {",
                "	color: #fff !important;",
                "	display: block;",
                "	background: #4879BD !important;",
                "	line-height: 12px !important;",
                "	position: absolute !important;",
                "	padding: 2px 4px !important;",
                "	text-align: center !important;",
                "	top: auto !important;",
                "	bottom: -6px !important;",
                "	left: 50% !important;",
                "	transform: translateX(-50%);",
                "	font-size: 12px !important;",
                "	border-radius: 6px !important;",
                "	white-space: nowrap !important;",
                "	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.08), 0 2px 4px 0 rgba(0, 0, 0, 0.08);",
                "}",
                ".u_ddl {",
                "	position: absolute !important;",
                "	display: block !important;",
                "	top: 38px !important;",
                "	left: 50% !important;",
                "	transform: translateX(-50%);",
                "	right: auto !important;",
                "	overflow: visible !important;",
                "	pointer-events: none;",
                "	opacity: 0;",
                "	transition-property: opacity;",
                "	transition-duration: .5s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                ".u_menu_hover~.u_ddl,",
                "li:hover>.u_ddl {",
                "	pointer-events: auto;",
                "	opacity: 1;",
                "}",
                ".u_ddl_con {",
                "	position: relative !important;",
                "	border: none !important;",
                "	background: transparent !important;",
                "	padding-bottom: 10px;",
                "	overflow: visible !important;",
                "}",
                ".u_ddl_con_top {",
                "	background: transparent !important;",
                "}",
                ".u_ddl_tit {",
                "	background: transparent !important;",
                "}",
                ".u_ddl_con ul {",
                "	display: block;",
                "	overflow: visible;",
                "	padding: 10px !important;",
                "	padding-bottom: 0 !important;",
                "}",
                ".u_ddl_con ul.sys_notify_last {",
                "	padding-top: 0 !important;",
                "}",
                ".u_ddl_con li {",
                "	margin-top: 10px;",
                "	padding: 0 !important;",
                "	width: auto !important;",
                "	transform: translateX(-50px) rotateY(90deg) translateZ(-60px);",
                "	opacity: 0;",
                "	transform-origin: 100% 50%;",
                "	transition-property: transform, opacity;",
                "	transition-duration: 1s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                ".u_ddl_con li:nth-of-type(1) {",
                "	transition-delay: 0s;",
                "}",
                ".u_ddl_con li:nth-of-type(2) {",
                "	transition-delay: .05s;",
                "}",
                ".u_ddl_con li:nth-of-type(3) {",
                "	transition-delay: .1s;",
                "}",
                ".u_ddl_con li:nth-of-type(4) {",
                "	transition-delay: .15s;",
                "}",
                ".u_ddl_con li:nth-of-type(5) {",
                "	transition-delay: .2s;",
                "}",
                ".u_ddl_con li:nth-of-type(6) {",
                "	transition-delay: .25s;",
                "}",
                ".u_ddl_con li:nth-of-type(7) {",
                "	transition-delay: .3s;",
                "}",
                ".u_ddl_con li:nth-of-type(8) {",
                "	transition-delay: .35s;",
                "}",
                ".u_ddl_con li:nth-of-type(9) {",
                "	transition-delay: .4s;",
                "}",
                ".category_item_last {",
                "	transition-delay: .3s !important;",
                "}",
                ".u_menu_hover~.u_ddl .u_ddl_con li,",
                "li:hover>.u_ddl .u_ddl_con li {",
                "	opacity: 1;",
                "	transform: none;",
                "}",
                ".u_ddl_con li a {",
                "	color: #999 !important;",
                "	background: #fff !important;",
                "	display: inline-block;",
                "	width: 50px !important;",
                "	height: 50px !important;",
                "	font-size: 12.5px !important;",
                "	letter-spacing: 2px;",
                "	line-height: 19.5px !important;",
                "	padding: 5px !important;",
                "	padding-left: 6px !important;",
                "	padding-top: 6px !important;",
                "	margin: 0 !important;",
                "	border: 0 !important;",
                "	white-space: normal;",
                "	text-decoration: none;",
                "	border-radius: 50px;",
                "	box-sizing: border-box !important;",
                "	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.08);",
                "	transition-property: box-shadow, color, background;",
                "	transition-duration: .5s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "	font-family: inherit !important;",
                "}",
                ".sys_notify li a {",
                "	display: block !important;",
                "	left: 50% !important;",
                "	transform: translateX(-50%) !important;",
                "}",
                ".u_ddl_con li a:hover {",
                "	color: #fff !important;",
                "	background: #4285F4 !important;",
                "	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1), 0 2px 16px 0 rgba(0, 0, 0, 0.08);",
                "}",
                ".u_notity_bd .category_item .unread_num,",
                ".u_notity_bd .category_item .unread-num {",
                "	color: #aaa;",
                "	background: #fff;",
                "	display: block;",
                "	line-height: 12px;",
                "	font-size: 12px;",
                "	border-radius: 12px 0 0 12px;",
                "	padding: 2px 0;",
                "	padding-left: 6px;",
                "	padding-right: 4px;",
                "	position: absolute;",
                "	top: 50%;",
                "	left: 1px;",
                "	right: auto;",
                "	transform: translate(-100%, -50%);",
                "	margin: 0 !important;",
                "	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.08);",
                "}",
                ".sys_notify_last .unread-num,",
                ".sys_notify_last .unread_num {",
                "	left: 25px !important;",
                "}",
                ".u_ddl_con li a:hover .unread-num,",
                ".u_ddl_con li a:hover .unread_num {",
                "	color: #fff;",
                "	background: #4285F4;",
                "}",
                ".u_ddl_con li.u_logout a {",
                "	line-height: 36px !important;",
                "}",
                ".u_ddl_con li.u_logout a:hover {",
                "	background: #F44336 !important;",
                "}",
                ".u_ddl_con li a[data-type=\"atme\"],",
                ".u_ddl_con li a[data-type=\"friendapply\"],",
                ".u_ddl_con li a[data-type=\"fans\"] {",
                "	font-size: 0 !important;",
                "}",
                ".u_ddl_con li a[data-type]:before {",
                "	font-size: 12.5px;",
                "	letter-spacing: 2px;",
                "	text-indent: 2px;",
                "	line-height: 19.5px;",
                "	display: inline-block;",
                "}",
                ".u_ddl_con li a[data-type=\"atme\"]:before {",
                "	content: \"查看@我\";",
                "}",
                ".u_ddl_con li a[data-type=\"friendapply\"]:before {",
                "	content: \"新的好友\";",
                "}",
                ".u_ddl_con li a[data-type=\"fans\"]:before {",
                "	content: \"新的粉丝\";",
                "}",
                ".u_username_wrap >* {",
                "	float: none !important;",
                "}",
                ".u_username_avatar {",
                "	width: 50px !important;",
                "	height: 50px !important;",
                "	border-radius: 50% !important;",
                "	display: block !important;",
                "	margin: 0 !important;",
                "	z-index: 1;",
                "	position: relative;",
                "}",
                ".u_username_title,",
                ".u_menu_wrap:after {",
                "	-moz-osx-font-smoothing: grayscale;",
                "	-webkit-font-smoothing: antialiased;",
                "	z-index: 2;",
                "	line-height: 25px;",
                "	white-space: nowrap;",
                "	position: absolute !important;",
                "	left: 50%;",
                "	top: 50%;",
                "	transform: translate(-50%, -50%);",
                "	padding: 0 10px !important;",
                "	margin: 0 !important;",
                "	color: #fff;",
                "	background: rgba(0, 0, 0, .6) !important;",
                "	border-radius: 4px;",
                "	opacity: 0;",
                "	transition-property: opacity;",
                "	transition-duration: .5s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                ".u_username_title{",
                "	font-size: 12px !important;",
                "}",
                ".u_setting_wrap:after {",
                "	content: \"设置&服务\";",
                "}",
                ".u_wallet_wrap:after {",
                "	content: \"T豆账单\";",
                "}",
                ".u_news_wrap:after {",
                "	content: \"消息通知\";",
                "}",
                ".u_tbmall_wrap:after {",
                "	content: \"T豆商城\";",
                "}",
                ".u_username_title:after {",
                "	display: none !important;",
                "}",
                ".u_menu_hover .u_username_title,",
                ".u_menu_item:hover .u_username_title,",
                ".u_menu_hover .u_menu_wrap:after,",
                ".u_menu_item:hover .u_menu_wrap:after {",
                "	border: none !important;",
                "	opacity: 1;",
                "}",
                ".category_item {",
                "	border: none !important;",
                "}",
                ".u_ddl_con{",
                "	box-shadow: none !important;",
                "}",
                ".u_menu_item>a{",
                "	font-size: 0;",
                "}",
                ".userbar i,",
                ".u_ddl_arrow,",
                ".u_menu_item .i-arrow-down{",
                "	display: none !important;",
                "}",
                ".u_menu_item>a:before {",
                "	font-family: \'Material Icons\';",
                "	line-height: 1;",
                "	display: block;",
                "	color: #fff;",
                "	font-size: 30px;",
                "	position: absolute;",
                "	left: 50%;",
                "	top: 50%;",
                "	transform: translate(-50%, -50%);",
                "}",
                ".u_username_wrap:before {",
                "	content: \"\\e7fd\";",
                "	font-size: 36px;",
                "	margin-top: -2px;",
                "}",
                ".u_wallet_wrap:before {",
                "	content: \"\\e850\";",
                "	font-size: 28px;",
                "}",
                ".u_news_wrap:before {",
                "	content: \"\\e7f4\";",
                "	font-size: 32px;",
                "	margin-top: -2px;",
                "}",
                ".u_tbmall_wrap:before {",
                "	content: \"\\e8cc\";",
                "	font-size: 28px;",
                "}",
                ".u_app_wrap:before {",
                "	content: \"\\e324\";",
                "}",
                ".u_setting_wrap:before {",
                "	content: \"\\e8b8\";",
                "}",
                ".u_member_wrap:before{",
                "	content: \"\\e1ac\";",
                "}",
                ".ui_bubble_content {",
                "	position: absolute !important;",
                "	border: none !important;",
                "	left: 0 !important;",
                "	background: #4879BD !important;",
                "	border-radius: 6px !important;",
                "	padding: 5px !important;",
                "	padding-left: 7px !important;",
                "	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.08) !important;",
                "	color: #fff !important;",
                "	letter-spacing: 1px;",
                "}",
                ".ui_bubble_up {",
                "	transform: translate(-100%, -100%) !important;",
                "	top: 0 !important;",
                "}",
                ".ui_bubble_down {",
                "	transform: translate(-100%, 50%) !important;",
                "	bottom: 0 !important;",
                "}",
                ".ui_bubble_content * {",
                "	color: #fff !important;",
                "}",
                ".ui_triangle {",
                "	position: absolute !important;",
                "	left: 0 !important;",
                "	width: 0 !important;",
                "	height: 0 !important;",
                "	border-top: 6px solid transparent;",
                "	border-left: 8px solid #4879BD;",
                "	border-bottom: 6px solid transparent;",
                "}",
                ".ui_triangle_up {",
                "	transform: translateY(-100%);",
                "	margin-top: -10px !important;",
                "	bottom: 0 !important;",
                "}",
                ".ui_triangle_down {",
                "	transform: translateY(100%);",
                "	margin-top: 10px !important;",
                "	bottom: 0 !important;",
                "}",
                ".ui_bubble_wrap .close_msg_tip,",
                ".ui_bubble_closed {",
                "	background: none !important;",
                "}",
                ".ui_bubble_wrap .close_msg_tip:before,",
                ".ui_bubble_closed:before {",
                "	content: \"X\";",
                "	font-weight: bold;",
                "	display: block;",
                "	transform: translateY(-2px) scaleY(.8);",
                "}",
                "#com_userbar_message.ui_bubble_wrap {",
                "	z-index: 10004;",
                "	position: fixed !important;",
                "	width: 90px !important;",
                "	right: 0 !important;",
                "	top: 0 !important;",
                "}",
                "#com_userbar_message .ui_bubble_up {",
                "	top: 42px !important;",
                "	transform: translateX(-100%) !important;",
                "	background-color: #4879BD !important;",
                "}",
                "#com_userbar_message .ui_triangle_up {",
                "	top: 48px !important;",
                "	transform: none !important;",
                "	margin-top: 0 !important;",
                "}",
                "",
                "/*帖子内页*/",
                "",
                ".pb_content {",
                "	background: none !important;",
                "	border: 0 !important;",
                "	position: relative;",
                "	width: 100% !important;",
                "	display: flex;",
                "}",
                ".left_section {",
                "	flex: 1;",
                "	background: transparent !important;",
                "}",
                ".l_post_bright {",
                "	/*楼层*/",
                "	border: none !important;",
                "	border-bottom: 1px solid rgba(0,0,0,.1) !important;",
                "	background: transparent !important;",
                "	width: 100%!important;",
                "	position: relative;",
                "	box-sizing: border-box;",
                "	display: flex;",
                "	flex-wrap: wrap;",
                "",
                "}",
                ".l_post_bright.noborder_bottom,",
                ".l_post_bright:last-of-type{",
                "	border: none !important;",
                "}",
                ".d_author,",
                ".d_author_anonym {",
                "	/*楼层作者栏*/",
                "	width: 180px !important;",
                "	padding: 20px 0 !important;",
                "}",
                ".l_post_bright:before {",
                "	/*作者层背景*/",
                "	",
                "	content: \"Design by Maverick\";",
                "	font-size: 0;",
                "	display: block;",
                "	position: absolute;",
                "	height: 100%;",
                "	width: 180px;",
                "	background: rgba(0, 0, 0, .01);",
                "	border-right: 1px solid rgba(0,0,0,.1) !important;",
                "	box-sizing: border-box;",
                "}",
                "/*楼主标识*/",
                "",
                ".louzhubiaoshi_wrap {",
                "	border: none;",
                "	position: relative;",
                "}",
                ".louzhubiaoshi {",
                "	top: -6px !important;",
                "	right: 12px !important;",
                "	z-index: 1;",
                "	background: none !important;",
                "	width: 30px;",
                "	height: 30px;",
                "	line-height: 30px;",
                "}",
                ".louzhubiaoshi a {",
                "	width: 30px;",
                "	height: 30px;",
                "	line-height: 30px;",
                "	color: rgba(0, 0, 0, .3)",
                "}",
                ".louzhubiaoshi a:hover {",
                "	color: rgba(0, 0, 0, .4)",
                "}",
                ".louzhubiaoshi a:before {",
                "	content: \"\\e853\";",
                "	font-family: \'Material Icons\';",
                "	font-size: 28px;",
                "	display: inline-block;",
                "	vertical-align: top;",
                "}",
                ".louzhubiaoshi_wrap .ui_bubble_up {",
                "	margin-left: 38px;",
                "	transform: translate(0, -100%) translateY(-6px) !important;",
                "}",
                ".louzhubiaoshi_wrap .ui_triangle_up {",
                "	margin-left: 30px;",
                "	transform: scaleX(-1) translateY(-100%) translateY(-4px);",
                "}",
                "/*作者层头像域*/",
                "",
                ".p_author_face {",
                "	background: rgba(0, 0, 0, .04) !important;",
                "	border: none !important;",
                "	display: block;",
                "	height: 110px !important;",
                "	width: 110px !important;",
                "	padding: 4px !important;",
                "	transition-property: box-shadow;",
                "	transition-duration: .5s;",
                "	transition-timing-function: ease;",
                "}",
                ".p_author_face:hover {",
                "	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.08), 0 4px 4px 0 rgba(0, 0, 0, 0.08);",
                "}",
                ".p_author_face img {",
                "	width: 100%;",
                "	height: 100%;",
                "}",
                "/*作者层ID域*/",
                "",
                ".d_author .d_name {",
                "	font-size: 14px !important;",
                "}",
                "/*作者层印记域*/",
                "",
                ".d_author .d_pb_icons {",
                "	background: rgba(255, 255, 255, .2) !important;",
                "	border: 1px solid #eee !important;",
                "}",
                "/*作者层头衔域*/",
                "",
                ".d_badge_bright {",
                "	background: rgba(0, 0, 0, .04) !important;",
                "	border: none !important;",
                "	width: 100px !important;",
                "	height: 28px !important;",
                "	line-height: 28px !important;",
                "	border-radius: 14px;",
                "	color: #666;",
                "	transition-property: box-shadow;",
                "	transition-duration: .5s;",
                "	transition-timing-function: ease;",
                "}",
                ".d_badge_bright[class*=\"d_badge_bawu\"] {",
                "	background: #4879BD !important;",
                "	color: #fff !important;",
                "}",
                ".d_badge_bright:hover {",
                "	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.08), 0 4px 4px 0 rgba(0, 0, 0, 0.08);",
                "}",
                ".d_badge_bright:after {",
                "	content: \"\\e866\";",
                "	font-family: \'Material Icons\';",
                "	font-size: 36px;",
                "	line-height: 1;",
                "	position: absolute;",
                "	right: 6px;",
                "	top: -4px;",
                "	color: rgba(0, 0, 0, .2);",
                "}",
                ".d_badge_title {",
                "	line-height: inherit !important;",
                "	width: 70px !important;",
                "	color: inherit !important;",
                "}",
                ".d_badge_title_bawu {",
                "	text-indent: 8px;",
                "}",
                ".d_badge_bright .d_badge_lv {",
                "	position: absolute;",
                "	top: -2px !important;",
                "	left: auto !important;",
                "	right: 12.5px !important;",
                "	margin: 0 !important;",
                "	height: 100% !important;",
                "	line-height: inherit !important;",
                "	background: none !important;",
                "	color: #fff !important;",
                "	z-index: 1;",
                "	padding: 0;",
                "	text-align: center;",
                "	width: 24px;",
                "	text-indent: 0 !important;",
                "	font-family: inherit !important;",
                "}",
                ".d_author .d_pb_icons .icon_saparater {",
                "	background: none !important;",
                "}",
                ".d_post_content_main {",
                "	/*楼层右栏*/",
                "	flex: 1;",
                "	width: 0 !important;",
                "	padding: 0 !important;",
                "	background: transparent !important;",
                "	box-sizing: border-box;",
                "}",
                "/*楼层内容域*/",
                "",
                ".p_content {",
                "	padding: 20px !important;",
                "}",
                ".core_reply {",
                "	/*楼层下方框架*/",
                "	",
                "	margin-right: 0 !important;",
                "}",
                ".core_reply:after {",
                "	content: \"\";",
                "	display: table;",
                "	clear: both;",
                "}",
                ".replace_tip{",
                "	text-align: center;",
                "	background-color: rgba(0,0,0,.6) !important;",
                "	border: none !important;",
                "	padding: 0 1px !important;",
                "	padding-top: 7px !important;",
                "	color: #fff;",
                "	text-decoration: none !important;",
                "	opacity: 1 !important;",
                "	transition: background .4s ease;",
                "}",
                ".replace_tip:hover{",
                "	background-color: rgba(0,0,0,.4) !important;",
                "}",
                ".replace_tip:before{",
                "	content: \"\\e5cf\";",
                "	font-family: \'Material Icons\';",
                "	display: inline-block;",
                "	vertical-align: top;",
                "	font-size: 28px;",
                "}",
                ".replace_tip .txt {",
                "	font-size: inherit;",
                "	padding: 0;",
                "	color: inherit;",
                "}",
                ".replace_tip .expand,",
                ".replace_tip .icon-expand{",
                "	display:none !important;",
                "}",
                ".forbid-speech-banner{",
                "	/*禁言tip*/",
                "	border-top: 1px solid rgba(0, 0, 0, .04) !important;",
                "	width: 100% !important;",
                "	box-sizing: border-box;",
                "	padding: 8px 12px 8px 2px !important;",
                "	margin: 0 !important;",
                "}",
                "/*楼层信息域*/",
                "",
                ".core_reply_tail {",
                "	width: 100% !important;",
                "	margin-right: 0 !important;",
                "	position: relative !important;",
                "	margin: 10px 0 !important;",
                "	color: #bbb !important;",
                "	float: right;",
                "	box-sizing: border-box;",
                "}",
                "",
                "",
                ".post-tail-wrap {",
                "	position: static !important;",
                "}",
                ".core_reply_tail > *,",
                ".core_reply_tail > * > * {",
                "	float: left !important;",
                "}",
                ".post-tail-wrap > *,",
                ".p_mtail > * {",
                "	float: right !important;",
                "}",
                ".core_reply_tail > *:not(.p_reply) {",
                "	/*楼层信息*/",
                "	",
                "	display: block;",
                "	background: rgba(0, 0, 0, .04);",
                "	padding: 0 !important;",
                "	height: 28px;",
                "	line-height: 28px;",
                "	margin: 0 !important;",
                "	font-size: 14px;",
                "}",
                ".core_reply_tail * {",
                "	color: inherit !important;",
                "}",
                ".core_reply_tail a[href]:hover:not(.tail-info),",
                ".p_reply:hover {",
                "	color: #999 !important;",
                "}",
                ".post-tail-wrap {",
                "	/*消灭分割线*/",
                "	",
                "	font-size: 0 !important;",
                "}",
                ".post-tail-wrap > * {",
                "	font-size: 14px !important;",
                "}",
                ".p_mtail > li {",
                "	font-size: 0 !important;",
                "}",
                ".p_mtail > li >* {",
                "	font-size: 14px !important;",
                "}",
                ".core_reply_tail a {",
                "	color: inherit !important;",
                "}",
                ".core_reply_tail > .props_appraise_wrap {",
                "	/*楼层信息右侧圆角*/",
                "	padding-top: 5px !important;",
                "	padding-right: 16px !important;",
                "	box-sizing: border-box;",
                "	width: auto;",
                "	min-width: 16px;",
                "	border-radius: 0 16px 16px 0;",
                "}",
                ".j_jb_ele {",
                "	/*举报*/",
                "	",
                "	font-size: 0 !important;",
                "	position: relative;",
                "	width: 20px;",
                "}",
                ".j_jb_ele:only-child {",
                "	margin: 0 !important;",
                "}",
                ".j_jb_ele .pb_list_triangle_down {",
                "	display: none !important;",
                "}",
                ".j_jb_ele > a {",
                "	font-size: 0 !important;",
                "	background: none !important;",
                "}",
                ".lzl_jb {",
                "	display: inline-block !important;",
                "	font-size: 0 !important;",
                "	position: relative;",
                "	width: 22px;",
                "	height: 22px;",
                "	vertical-align: top;",
                "	margin-right: 4px;",
                "	opacity: .6;",
                "	pointer-events: auto;",
                "	transition-property: opacity;",
                "	transition-duration: .4s;",
                "	transition-timing-function: ease;",
                "}",
                ".lzl_jb[style*=\"none\"] {",
                "	opacity: 0;",
                "	pointer-events: none;",
                "}",
                ".lzl_jb_in:before,",
                ".j_jb_ele > a:before {",
                "	content: \"\\e160\";",
                "	font-family: \'Material Icons\';",
                "	line-height: 1;",
                "	display: block;",
                "	font-size: 20px;",
                "	position: absolute;",
                "	left: 50%;",
                "	top: 50%;",
                "	transform: translate(-50%, -50%);",
                "}",
                "/*删除*/",
                ".lzl_jb_in[data-field*=\"\'delete_mine\':\'1\'\"]:before,",
                ".j_jb_ele > a[data-field*=\"\'delete_mine\':\'1\'\"]:before{",
                "	content: \"\\e872\";",
                "}",
                ".lzl_jb_in[data-field*=\"\'delete_mine\':\'1\'\"]:hover:before,",
                ".j_jb_ele > a[data-field*=\"\'delete_mine\':\'1\'\"]:hover:before{",
                "	color: #F44336 !important;",
                "}",
                ".super_jubao {",
                "	display: block !important;",
                "	position: absolute;",
                "	left: 50% !important;",
                "	transform: translateX(-50%);",
                "	background: #fff;",
                "	border: 1px solid #e5e5e5;",
                "	text-align: center;",
                "	padding: 2px 5px;",
                "	width: 90px;",
                "	top: 28px;",
                "	z-index: 50002;",
                "	font-size: 12px;",
                "	line-height: 28px;",
                "	opacity: 0;",
                "	pointer-events: none;",
                "	transition-property: opacity;",
                "	transition-duration: .5s;",
                "	transition-timing-function: ease;",
                "}",
                ".j_jb_ele:hover .super_jubao {",
                "	opacity: 1;",
                "	pointer-events: auto;",
                "}",
                "/*删除*/",
                "",
                ".p_post_del_my,",
                ".p_post_del,",
                ".p_post_ban {",
                "	display: inline-block;",
                "	padding: 0 4px;",
                "	text-indent: -1px;",
                "	transition-property: color, text-shadow;",
                "	transition-duration: .4s;",
                "	transition-timing-function: ease;",
                "}",
                ".p_post_del_my:hover,",
                ".core_reply_tail a.p_post_del[href]:hover,",
                ".core_reply_tail a.p_post_ban[href]:hover {",
                "	color: #F44336 !important;",
                "	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);",
                "}",
                ".p_post_del_my:before,",
                ".p_post_del:before,",
                ".p_post_ban:before {",
                "	font-family: \'Material Icons\';",
                "	display: inline-block;",
                "	font-size: 20px;",
                "	vertical-align: top;",
                "}",
                ".p_post_del_my:before,",
                ".p_post_del:before {",
                "	content: \"\\e872\";",
                "}",
                ".p_post_ban:before {",
                "	content: \"\\e14b\";",
                "	font-size: 18px;",
                "	margin-right: 1px;",
                "}",
                "/*点赞*/",
                ".core_reply_tail .common_complient_container {",
                "	border-radius: 14px;",
                "	width: auto !important;",
                "	margin-left: 2px !important;",
                "}",
                ".complient_number{",
                "	display: inline-block;",
                "	width: auto !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	padding-left: 10px !important;",
                "	height: 28px !important;",
                "}",
                ".common_complient_container .showContent{",
                "	top: 0 !important;",
                "}",
                ".total_count_number{",
                "	display: inline-block !important;",
                "	height: 28px !important;",
                "	line-height: 28px !important;",
                "	margin:0 2px !important;",
                "}",
                ".total_count_number.hideContent{",
                "	display: none !important;",
                "}",
                ".not_complient_thread,",
                ".complient_thread{",
                "	display: inline-block;",
                "	height: 28px !important;",
                "	margin: 0 4px !important;",
                "	margin-right: 10px !important;",
                "	top: 0 !important;",
                "	background-position: 0 2px  !important;",
                "}",
                ".post-tail-wrap > span.tail-info:nth-last-of-type(2),",
                ".p_tail > li:nth-last-of-type(2)>span {",
                "	/*楼层数标识*/",
                "	",
                "	position: absolute;",
                "	top: 0;",
                "	right: 0;",
                "	display: block;",
                "	background: rgba(0, 0, 0, .04);",
                "	border-radius: 16px 0 0 16px;",
                "	padding: 0 !important;",
                "	padding-left: 10px !important;",
                "	padding-right: 30px !important;",
                "	font-size: 14px;",
                "	height: 28px;",
                "	line-height: 28px;",
                "	margin: 0 !important;",
                "}",
                ".d_post_content_firstfloor .post-tail-wrap > span.tail-info:nth-last-of-type(2),",
                ".d_post_content_firstfloor .p_tail > li:nth-last-of-type(2)>span {",
                "	/*1楼标识*/",
                "	",
                "	padding-right: 6px !important;",
                "}",
                ".p_reply {",
                "	/*回复按钮*/",
                "	",
                "	position: absolute;",
                "	top: 0;",
                "	right: 0;",
                "	display: inline-block;",
                "	background: transparent !important;",
                "	margin: 0 !important;",
                "	z-index: 1;",
                "	transition-property: color;",
                "	transition-duration: .2s;",
                "	transition-timing-function: ease;",
                "}",
                ".p_reply > * {",
                "	border: 0 !important;",
                "	display: block !important;",
                "	background: transparent !important;",
                "	color: inherit !important;",
                "	border-radius: 0 !important;",
                "	padding: 0 !important;",
                "	font-size: 0 !important;",
                "	height: 28px !important;",
                "	line-height: 28px !important;",
                "	margin: 0 !important;",
                "	width: 30px;",
                "}",
                ".p_reply > *:before {",
                "	font-family: \'Material Icons\';",
                "	display: block !important;",
                "	font-size: 20px;",
                "	position: absolute !important;",
                "	left: 50%;",
                "	top: 50%;",
                "	transform: translate(-50%, -50%);",
                "}",
                ".p_reply .lzl_link_fold {",
                "	padding: 0 !important;",
                "}",
                ".lzl_link_unfold:before {",
                "	content: \"\\e0bf\";",
                "}",
                ".lzl_link_fold:before {",
                "	content: \"\\e318\";",
                "	font-size: 24px;",
                "}",
                ".p_reply[data-field*=\'\"total_num\":null\'] .lzl_link_unfold:before,",
                ".p_reply[data-field*=\"\'total_num\':\'0\'\"] .lzl_link_unfold:before {",
                "	content: \"\\e0ca\";",
                "}",
                ".p_reply > *[style*=\"none\"] {",
                "	display: none !important;",
                "}",
                ".p_reply > *[style*=\"inline-block\"],",
                ".p_reply > *[style*=\"inline\"] {",
                "	display: block !important;",
                "}",
                ".l_post_bright .core_reply_wrapper {",
                "	/*楼中楼框架*/",
                "	border: 0 !important;",
                "	margin: 0 !important;",
                "	background: rgba(0, 0, 0, .02) !important;",
                "	border-top: 1px solid rgba(0, 0, 0, .04) !important;",
                "	margin-top: 0 !important;",
                "	width: 100% !important;",
                "	box-sizing: border-box;",
                "	float: right;",
                "	position: relative;",
                "}",
                ".core_reply_wrapper .loading_reply {",
                "	margin: 0 !important;",
                "	border-radius: 50%;",
                "	-webkit-filter: grayscale(1);",
                "	position: absolute;",
                "	left: 50%;",
                "	top: 50%;",
                "	transform: translate(-50%,-50%);",
                "}",
                ".core_reply_border_top {",
                "	/*楼中楼框架顶描边*/",
                "	",
                "	display: none !important;",
                "}",
                ".core_reply_content {",
                "	/*楼中楼内容框架*/",
                "	",
                "	border: none !important;",
                "}",
                ".core_reply_border_bottom{",
                "	display: none !important;",
                "}",
                ".core_reply_content li {",
                "	border-top: 1px solid rgba(0, 0, 0, .04);",
                "}",
                ".lzl_content_reply {",
                "	color: #666 !important;",
                "}",
                ".lzl_content_reply a {",
                "	color: inherit !important;",
                "}",
                ".lzl_li_pager_s {",
                "	color: #666 !important;",
                "}",
                ".interview .threadListGroupCnt .uIconCnt,",
                ".lzl_p_p {",
                "	border: none !important;",
                "	padding: 2px;",
                "	background: rgba(0, 0, 0, .04) !important;",
                "}",
                "/*楼中楼MORE*/",
                "",
                ".lzl_more {",
                "	display: inline-block;",
                "	height: 30px !important;",
                "	line-height: 30px !important;",
                "	padding: 0 8px !important;",
                "	padding-right: 0 !important;",
                "	background: rgba(0, 0, 0, .04) !important;",
                "	color: inherit !important;",
                "	font-size: 14px;",
                "	border-radius: 2px;",
                "}",
                ".lzl_more .j_lzl_m {",
                "	display: inline-block;",
                "	padding: 0 6px;",
                "	color: inherit !important;",
                "	border-radius: 0 2px 2px 0;",
                "	margin-left: -4px;",
                "	text-indent: 6px;",
                "	transition-property: background, color;",
                "	transition-duration: .2s;",
                "	transition-timing-function: ease;",
                "}",
                ".lzl_more .j_lzl_m:after {",
                "	content: \"\\e5d3\";",
                "	font-size: 30px;",
                "	font-family: \'Material Icons\';",
                "	display: inline-block;",
                "	vertical-align: top;",
                "	text-indent: 0;",
                "}",
                ".lzl_li_pager_s>.btn-sub {",
                "	/*我也说一句按钮*/",
                "	",
                "	font-size: 0 !important;",
                "	height: 30px !important;",
                "	line-height: 30px !important;",
                "	padding: 0 8px !important;",
                "	background: rgba(0, 0, 0, .04) !important;",
                "	color: inherit !important;",
                "	border: none !important;",
                "	transition-property: background, color;",
                "	transition-duration: .2s;",
                "	transition-timing-function: ease;",
                "}",
                ".lzl_more .j_lzl_m:hover,",
                ".lzl_li_pager_s>.btn-sub:hover {",
                "	color: #fff !important;",
                "	background: rgba(0, 0, 0, .3) !important;",
                "}",
                ".lzl_li_pager_s .icon-reply {",
                "	display: none !important;",
                "}",
                ".lzl_li_pager_s>.btn-sub:before {",
                "	content: \"\\e15e\";",
                "	font-size: 24px;",
                "	font-family: \'Material Icons\';",
                "	display: inline-block;",
                "	vertical-align: top;",
                "	margin-top: -1px;",
                "	text-indent: -2px;",
                "}",
                ".lzl_li_pager_s>.btn-sub:after {",
                "	content: \"回复层主\";",
                "	font-size: 14px;",
                "}",
                "/*楼中楼输入框框架*/",
                "",
                ".edui-container {",
                "	width: 100% !important;",
                "}",
                ".edui-editor-body {",
                "	height: auto !important;",
                "	border: 0 !important;",
                "	background: transparent !important;",
                "}",
                ".lzl_simple_wrapper,",
                ".edui-body-container {",
                "	/*输入框*/",
                "	position: relative !important;",
                "	min-height: 60px !important;",
                "	width: 100% !important;",
                "	box-sizing: border-box;",
                "	padding: 0 10px !important;",
                "	resize: vertical;",
                "	outline: none !important;",
                "	border: none !important;",
                "	background: rgba(0, 0, 0, 0.04) !important;",
                "	border-bottom: 4px solid rgba(0, 0, 0, .04) !important;",
                "	transition-property: background, border-bottom;",
                "	transition-duration: .5s;",
                "	transition-timing-function: ease;",
                "}",
                ".lzl_simple_wrapper p{",
                "	margin: 0 !important;",
                "	width: auto !important;",
                "	display: inline-block;",
                "	position: absolute;",
                "	left: 50%;",
                "	top: 50%;",
                "	transform: translate(-50%,-50%);",
                "	color: #999;",
                "}",
                ".ueg_pmc-link{",
                "	display: inline-block;",
                "	padding: 0 4px;",
                "	background: rgba(0,0,0,.1);",
                "	border-radius: 4px;",
                "	margin-left: 2px;",
                "	color: #666;",
                "	transition-property: color,background;",
                "	transition-duration: .4s;",
                "	transition-timing-function: ease;",
                "}",
                ".ueg_pmc-link:hover{",
                "	background: rgba(0,0,0,.26);",
                "	color:#fff;",
                "}",
                ".edui-body-container:before {",
                "	content: \"Design by Maverick\";",
                "	font-size: 0;",
                "	position: absolute;",
                "	bottom: 0;",
                "	right: 0;",
                "	width: 10px;",
                "	height: 10px;",
                "	cursor: ns-resize;",
                "}",
                ".edui-body-container:focus {",
                "	background: rgba(0, 0, 0, 0.02) !important;",
                "	border-bottom: 4px solid #4879BD !important;",
                "}",
                ".lzl_editor_container .lzl_panel_wrapper {",
                "	/*楼中楼控件域*/",
                "	",
                "	width: 100% !important;",
                "}",
                "/*发表按钮*/",
                "#voteFlashPanel .vote_buttons button,",
                ".lzl_panel_submit,",
                ".lzl_panel_submit_disabled,",
                ".poster_submit,",
                ".qp_submit,",
                ".save-to-quick-reply-btn {",
                "	background: none !important;",
                "	background-color: #4879BD !important;",
                "	color: #fff !important;",
                "	width: 60px;",
                "	height: 26px !important;",
                "	line-height: 26px !important;",
                "	border: none !important;",
                "	border-radius: 13px;",
                "	padding: 0 4px !important;",
                "	text-indent: 3px;",
                "	text-align: center;",
                "	transition-property: background, box-shadow;",
                "	transition-duration: .4s;",
                "	transition-timing-function: ease;",
                "}",
                ".lzl_panel_submit_disabled{",
                "	background-color: rgba(0,0,0,.4) !important;",
                "}",
                ".lzl_panel_submit_disabled:before{",
                "	content:\"发表\";",
                "}",
                ".lzl_panel_submit:after,",
                ".lzl_panel_submit_disabled:after,",
                ".poster_submit:after,",
                ".qp_submit:after,",
                ".save-to-quick-reply-btn:before {",
                "	content: \"\\e163\";",
                "	font-family: \'Material Icons\';",
                "	font-size: 18px;",
                "	display: inline-block;",
                "	vertical-align: top;",
                "	margin-left: 2px;",
                "	margin-top: -1px;",
                "	text-indent: 2px;",
                "}",
                "#voteFlashPanel .vote_buttons button:hover,",
                ".lzl_panel_submit:hover,",
                ".poster_submit:hover,",
                ".qp_submit:hover,",
                ".save-to-quick-reply-btn:hover {",
                "	background-color: #4285F4 !important;",
                "	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 1px 6px 0 rgba(0, 0, 0, 0.08);",
                "}",
                ".lzl_panel_smile {",
                "	width: auto !important;",
                "}",
                "/*表情选择按钮*/",
                "",
                ".lzl_insertsmiley_holder,",
                ".qp_insertsmiley_holder,",
                ".interview .qp_interview_insertsmiley {",
                "	background: none !important;",
                "	height: 26px;",
                "	line-height: 26px;",
                "	color: #4879BD !important;",
                "	width: 30px;",
                "	text-align: center;",
                "	margin: 0 !important;",
                "	transition-property: color, text-shadow;",
                "	transition-duration: .4s;",
                "	transition-timing-function: ease;",
                "	cursor: pointer;",
                "}",
                ".lzl_insertsmiley_holder:hover,",
                ".qp_insertsmiley_holder:hover {",
                "	color: #4285F4 !important;",
                "	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);",
                "}",
                ".interview .threadListGroupCnt .mini .placeholder:before,",
                ".lzl_insertsmiley_holder:before,",
                ".qp_insertsmiley_holder:before {",
                "	content: \"\\e24e\";",
                "	font-family: \'Material Icons\';",
                "	line-height: inherit;",
                "	font-size: 24px;",
                "	display: inline-block;",
                "	vertical-align: top;",
                "	margin-left: 2px;",
                "	margin-top: -1px;",
                "	text-indent: 2px;",
                "}",
                "/*楼中楼表情选框*/",
                "",
                ".lzl_edui_dialog_container {",
                "	left: -390px !important;",
                "	top: 34px !important;",
                "}",
                ".emotion_container .s_tab_content .selected .s_tab_btnbg {",
                "	background: none !important;",
                "	background-color: #4879BD !important;",
                "}",
                ".d_sign_split {",
                "	/*签名档分割线*/",
                "	",
                "	height: 0 !important;",
                "	padding: 0 !important;",
                "	margin: 0 !important;",
                "	width: 100% !important;",
                "	border: none !important;",
                "	border-bottom: 1px solid rgba(0, 0, 0, .08) !important;",
                "}",
                ".j_user_sign{",
                "	/*签名档*/",
                "	margin: 10px !important;",
                "}",
                ".sofa_post {",
                "	/*沙发层*/",
                "	display: flex;",
                "	background: transparent !important;",
                "	width: 100%;",
                "}",
                ".sofa_content {",
                "	background: transparent !important;",
                "}",
                ".sofa_content .core_reply_tail {",
                "	position: static !important;",
                "}",
                ".sofa_content .p_tail {",
                "	background: none !important;",
                "}",
                ".sofa_content .p_tail > li:nth-last-of-type(1)>span {",
                "	position: absolute;",
                "	left: 0;",
                "	display: block;",
                "	background: rgba(0, 0, 0, .04);",
                "	color: inherit !important;",
                "	border-radius: 0 16px 16px 0;",
                "	padding: 0 !important;",
                "	padding-left: 6px !important;",
                "	padding-right: 16px !important;",
                "	font-size: 14px;",
                "	height: 28px;",
                "	line-height: 28px;",
                "	margin: 0 !important;",
                "}",
                ".sofa_content .p_tail > li:nth-last-of-type(2)>span {",
                "	top: auto !important;",
                "}",
                ".core_title_wrap_bright {",
                "	/*帖子标题*/",
                "	",
                "	top: 0 !important;",
                "	border: none !important;",
                "	overflow: visible !important;",
                "	width: 100% !important;",
                "	background: none;",
                "	border-bottom: 1px solid rgba(0,0,0,.1) !important;",
                "}",
                "/*挽尊*/",
                "",
                ".save_face_bg {",
                "	opacity: 0;",
                "	top: -1px;",
                "	right: 23px;",
                "	transition-property: opacity;",
                "	transition-duration: .5s;",
                "	transition-timing-function: ease;",
                "}",
                ".l_post_bright:hover .save_face_bg {",
                "	opacity: 1;",
                "}",
                "/*隐藏用户*/",
                "",
                ".user-hide-post-down,",
                ".user-hide-post-up {",
                "	display: block !important;",
                "	right: 2px !important;",
                "	top: 2px !important;",
                "	background: none !important;",
                "	width: auto !important;",
                "	height: auto !important;",
                "	color: #bbb !important;",
                "	font-size: 20px;",
                "	cursor: pointer;",
                "	transition-property: color,opacity;",
                "	transition-duration: .5s;",
                "	transition-timing-function: ease;",
                "}",
                ".user-hide-post-down[style*=\"none\"] {",
                "	opacity: 0;",
                "	pointer-events: none;",
                "}",
                ".user-hide-post-down:hover,",
                ".user-hide-post-up:hover {",
                "	color: #999 !important;",
                "}",
                ".user-hide-post-down:before,",
                ".user-hide-post-up:before {",
                "	font-family: \'Material Icons\';",
                "	display: inline-block;",
                "	vertical-align: top;",
                "}",
                ".user-hide-post-down:before {",
                "	content: \"\\e15c\";",
                "}",
                ".user-hide-post-up:before {",
                "	content: \"\\e409\";",
                "	transform: scale(1.5);",
                "}",
                ".user-hide-post-action {",
                "	right: 26px !important;",
                "	top: 1px !important;",
                "	border-radius: 6px;",
                "	overflow: hidden;",
                "	-moz-user-select: none;",
                "	-webkit-user-select: none;",
                "}",
                ".user-hide-post-action a {",
                "	padding: 2px 8px !important;",
                "	transition-property: color, background;",
                "	transition-duration: .4s;",
                "	transition-timing-function: ease;",
                "}",
                ".user-hide-post-action a:hover {",
                "	color: #fff !important;",
                "	background: #aaa !important;",
                "}",
                ".core_reply_wrapper .user-hide-post-down,",
                ".core_reply_wrapper .user-hide-post-up {",
                "	right: -8px !important;",
                "	top: 0 !important;",
                "	font-size: 18px;",
                "}",
                ".core_reply_wrapper .user-hide-post-action {",
                "	right: 14px !important;",
                "	top: -2px !important;",
                "}",
                ".pb_list_pager,",
                ".l_reply_num {",
                "	height: 25px !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	display: block;",
                "	position: relative;",
                "	color: inherit !important;",
                "}",
                ".l_reply_num {",
                "	padding: 0 20px !important;",
                "	font-size: 0 !important;",
                "}",
                ".l_reply_num>span {",
                "	display: block;",
                "	font-size: 12px !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	color: inherit !important;",
                "	line-height: 18px;",
                "	float: left;",
                "	margin-top: 13px !important;",
                "}",
                ".l_reply_num>span:nth-of-type(1):before {",
                "	content: \"回复:\";",
                "}",
                ".l_reply_num>span:nth-of-type(2):before {",
                "	margin-left: 12px;",
                "	content: \"页数:\";",
                "}",
                ".p_thread {",
                "	border: none !important;",
                "	width: 100% !important;",
                "	position: relative;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	-moz-user-select: none;",
                "	-webkit-user-select: none;",
                "	height: 45px !important;",
                "	background: rgba(0,0,0,.02) !important;",
                "	border-bottom: 1px solid rgba(0,0,0,.1) !important;",
                "	color: #666;",
                "}",
                ".p_thread.thread_theme_7 {",
                "	border-top: 1px solid rgba(0,0,0,.1) !important;",
                "}",
                ".l_thread_info {",
                "	height: 100% !important;",
                "	width: 100% !important;",
                "	margin: 0 !important;",
                "	display: flex;",
                "	position: absolute;",
                "}",
                ".l_thread_info > * {",
                "	float: left !important;",
                "}",
                ".l_posts_num {",
                "	height: 100% !important;",
                "	float: left;",
                "	line-height: 1 !important;",
                "	white-space: nowrap;",
                "	font-size: 0;",
                "	flex: 1",
                "}",
                ".l_posts_num li {",
                "	height: 100% !important;",
                "	display: inline-block !important;",
                "	vertical-align: top;",
                "	margin: 0 !important;",
                "	box-sizing: border-box;",
                "}",
                ".l_posts_num > li:empty,",
                ".thread_theme_bright_absolute .l_posts_num > li:empty {",
                "	display: none !important;",
                "}",
                "#tofrs_up {",
                "	display: none !important;",
                "}",
                ".pb_list_pager {",
                "	padding-top: 10px !important;",
                "	padding-left: 20px !important;",
                "}",
                ".itb_pager >*,",
                ".pagination-default >*,",
                ".pager >*,",
                ".j_pager >*,",
                ".pb_list_pager >* {",
                "	float: none !important;",
                "	display: inline-block !important;",
                "	text-align: center;",
                "	min-width: 13px !important;",
                "	line-height: 25px !important;",
                "	height: 25px !important;",
                "	padding: 0 10px !important;",
                "	margin: 0 !important;",
                "	border: none !important;",
                "	overflow: visible !important;",
                "	color: inherit !important;",
                "	background: rgba(0, 0, 0, .05) !important;",
                "	border-radius: 12.5px !important;",
                "	transition-property: background;",
                "	transition-duration: .5s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                ".pagination-default >.pagination-current,",
                ".pager > .cur,",
                ".j_pager > .tP,",
                ".pb_list_pager > .tP {",
                "	color: #fff !important;",
                "	background: rgba(0, 0, 0, .3) !important;",
                "	width: auto !important;",
                "}",
                ".itb_pager >a:hover,",
                ".pagination-default >a:hover,",
                ".pager >a:hover,",
                ".j_pager >a:hover,",
                ".pb_list_pager >a:hover {",
                "	background: rgba(0, 0, 0, .1) !important;",
                "}",
                ".p_thread input {",
                "	position: relative;",
                "	width: 80px !important;",
                "	height: 30px !important;",
                "	background: rgba(0, 0, 0, 0.04);",
                "	outline: none !important;",
                "	border: none !important;",
                "	margin: 0 !important;",
                "	padding: 0 4px !important;",
                "	margin-top: 7px !important;",
                "	border-bottom: 4px solid rgba(0, 0, 0, .04) !important;",
                "	box-sizing: border-box;",
                "	color: transparent !important;",
                "	font-size: 18px !important;",
                "	line-height: 26px !important;",
                "	padding-top: 4px !important;",
                "	text-align: center;",
                "	transition-property: transform, box-shadow, background;",
                "	transition-duration: .5s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                ".p_thread input::-webkit-inner-spin-button {",
                "	-webkit-appearance: none;",
                "}",
                ".p_thread input::-webkit-outer-spin-button {",
                "	-webkit-appearance: none;",
                "}",
                ".p_thread input~button {",
                "	display: block;",
                "	position: absolute;",
                "	width: 80px;",
                "	padding: 0 !important;",
                "	margin: 0 !important;",
                "	top: 7px;",
                "	height: 30px;",
                "	border: 0;",
                "	outline: none;",
                "	background: transparent !important;",
                "	font-size: 0;",
                "	pointer-events: none;",
                "	animation-name: eventoff_duration;",
                "	animation-duration: .5s;",
                "	animation-timing-function: linear;",
                "	animation-fill-mode: forwards;",
                "	transition-property: transform;",
                "	transition-duration: .5s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                "",
                ".p_thread input~button:after {",
                "	content: \"\";",
                "	position: absolute;",
                "	font-size: 16px;",
                "	left: 8px;",
                "	top: 0;",
                "	line-height: 28px;",
                "	color: rgba(0, 0, 0, 0.5);",
                "}",
                ".p_thread input[id^=\"jumpPage\"]~button:after {",
                "	content: \"跳转到页\";",
                "}",
                ".p_thread input[name=\"elevatorFloor\"]~button:after {",
                "	content: \"跳转到楼\";",
                "}",
                ".p_thread input[id^=\"jumpPage\"]:focus~button:after {",
                "	content: \"页\";",
                "}",
                ".p_thread input[name=\"elevatorFloor\"]:focus~button:after {",
                "	content: \"楼\";",
                "}",
                ".p_thread input:focus {",
                "	background: #4879BD !important;",
                "	color: #fff !important;",
                "	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2), 0 2px 12px 0 rgba(0, 0, 0, 0.1);",
                "	transform: scale(1.5);",
                "	z-index: 9999;",
                "}",
                ".p_thread input:focus~button {",
                "	animation: none !important;",
                "	pointer-events: auto !important;",
                "	transform: scale(1.5);",
                "	z-index: 9999;",
                "}",
                ".p_thread input:focus~button:before,",
                ".p_thread input:focus~button:after {",
                "	position: absolute;",
                "	font-size: 14px;",
                "	top: 0;",
                "	line-height: 30px;",
                "	color: #fff;",
                "	background: #4879BD;",
                "	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2), 0 2px 12px 0 rgba(0, 0, 0, 0.1);",
                "	animation-duration: .5s;",
                "	animation-timing-function: ease;",
                "	animation-fill-mode: forwards;",
                "}",
                ".p_thread input:focus~button:before {",
                "	content: \"跳到\";",
                "	padding: 0 4px;",
                "	left: -22px;",
                "	border-radius: 20px 0 0 20px;",
                "	animation-name: button_effect_left;",
                "}",
                ".p_thread input:focus~button:after {",
                "	left: auto;",
                "	right: -13px;",
                "	padding: 0 6px;",
                "	border-radius: 0 20px 20px 0;",
                "	animation-name: button_effect_right;",
                "}",
                "",
                ".l_reply_num~.l_reply_num {",
                "	position: relative;",
                "	padding: 0 !important;",
                "	margin-right: 10px !important;",
                "	float: right !important;",
                "}",
                ".creativeplatform-elevator {",
                "	font-size: 0 !important;",
                "	margin-left: 0 !important;",
                "	width: auto !important;",
                "	height: 100% !important;",
                "	position: relative;",
                "	display: block;",
                "	color: inherit !important;",
                "	margin-right: 10px;",
                "}",
                ".l_thread_manage {",
                "	position: absolute;",
                "	z-index: 10;",
                "	padding: 0 !important;",
                "	margin: 0 !important;",
                "	bottom: -28px;",
                "	right: 250px;",
                "	transform: translateY(50%);",
                "	background: transparent;",
                "	font-weight: 600;",
                "}",
                ".l_thread_manage * {",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	color: inherit;",
                "	box-sizing: border-box;",
                "}",
                ".d_del_thread,",
                "#d_post_manage {",
                "	height: 34px;",
                "	width: 98px;",
                "	background: #eee;",
                "	color: rgba(0, 0, 0, .4) !important;",
                "	border: solid rgba(0, 0, 0, .1);",
                "	position: relative;",
                "	transition-property: background;",
                "	transition-duration: .4s;",
                "	transition-timing-function: ease;",
                "}",
                ".d_del_thread {",
                "	border-width: 1px;",
                "	border-radius: 8px;",
                "	margin-left: -8px !important;",
                "	width: 106px !important;",
                "	padding-left: 8px!important;",
                "}",
                ".j_thread_delete:before {",
                "	margin-left: 8px !important;",
                "}",
                "#d_post_manage {",
                "	border-width: 1px 0 1px 1px;",
                "	border-radius: 8px 0 0 8px;",
                "}",
                ".d_del_thread:hover,",
                "#d_post_manage:hover {",
                "	color: #fff !important;",
                "	background: #aaa;",
                "}",
                ".d_del_thread:hover {",
                "	background: #F44336 !important;",
                "}",
                ".j_thread_delete,",
                ".d_post_manage_link {",
                "	display: block;",
                "	background: none !important;",
                "	font-size: 14px;",
                "	padding-left: 24px !important;",
                "	width: 100%;",
                "	height: 100%;",
                "	line-height: 30px;",
                "	text-indent: 6px;",
                "}",
                ".j_thread_delete:before,",
                ".d_post_manage_link:before {",
                "	font-family: \'Material Icons\';",
                "	speak: none;",
                "	font-style: normal;",
                "	font-weight: normal;",
                "	font-variant: normal;",
                "	font-size: 24px;",
                "	white-space: nowrap;",
                "	word-wrap: normal;",
                "	direction: ltr;",
                "	position: absolute;",
                "	left: 0;",
                "}",
                ".j_thread_delete:before {",
                "	content: \"\\e872\";",
                "}",
                ".d_post_manage_link:before {",
                "	content: \"\\e869\";",
                "	font-size: 22px;",
                "}",
                "#j_quick_thread {",
                "	display: block !important;",
                "	border: none !important;",
                "	background: none !important;",
                "	position: absolute;",
                "	left: 50%;",
                "	bottom: 0;",
                "	transform: translate(-50%, 100%);",
                "	text-align: center;",
                "	pointer-events: none;",
                "	z-index: 9999;",
                "	color: rgba(0, 0, 0, .4) !important;",
                "}",
                "#d_post_manage:hover #j_quick_thread {",
                "	pointer-events: auto;",
                "}",
                "#j_quick_thread>li {",
                "	width: auto !important;",
                "	height: auto !important;",
                "	transition-property: transform, opacity;",
                "	transition-duration: .4s;",
                "	transition-timing-function: ease;",
                "	transform: translateY(-100%);",
                "	opacity: 0;",
                "	transition-delay: 0;",
                "}",
                "#j_quick_thread>li>a {",
                "	display: block;",
                "	width: 100px;",
                "	height: 30px;",
                "	line-height: 30px;",
                "	margin-top: 4px !important;",
                "	border-radius: 4px;",
                "	background: #eee;",
                "	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2) !important;",
                "	transition-property: background, color;",
                "	transition-duration: .4s;",
                "	transition-timing-function: ease;",
                "}",
                "#j_quick_thread>li>a:hover {",
                "	background: #aaa;",
                "	color: #fff !important;",
                "}",
                "#d_post_manage:hover #j_quick_thread>li {",
                "	transform: none;",
                "	opacity: 1;",
                "}",
                ".p_thread .loading-tip {",
                "	top: auto !important;",
                "	right: auto !important;",
                "	bottom: 90px;",
                "	margin: 0 !important;",
                "	left: 50% !important;",
                "	transform: translateX(-50%);",
                "	display: block;",
                "	position: fixed;",
                "	z-index: 9999;",
                "	border: none;",
                "	background: #4879BD !important;",
                "	border-radius: 6px !important;",
                "	padding-left: 7px !important;",
                "	color: #fff !important;",
                "	text-indent: -1px;",
                "	letter-spacing: 1px;",
                "	padding: 6px 8px !important;",
                "	width: 100px;",
                "	text-align: center;",
                "	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2), 0 2px 16px 6px rgba(0, 0, 0, 0.2) !important;",
                "}",
                "/*帖子内页-标题栏*/",
                "",
                ".core_title_bg {",
                "	background: rgba(0,0,0,.01) !important;",
                "	position: absolute;",
                "	left: 0;",
                "	top: 0;",
                "	width: 100%;",
                "	height: 100%;",
                "	transition: none !important;",
                "}",
                ".core_title {",
                "	border: none !important;",
                "	background: transparent !important;",
                "}",
                ".core_title_txt {",
                "	font-family: inherit !important;",
                "	width: 730px !important;",
                "	z-index: 4 !important;",
                "}",
                ".core_title_btns {",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	z-index: 4 !important;",
                "	position: absolute;",
                "	right: 0;",
                "}",
                ".core_title_btns i{",
                "    display: none !important;",
                "}",
                ".core_title_btns > *,",
                ".core_title_btns .l_lzonly,",
                ".core_title_btns .l_lzonly_cancel,",
                ".core_title_btns .p_favthr_main,",
                ".core_title_btns .j_quick_reply {",
                "	float: left !important;",
                "	display: block !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	margin-right: 10px !important;",
                "	width: 65px !important;",
                "	height: 66px !important;",
                "	border-radius: 0 0 20px 20px;",
                "	background: transparent;",
                "	border: none !important;",
                "	overflow: visible !important;",
                "	position: relative !important;",
                "	text-align: center;",
                "	line-height: 94px !important;",
                "	font-size: 16px !important;",
                "	cursor: pointer;",
                "}",
                ".core_title_btns *,",
                ".core_title_btns *:before,",
                ".core_title_btns *:after {",
                "	box-sizing: border-box;",
                "	color: rgba(0, 0, 0, .4) !important;",
                "	transition: none !important;",
                "}",
                ".core_title_btns>* {",
                "	box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.2) !important;",
                "	background: #eee !important;",
                "	transition-property: transform !important;",
                "	transition-duration: .2s !important;",
                "	transition-timing-function: ease !important;",
                "	",
                "}",
                ".core_title_btns>*:hover {",
                "	transition-property: transform, background, box-shadow !important;",
                "	background: #aaa !important;",
                "}",
                ".core_title_btns>*:hover,",
                ".core_title_btns>*:hover *,",
                ".core_title_btns>*:hover .d_lzonly_bdaside:before,",
                ".core_title_btns>*:hover #lzonly_cntn:before,",
                ".core_title_btns>#lzonly_cntn:hover:before,",
                ".core_title_btns>#j_favthread:hover:before,",
                ".core_title_btns>.j_favor:hover:before,",
                ".core_title_btns>#quick_reply:hover:before,",
                ".core_title_btns>.quick_reply:hover:before {",
                "	color: #fff !important;",
                "}",
                ".core_title_btns>*:active {",
                "	box-shadow: 0 4px 2px -1px rgba(0, 0, 0, 0.2) !important;",
                "}",
                ".d_lzonly_bdaside {",
                "	font-size: 0 !important;",
                "	letter-spacing: 0;",
                "	text-indent: 0;",
                "}",
                ".d_lzonly_bdaside:before {",
                "	content: \"楼主\";",
                "	font-size: 16px !important;",
                "}",
                ".core_title_btns #lzonly_cntn:before,",
                ".core_title_btns>#j_favthread:before,",
                ".core_title_btns>.j_favor:before,",
                ".core_title_btns>#quick_reply:before,",
                ".core_title_btns>.quick_reply:before {",
                "	font-family: \'Material Icons\';",
                "	speak: none;",
                "	font-style: normal;",
                "	font-weight: normal;",
                "	font-variant: normal;",
                "	line-height: 1;",
                "	white-space: nowrap;",
                "	word-wrap: normal;",
                "	direction: ltr;",
                "	display: block;",
                "	font-size: 30px;",
                "	position: absolute !important;",
                "	left: 50% !important;",
                "	top: 50% !important;",
                "	transform: translate(-50%, -50%);",
                "	margin-top: -14px !important;",
                "}",
                ".core_title_btns #lzonly_cntn:before {",
                "	content: \"\\e8f4\" !important;",
                "	font-size: 32px !important;",
                "}",
                ".core_title_btns>#j_favthread:before,",
                ".core_title_btns>.j_favor:before {",
                "	content: \"\\e89a\";",
                "}",
                ".core_title_btns>#quick_reply:before,",
                ".core_title_btns>.quick_reply:before {",
                "	content: \"\\e24c\";",
                "}",
                "/*帖子内页底侧浮层*/",
                "",
                ".core_title_absolute_bright {",
                "	display: block !important;",
                "	z-index: 401 !important;",
                "	top: auto !important;",
                "	bottom: 10px !important;",
                "	left: 50%;",
                "	transform: translateX(-50%);",
                "	border: none !important;",
                "}",
                ".core_title_absolute_bright .core_title_bg {",
                "	background: #4879BD  !important;",
                "	border-radius: 28px;",
                "	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1), 0 2px 16px 0 rgba(0, 0, 0, 0.08) !important;",
                "}",
                ".core_title_absolute_bright .core_title_txt {",
                "	margin-left: 40px;",
                "	color: #fff !important;",
                "}",
                ".core_title_absolute_bright .core_title_btns {",
                "	float: none !important;",
                "	display: block !important;",
                "	position: absolute !important;",
                "	right: 20px !important;",
                "	bottom: 0 !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	height: 100% !important;",
                "}",
                ".core_title_absolute_bright .core_title_btns *,",
                ".core_title_absolute_bright .core_title_btns *:before,",
                ".core_title_absolute_bright .core_title_btns *:after {",
                "	color: #fff !important;",
                "}",
                ".core_title_absolute_bright .core_title_btns > * {",
                "	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2), 0 2px 16px 0 rgba(0, 0, 0, 0.08) !important;",
                "	background: #4879BD !important;",
                "	transform: translateY(-50%) scale(1) !important;",
                "	transition-duration: .6s !important;",
                "}",
                ".core_title_absolute_bright .core_title_btns > *:hover {",
                "	transform: translateY(-50%) scale(1.1) !important;",
                "	background: #4285F4 !important;",
                "}",
                ".core_title_absolute_bright .core_title_btns > *:active {",
                "	transform: translateY(-50%) scale(1.05) !important;",
                "}",
                ".core_title_absolute_bright .core_title_btns > *,",
                ".core_title_absolute_bright .core_title_btns .l_lzonly,",
                ".core_title_absolute_bright .core_title_btns .l_lzonly_cancel,",
                ".core_title_absolute_bright .core_title_btns .p_favthr_main,",
                ".core_title_absolute_bright .core_title_btns .j_quick_reply {",
                "	width: 70px !important;",
                "	height: 70px !important;",
                "	border-radius: 50% !important;",
                "	top: 50%;",
                "	transform: translateY(-50%);",
                "	color: #fff !important;",
                "	line-height: 104px !important;",
                "	font-size: 12px !important;",
                "	letter-spacing: 2px;",
                "	text-indent: 2px;",
                "}",
                "/*fix bug*/",
                ".quick_reply{",
                "	pointer-events: none;",
                "}",
                ".quick_reply > *{",
                "	pointer-events: auto;",
                "}",
                ".core_title_absolute_bright .d_lzonly_bdaside {",
                "	line-height: 20px;",
                "}",
                ".core_title_absolute_bright .d_lzonly_bdaside:before {",
                "	font-size: 12px !important;",
                "	letter-spacing: 2px;",
                "}",
                ".core_title_absolute_bright .d_lzonly_bdaside,",
                ".core_title_absolute_bright .p_favthr_main p {",
                "	color: inherit !important;",
                "}",
                ".core_title_absolute_bright .core_title_btns #lzonly_cntn:before,",
                ".core_title_absolute_bright .core_title_btns>#j_favthread:before,",
                ".core_title_absolute_bright .core_title_btns>.j_favor:before,",
                ".core_title_absolute_bright .core_title_btns>#quick_reply:before,",
                ".core_title_absolute_bright .core_title_btns>.quick_reply:before {",
                "	display: block !important;",
                "	color: inherit !important;",
                "	font-size: 32px !important;",
                "	margin-top: -10px !important;",
                "	z-index: 1;",
                "}",
                ".core_title_absolute_bright .core_title_btns #lzonly_cntn:before {",
                "	font-size: 36px !important;",
                "}",
                "/*收藏成功提示框*/",
                "",
                ".recommend_outtest_container {",
                "	border: none !important;",
                "	background-color: #4879BD !important;",
                "	border-radius: 6px !important;",
                "	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2), 0 2px 16px 6px rgba(0, 0, 0, 0.2) !important;",
                "	color: #fff !important;",
                "	z-index: 9999;",
                "	margin: 0 !important;",
                "	top: 90px !important;",
                "	right: 32px !important;",
                "	bottom: auto !important;",
                "	left: auto !important;",
                "}",
                ".recommend_outtest_container > div {",
                "	width: 100% !important;",
                "	box-sizing: border-box;",
                "	left: auto !important;",
                "	margin: 0 !important;",
                "	padding: 0 4px !important;",
                "	position: relative;",
                "}",
                ".recommend_outtest_container .arrow_top {",
                "	width: 0;",
                "	height: 0;",
                "	border: none !important;",
                "	top: -9px;",
                "	border-left: 10px solid transparent !important;",
                "	border-right: 10px solid transparent !important;",
                "	border-bottom: 10px solid #4573b4 !important;",
                "	transform: translateX(-50%);",
                "	z-index: 1;",
                "	margin-left: 100px;",
                "	background: transparent !important;",
                "}",
                ".recommend_outtest_container .success_tip {",
                "	background: #4573b4;",
                "	border-radius: 6px 6px 0;",
                "}",
                ".recommend_outtest_container .success_tip hr,",
                ".recommend_outtest_container .success_tip .collect_tip {",
                "	display: none;",
                "}",
                ".recommend_outtest_container .collect_success span {",
                "	margin-left: 9px;",
                "	font-size: 18px;",
                "	top: 10px;",
                "}",
                ".recommend_outtest_container .collect_success span:before {",
                "	content: \"\\e52d\";",
                "	font-family: \'Material Icons\';",
                "	line-height: 1;",
                "	white-space: nowrap;",
                "	word-wrap: normal;",
                "	direction: ltr;",
                "	font-size: 28px;",
                "	margin-right: 4px;",
                "	margin-top: -2px;",
                "	display: block;",
                "	float: left;",
                "}",
                ".recommend_outtest_container .success_tip .delete_collect {",
                "	position: absolute;",
                "	right: 0;",
                "	left: auto;",
                "	display: block;",
                "	float: right;",
                "	height: 40px;",
                "	line-height: 40px;",
                "	width: 40px;",
                "	margin: 0 !important;",
                "	top: 0;",
                "	background: none !important;",
                "	cursor: pointer;",
                "	text-align: center;",
                "	color: rgba(255, 255, 255, .6);",
                "	transform: scale(1);",
                "	transition-property: color, transform;",
                "	transition-duration: .4s;",
                "	transition-timing-function: ease;",
                "}",
                ".recommend_outtest_container .success_tip .delete_collect:hover {",
                "	transform: scale(1.3);",
                "	color: rgba(255, 255, 255, 1)",
                "}",
                ".recommend_outtest_container .success_tip .delete_collect:before {",
                "	content: \"\\e5cd\";",
                "	font-family: \'Material Icons\';",
                "	font-size: 24px;",
                "}",
                ".recommend_outtest_container .rules_tip {",
                "	font-size: 14px;",
                "	text-align: center;",
                "	line-height: 30px;",
                "	height: 60px;",
                "	margin-bottom: -30px !important;",
                "}",
                ".recommend_outtest_container .show_tag_input {",
                "	margin: 0 !important;",
                "	padding: 0 6px !important;",
                "	z-index: 1;",
                "}",
                ".recommend_outtest_container .j_add_tag {",
                "	width: 100% !important;",
                "	height: 30px !important;",
                "	outline: none !important;",
                "	border: none !important;",
                "	margin: 0 !important;",
                "	box-sizing: border-box;",
                "	color: #fff !important;",
                "	font-size: 18px !important;",
                "	line-height: 26px !important;",
                "	text-align: center;",
                "	background: rgba(0, 0, 0, 0.08) !important;",
                "	padding: 0 4px !important;",
                "	padding-top: 4px !important;",
                "	border-bottom: 4px solid rgba(0, 0, 0, .04) !important;",
                "	transition-property: transform, box-shadow, background, border-bottom;",
                "	transition-duration: .5s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                ".recommend_outtest_container .j_add_tag:focus {",
                "	background: rgba(0, 0, 0, 0.1) !important;",
                "	border-bottom: 4px solid #4285F4 !important;",
                "}",
                ".recommend_outtest_container .recommend_tag {",
                "	margin-top: 12px !important;",
                "	padding: 0 6px !important;",
                "}",
                ".recommend_outtest_container .recommend_tag:empty {",
                "	display: none;",
                "}",
                ".recommend_outtest_container .pb_recommend_tag {",
                "	margin: 0 !important;",
                "	margin-bottom: 4px !important;",
                "	margin-right: 5px !important;",
                "	padding: 0 6px !important;",
                "	height: 20px;",
                "	line-height: 20px;",
                "	float: none;",
                "	display: inline-block;",
                "	background: rgba(0, 0, 0, .1);",
                "	border: none;",
                "	cursor: pointer;",
                "}",
                ".recommend_outtest_container .pb_recommend_tag span {",
                "	position: static !important;",
                "	top: auto !important;",
                "}",
                ".recommend_outtest_container .pb_recommend_tag:hover {",
                "	background: #4285F4 !important;",
                "}",
                ".recommend_outtest_container .tag_button {",
                "	margin-top: 12px !important;",
                "	margin-bottom: 16px !important;",
                "}",
                ".recommend_outtest_container .tag_submit_button {",
                "	width: 200px;",
                "	height: 27px;",
                "	line-height: 27px;",
                "	display: block;",
                "	position: relative;",
                "	margin: 0 auto;",
                "	z-index: 1;",
                "	background: rgba(0, 0, 0, 0.08) !important;",
                "	text-align: center;",
                "	cursor: pointer;",
                "	letter-spacing: 20px;",
                "	text-indent: 20px;",
                "}",
                ".recommend_outtest_container .tag_submit_button:hover {",
                "	background: #4285F4 !important;",
                "}",
                ".recommend_outtest_container .tag_submit_button span {",
                "	position: static !important;",
                "	font-size: inherit !important;",
                "	color: inherit !important;",
                "}",
                ".recommend_outtest_container .pb_recommend_tag,",
                ".recommend_outtest_container .tag_submit_button {",
                "	transition-property: background;",
                "	transition-duration: .4s;",
                "	transition-timing-function: ease;",
                "}",
                ".p_favthread .p_favthr_tip {",
                "	line-height: 0;",
                "	font-size: 0 !important;",
                "	width: 80px !important;",
                "	height: 80px !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	border-radius: 8px;",
                "	background: #4879BD !important;",
                "	color: #fff !important;",
                "	position: absolute;",
                "	top: 80px !important;",
                "	right: -8px !important;",
                "	z-index: 9999;",
                "	box-shadow: 0 2px 12px 2px rgba(0, 0, 0, 0.2)!important;",
                "	display: block !important;",
                "	transform: translateY(10px);",
                "	pointer-events: none;",
                "	opacity: 0 !important;",
                "	transition-property: opacity, transform;",
                "	transition-duration: .5s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                ".p_favthread .p_favthr_tip[style*=\"height:\"] {",
                "	visibility: visible;",
                "	opacity: 1 !important;",
                "	transform: none;",
                "}",
                ".core_title_wrap_bright>.p_favthread .p_favthr_tip {",
                "	top: 70px !important;",
                "	right: 76px !important;",
                "}",
                ".p_favthread .p_favthr_tip * {",
                "	display: none;",
                "}",
                ".p_favthread .p_favthr_tip>span:only-child,",
                ".p_favthread .p_favthr_tip>a:nth-of-type(1) {",
                "	display: block;",
                "}",
                ".core_title_absolute_bright .p_favthread .p_favthr_tip {",
                "	top: -82px !important;",
                "	right: -5px !important;",
                "}",
                ".core_title_absolute_bright>.p_favthread .p_favthr_tip {",
                "	top: -100px !important;",
                "	right: 105px !important;",
                "}",
                ".p_favthread .p_favthr_tip>span:only-child:after,",
                ".p_favthread .p_favthr_tip>a:nth-of-type(1):after {",
                "	font-size: 12px;",
                "	letter-spacing: 2px;",
                "	display: inline-block;",
                "	width: 100%;",
                "	color: #fff;",
                "	margin-top: 12px;",
                "}",
                ".p_favthread .p_favthr_tip>span:only-child:after {",
                "	content: \"取消成功\";",
                "}",
                ".p_favthread .p_favthr_tip>a:nth-of-type(1):after {",
                "	content: \"收藏成功\";",
                "}",
                ".p_favthread .p_favthr_tip>span:only-child:before,",
                ".p_favthread .p_favthr_tip>a:nth-of-type(1):before {",
                "	font-family: \'Material Icons\';",
                "	line-height: 1;",
                "	font-size: 42px;",
                "	display: block;",
                "	margin-top: 6px;",
                "	color: #fff;",
                "}",
                ".p_favthread .p_favthr_tip>span:only-child:before {",
                "	content: \"\\e8e7\";",
                "}",
                ".p_favthread .p_favthr_tip>a:nth-of-type(1):before {",
                "	content: \"\\e8e6\";",
                "}",
                ".core_title_absolute_bright~.p_postlist .recommend_outtest_container {",
                "	position: fixed !important;",
                "	bottom: 86px !important;",
                "	right: auto !important;",
                "	left: 50% !important;",
                "	top: auto !important;",
                "	transform: translateX(194px);",
                "	width: 360px;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "}",
                ".core_title_absolute_bright~.p_postlist .recommend_outtest_container .arrow_top {",
                "	border: none !important;",
                "	border-left: 10px solid transparent !important;",
                "	border-right: 10px solid transparent !important;",
                "	border-top: 10px solid #4879BD !important;",
                "	top: auto;",
                "	left: 50%;",
                "	bottom: -9px;",
                "	position: absolute;",
                "	margin: 0 !important;",
                "}",
                ".p_thread.thread_theme_bright_absolute {",
                "	position: fixed;",
                "	z-index: 450 !important;",
                "	bottom: -14px !important;",
                "	box-sizing: border-box;",
                "	height: 80px !important;",
                "	width: 746px !important;",
                "	background: none !important;",
                "	border: none !important;",
                "	padding: 0 !important;",
                "	margin: 0 !important;",
                "	color: #fff !important;",
                "}",
                ".p_thread.thread_theme_bright_absolute:before {",
                "	content: \"Design by Maverick\";",
                "	font-size: 0;",
                "	position: absolute;",
                "	height: 54px;",
                "	width: 740px;",
                "	background: #4879BD !important;",
                "}",
                ".p_thread.thread_theme_bright_absolute:before,",
                ".p_thread.thread_theme_bright_absolute>*:not(.loading-tip) {",
                "	opacity: 0;",
                "	transition-property: opacity;",
                "	transition-duration: .5s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                ".p_thread.thread_theme_bright_absolute:hover {",
                "	transition-duration: 1s;",
                "}",
                ".p_thread.thread_theme_bright_absolute:hover:before,",
                ".p_thread.thread_theme_bright_absolute:hover>*:not(.loading-tip) {",
                "	opacity: 1;",
                "	transition-duration: 1s;",
                "}",
                ".p_thread.thread_theme_bright_absolute:hover>* {",
                "	/*过渡时禁止事件*/",
                "	animation-name: eventon_duration;",
                "	animation-duration: .8s;",
                "	animation-timing-function: linear;",
                "	animation-fill-mode: forwards;",
                "}",
                "",
                ".thread_theme_bright_absolute .l_posts_num .pb_list_pager {",
                "	background: none !important;",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	padding-top: 16px !important;",
                "	box-sizing: border-box;",
                "	margin-right: 10px !important;",
                "}",
                ".thread_theme_bright_absolute .l_thread_info {",
                "	display: block;",
                "}",
                ".thread_theme_bright_absolute .pb_list_pager >* {",
                "	padding: 0 6px !important;",
                "	background: rgba(0, 0, 0, .1) !important;",
                "}",
                ".thread_theme_bright_absolute .pb_list_pager >a:hover {",
                "	background: #4285F4 !important;",
                "}",
                ".thread_theme_bright_absolute .l_reply_num>span {",
                "	margin-left: 50% !important;",
                "	transform: translateX(-50%);",
                "	white-space: nowrap;",
                "	float: none !important;",
                "	margin-top: 2px !important;",
                "}",
                ".thread_theme_bright_absolute .l_reply_num>span:nth-of-type(1) {",
                "	margin-top: 10px !important;",
                "}",
                ".thread_theme_bright_absolute .l_reply_num>span:before {",
                "	margin-left: -1.5em !important;",
                "}",
                ".thread_theme_bright_absolute .l_reply_num~.l_reply_num {",
                "	margin-left: 20px !important;",
                "}",
                ".thread_theme_bright_absolute input {",
                "	background: rgba(0, 0, 0, 0.08) !important;",
                "	padding: 0 4px !important;",
                "	padding-top: 4px !important;",
                "	margin-top: 14px !important;",
                "	border-bottom: 4px solid rgba(0, 0, 0, .04) !important;",
                "}",
                ".thread_theme_bright_absolute input~button {",
                "	top: 14px;",
                "}",
                ".thread_theme_bright_absolute input~button:after {",
                "	color: rgba(255, 255, 255, 0.5);",
                "}",
                ".thread_theme_bright_absolute input:focus~button:before,",
                ".thread_theme_bright_absolute input:focus~button:after {",
                "	background: #4285F4;",
                "}",
                ".thread_theme_bright_absolute input:focus~button:before {",
                "	box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1), 0 2px 24px 0 rgba(0, 0, 0, 0.1), -10px 0 20px 0px #4879BD;",
                "}",
                ".thread_theme_bright_absolute input:focus~button:after {",
                "	box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1), 0 2px 24px 0 rgba(0, 0, 0, 0.1), 10px 0 20px 0px #4879BD;",
                "}",
                ".thread_theme_bright_absolute input:focus {",
                "	background: #4285F4 !important;",
                "	box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1), 0 2px 24px 0 rgba(0, 0, 0, 0.1);",
                "}",
                ".thread_theme_bright_absolute .creativeplatform-elevator {",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "}",
                ".thread_theme_bright_absolute .l_thread_manage {",
                "	display: none !important;",
                "}",
                "/*右边栏分割线*/",
                "",
                ".forum_content .aside:before,",
                ".right_bright:before,",
                ".side:before,",
                ".right_aside:before {",
                "	content: \"Design by Maverick\";",
                "	font-size: 0;",
                "	display: block;",
                "	position: absolute;",
                "	height: 100%;",
                "	width: 0;",
                "	border-left: 1px solid rgba(0,0,0,.1);",
                "}",
                "",
                "/*keyframes*/",
                "@keyframes eventoff_duration {",
                "	from {",
                "		pointer-events: auto;",
                "	}",
                "	to {",
                "		pointer-events: none;",
                "	}",
                "}",
                "@keyframes eventon_duration {",
                "	from {",
                "		pointer-events: none;",
                "	}",
                "	to {",
                "		pointer-events: auto;",
                "	}",
                "}",
                "@keyframes button_effect_left {",
                "	from {",
                "		opacity: 0;",
                "		transform: translateX(80%);",
                "	}",
                "	to {",
                "		opacity: 1;",
                "		transform: translateX(0);",
                "	}",
                "}",
                "@keyframes button_effect_right {",
                "	from {",
                "		opacity: 0;",
                "		transform: translateX(-90%);",
                "	}",
                "	to {",
                "		opacity: 1;",
                "		transform: translateX(0);",
                "	}",
                "}",
                "",
                "/*细节处理*/",
                "",
                "/*帖子内容图片宽度限制*/",
                ".d_post_content .BDE_Image{",
                "	height: auto !important;",
                "	max-width: 100% !important;",
                "}",
                ".d_post_content .BDE_Image[width=\"560\"],",
                ".poster_body .edui-editor-body .edui-body-container img[width=\"560\"] {",
                "	width: auto !important;",
                "	height: auto !important;",
                "	max-width: 100% !important;",
                "}",
                "",
                "/*占位符穿透*/",
                "",
                ".tbui_placeholder,",
                ".tb_poster_placeholder {",
                "	pointer-events: none;",
                "}",
                ".icon_wrap:empty {",
                "	/*印记栏为空不显示*/",
                "	",
                "	display: none !important;",
                "}",
                "/*话题贴回复框控件域*/",
                "",
                ".qp_btn {",
                "	width: 100% !important;",
                "}",
                ".qp_smile {",
                "	margin-right: 6px;",
                "	float: right;",
                "}",
                ".thread_theme_bright_absolute .pb_list_pager:empty+.l_reply_num {",
                "	/*帖子内页页数为1时增大功能栏项目间距*/",
                "	",
                "	margin-right: 20px !important;",
                "}",
                "",
                ".core_reply {",
                "	/*楼中楼的最小高度导致帖子内页滚动时跳动*/",
                "	",
                "	min-height: 0 !important;",
                "}",
                ".j_user_card {",
                "	/*楼中楼回复后头像a标签高度出错*/",
                "	",
                "	display: inline-block;",
                "	min-height: 100%;",
                "}",
                ".core_reply_content>ul>li:nth-of-type(1) {",
                "	/*楼中楼回复后即使是一楼也会出现上描边*/",
                "	",
                "	border-top: none;",
                "}",
                "/*编辑快速回帖 输入框宽度问题*/",
                "",
                "#quick-reply-edit-wrapper .quick-reply-item {",
                "	margin-right: 0 !important;",
                "}",
                "#quick-reply-edit-wrapper .quick-reply-item .quick-reply-delete-btn {",
                "	right: 4px !important;",
                "}",
                "",
                "/*右侧浮层*/",
                "",
                ".tbui_aside_float_bar {",
                "	border-top: none !important;",
                "	position: fixed;",
                "	left: 50% !important;",
                "	bottom: 10vh !important;",
                "}",
                ".tbui_aside_fbar_button {",
                "	box-sizing: content-box;",
                "	width: 45px !important;",
                "	height: 50px !important;",
                "	margin-bottom: 5px;",
                "}",
                ".tbui_aside_fbar_button >a {",
                "	display: block;",
                "	position: relative;",
                "	width: inherit !important;",
                "	height: inherit !important;",
                "	border-radius: 0 10px 10px 0;",
                "	box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.08);",
                "	background: #fefefe !important;",
                "	overflow:hidden;",
                "	font-size: 0;",
                "	white-space: nowrap;",
                "	text-indent: -45px;",
                "	transition-property: text-indent;",
                "	transition-duration: .6s;",
                "	transition-timing-function: ease;",
                "}",
                ".tbui_aside_fbar_button >a:hover {",
                "	text-indent: 0px;",
                "}",
                ".tbui_aside_fbar_button >a:after,",
                ".tbui_aside_fbar_button >a:before{",
                "	display: inline-block;",
                "	color: #ccc;",
                "	width: inherit !important;",
                "	height: inherit !important;",
                "	box-sizing: border-box;",
                "	vertical-align: top;",
                "	white-space: normal;",
                "	text-indent: 0;",
                "}",
                ".tbui_aside_fbar_button >a:after{",
                "	content: \"\\e871\";",
                "	font-family: \'Material Icons\';",
                "	font-size: 28px;",
                "	line-height: 50px;",
                "	text-align: center;",
                "	text-indent: -2px;",
                "}",
                ".tbui_aside_fbar_button >a:before{",
                "	content: \"未知项目\";",
                "	font-size: 14px;",
                "	line-height: 20px;",
                "	padding-top: 5px;",
                "	padding-left: 7px;",
                "}",
                "",
                ".tbui_fbar_top>a:after {",
                "	content:\"\\e255\";",
                "	font-size: 32px;",
                "}",
                ".tbui_fbar_top>a:before {",
                "	content:\"返回顶部\";",
                "}",
                ".tbui_fbar_tsukkomi>a:after {",
                "	content:\"\\e815\";",
                "}",
                ".tbui_fbar_tsukkomi>a:before {",
                "	content:\"神来一句\";",
                "}",
                ".tbui_fbar_props>a:after {",
                "	content:\"\\e39f\";",
                "}",
                ".tbui_fbar_props>a:before {",
                "	content:\"魔法道具\";",
                "}",
                ".tbui_fbar_home>a:after {",
                "	content:\"\\e91d\";",
                "}",
                ".tbui_fbar_home>a:before {",
                "	content:\"召唤度娘\";",
                "}",
                ".tbui_fbar_square>a:after {",
                "	content:\"\\e639\";",
                "}",
                ".tbui_fbar_square>a:before {",
                "	content:\"主播广场\";",
                "}",
                ".tbui_fbar_lab>a:after {",
                "	content:\"\\e87b\";",
                "	font-size: 26px;",
                "}",
                ".tbui_fbar_lab>a:before {",
                "	content:\"实验功能\";",
                "}",
                ".tbui_fbar_favor>a:after {",
                "	content:\"\\e87d\";",
                "}",
                ".tbui_fbar_favor>a:before {",
                "	content:\"爱逛的吧\";",
                "}",
                ".tbui_fbar_share>a:after {",
                "	content:\"\\e80d\";",
                "}",
                ".tbui_fbar_share>a:before {",
                "	content:\"分享此页\";",
                "}",
                ".tbui_fbar_refresh>a:after {",
                "	content:\"\\e5d5\";",
                "	font-size: 30px;",
                "}",
                ".tbui_fbar_refresh>a:before {",
                "	content:\"立即刷新\";",
                "}",
                ".tbui_fbar_post>a:after {",
                "	content:\"\\e254\";",
                "}",
                ".tbui_fbar_post>a:before {",
                "	content:\"发表主题\";",
                "}",
                ".tbui_fbar_top{",
                "	overflow: hidden;",
                "	padding-right: 2px;",
                "	padding-bottom: 2px;",
                "}",
                ".tbui_fbar_top>a{",
                "	transition-property: text-indent,transform;",
                "}",
                ".tbui_fbar_top[style*=\"hidden\"]{",
                "	pointer-events: none;",
                "	visibility: visible !important;",
                "}",
                ".tbui_fbar_top[style*=\"hidden\"]>a{",
                "	transform: translateX(-110%);",
                "}",
                ".tbui_fbar_top[style*=\"visible\"]{",
                "	opacity: 1;",
                "}",
                "",
                ".tbshare_popup_wrapper{",
                "	position: fixed;",
                "	width: inherit;",
                "	height: inherit;",
                "	text-indent: 0;",
                "	font-size: 12px;",
                "}",
                ".tbui_aside_float_bar .tbshare_popup_wrapper{",
                "	transform: translateY(-100%);",
                "}",
                ".tbshare_popup_enter {",
                "	width: inherit;",
                "	height: inherit;",
                "	background: none !important;",
                "}",
                ".tbshare_popup_main {",
                "	display: block !important;",
                "	left: 0 !important;",
                "	top: 50% !important;",
                "	pointer-events: none;",
                "	opacity: 0;",
                "	transform: translate(-120%,-50%);",
                "	transition-property: opacity,transform;",
                "	transition-duration: .5s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                ".tbshare_popup_main[style*=\"block\"] {",
                "	pointer-events: auto;",
                "	opacity: 1;",
                "	transform: translate(-100%,-50%);",
                "}",
                "/*根据相关法律政策...*/",
                ".container .icon-attention{",
                "	font-size: 20px;",
                "	text-align: center;",
                "	width: 100%;",
                "	height: auto;",
                "	position: static;",
                "	padding: 0;",
                "	background: none !important;",
                "	margin: 0 0 40px 0;",
                "	color: #999;",
                "}",
                ".container .icon-attention:before{",
                "	content: \"\\e001\";",
                "	font-family: \'Material Icons\';",
                "	display: block;",
                "	width: 100%;",
                "	margin: 0 0 20px 0;",
                "	font-size: 100px;",
                "	line-height: 100px;",
                "}",
                "/*帖子标题标识*/",
                ".threadlist_title i{",
                "	flex: 0 0 auto;",
                "	background-image: none !important;",
                "	display: inline-block !important;",
                "	width: auto !important;",
                "	min-width: 20px;",
                "	height: 20px !important;",
                "	line-height: 20px;",
                "	border-radius: 4px;",
                "	background-color: #4285F5;",
                "	margin: 0;",
                "	margin-top: -1px;",
                "	margin-right: 2px;",
                "	text-align: center;",
                "	font-size: 0 !important;",
                "	font-style: normal !important;",
                "	color: #fff !important;",
                "}",
                ".threadlist_title i:before{",
                "	font-family: \'Material Icons\';",
                "	font-size: 20px;",
                "	vertical-align: top;",
                "}",
                ".threadlist_title i:after{",
                "	font-size: 12px;",
                "	margin: 0 4px;",
                "}",
                ".threadlist_title i+.j_th_tit {",
                "	margin-left: 2px;",
                "}",
                ".threadlist_title:not(.pull_left) span{",
                "	flex: 0 0 auto;",
                "	margin-top: -1px;",
                "	margin-right: 2px;",
                "}",
                ".threadlist_title:not(.pull_left) span:empty{",
                "	display: none;",
                "}",
                ".threadlist_title img[src*=\"idisk.gif\"],",
                ".threadlist_title img[src*=\"icon_bright\"]{",
                "	float: right;",
                "	width: 20px !important;",
                "	height: 20px !important;",
                "	padding-left: 20px;",
                "	padding-top: 20px;",
                "	border-radius: 4px;",
                "	margin: 0 !important;",
                "	margin-right: 2px  !important;",
                "	background-color: #4285F5;",
                "	box-sizing: border-box;",
                "	background-image: url(http://7punbc.com1.z0.glb.clouddn.com/tieba-icon.svg?20160327);",
                "	background-repeat: no-repeat;",
                "	background-position: 0 20px;",
                "}",
                ".threadlist_title .icon-voice:before{",
                "	content: \"\\e31d\";",
                "}",
                ".threadlist_title .icon-game-type-mini-game {",
                "	background-color: #FF732A;",
                "}",
                ".threadlist_title .icon-game-type-mini-game:after {",
                "	content: \"小游戏\";",
                "}",
                ".threadlist_title .icon-novel-thanks {",
                "	background-color: #FF6666;",
                "}",
                ".threadlist_title .icon-novel-thanks:after {",
                "	content: \"感谢\";",
                "}",
                ".threadlist_title .icon-novel-genuine,",
                ".threadlist_title .icon-novel-chapter{",
                "	background-color: #FFA800;",
                "}",
                ".threadlist_title .icon-novel-genuine:after,",
                ".threadlist_title .icon-novel-chapter:after{",
                "	content: \"章节\";",
                "}",
                ".threadlist_title .icon-game-feature-strategy:after {",
                "	content: \"策略经营\";",
                "}",
                ".threadlist_title .icon-game-feature-sports:after {",
                "	content: \"体育竞速\";",
                "}",
                "",
                ".threadlist_title .icon-game-feature-shooting:after {",
                "	content: \"飞行射击\";",
                "}",
                "",
                ".threadlist_title .icon-game-feature-network:after {",
                "	content: \"网络游戏\";",
                "}",
                "",
                ".threadlist_title .icon-game-feature-cosplay:after {",
                "	content: \"角色扮演\";",
                "}",
                "",
                ".threadlist_title .icon-game-feature-casual:after {",
                "	content: \"休闲益智\";",
                "}",
                "",
                ".threadlist_title .icon-game-feature-cards:after {",
                "	content: \"卡片棋牌\";",
                "}",
                "",
                ".threadlist_title .icon-game-feature-action:after {",
                "	content: \"动作冒险\";",
                "}",
                ".threadlist_title .icon-game-type-web {",
                "	background-color: #FF6666",
                "}",
                ".threadlist_title .icon-game-type-web:after {",
                "	content: \"网页游戏\";",
                "}",
                "",
                ".threadlist_title .icon-game-type-mobile {",
                "	background-color: #FF6666",
                "}",
                ".threadlist_title .icon-game-type-mobile:after {",
                "	content: \"手机游戏\";",
                "}",
                "",
                ".threadlist_title .icon-game-type-client {",
                "	background-color: #FF6666",
                "}",
                ".threadlist_title .icon-game-type-client:after {",
                "	content: \"客户端游戏\";",
                "}",
                "",
                ".threadlist_title .icon-novel-reward {",
                "	background-color: #FF6666",
                "}",
                ".threadlist_title .icon-novel-reward:after {",
                "	content: \"捧场\";",
                "}",
                "",
                ".threadlist_title .icon-zhengwen-book {",
                "	background-color: #FF6666",
                "}",
                ".threadlist_title .icon-zhengwen-book:after {",
                "	content: \"贴吧原创\";",
                "}",
                "",
                ".threadlist_title .icon-fb-solved {",
                "	background-color: #5DB772",
                "}",
                ".threadlist_title .icon-fb-solved:before {",
                "	 content: \"\\e876\";",
                "	margin: 0 1px;",
                "	font-size: 18px;",
                "	line-height:19px;",
                "}",
                ".threadlist_title .icon-fb-solved:after {",
                "	content: \"已解决\";",
                "   margin-left: 0;",
                "}",
                ".threadlist_title .icon-fb-following {",
                "	background-color: #FF6666;",
                "}",
                ".threadlist_title .icon-fb-following:before {",
                "	 content: \"\\e80e\";",
                "	margin: 0 2px;",
                "	font-size: 16px;",
                "}",
                ".threadlist_title .icon-fb-following:after {",
                "	content: \"正在跟进\";",
                "   margin-left: -1px;",
                "}",
                "",
                ".threadlist_title .icon-mass-response {",
                "	background-color: #FF914D;",
                "}",
                ".threadlist_title .icon-mass-response:after {",
                "	content: \"一呼百应\";",
                "}",
                ".threadlist_title .icon-guessing {",
                "	background-color: #F8220C;",
                "}",
                ".threadlist_title .icon-guessing:after {",
                "	content: \"拳王\";",
                "}",
                "",
                ".threadlist_title .tb_tag_forward:after,",
                ".threadlist_title .icon-repost:after {",
                "	content: \"转帖\";",
                "}",
                ".threadlist_title img[src*=\"membertop_icon.png\"],",
                ".threadlist_title .icon-member-top {",
                "	background-color: #FFCC26",
                "}",
                "",
                ".threadlist_title .icon-member-top:after {",
                "	content: \"会员置顶\";",
                "	margin-left: -1px;",
                "}",
                ".threadlist_title .icon-member-top:before,",
                ".threadlist_title .icon-top:before{",
                "	content: \"\\e154\";",
                "	display: inline-block;",
                "	transform: translateY(-0.5px) rotate(-90deg);",
                "}",
                ".threadlist_title img[src*=\"membertop_icon.png\"],",
                ".threadlist_title img[src*=\"zding.gif\"]{",
                "	background-position: 0 0;",
                "}",
                "",
                ".threadlist_title img[src*=\"tpiao.gif\"],",
                ".threadlist_title .icon-vote {",
                "	background-color: #55D45D",
                "}",
                ".threadlist_title .icon-vote:before{",
                "	content: \"\\e01d\";",
                "}",
                ".threadlist_title img[src*=\"tpiao.gif\"]{",
                "	background-position: 0 -80px;",
                "}",
                "",
                ".threadlist_title .icon-user-mask:before{",
                "	content: \"\\e15d\";",
                "	font-size: 16px;",
                "	margin: 0 2px;",
                "}",
                ".threadlist_title .icon-user-mask:after{",
                "	content: \"被屏蔽\";",
                "	margin-left: 0;",
                "}",
                "",
                ".threadlist_title .icon-activity:before{",
                "	content: \"\\e153\";",
                "}",
                "",
                ".threadlist_title img[src*=\"jing.gif\"],",
                ".threadlist_title .icon-good{",
                "	background-color: #FF6666",
                "}",
                ".threadlist_title .icon-good:before{",
                "	content: \"\\e838\";",
                "	font-size: 18px;",
                "	margin-right: -1px;",
                "}",
                ".threadlist_title img[src*=\"jing.gif\"]{",
                "	background-position: 0 -20px;",
                "}",
                "",
                ".threadlist_title .icon-notice:before{",
                "	content: \"\\e80b\";",
                "	font-size: 18px;",
                "}",
                "",
                ".threadlist_title img[src*=\"goodalbum.png\"],",
                ".threadlist_title .icon-good-album{",
                "	background-color: #FF6666;",
                "}",
                ".threadlist_title .icon-good-album:before{",
                "	content: \"\\e3df\";",
                "	font-size: 18px;",
                "}",
                "",
                ".threadlist_title img[src*=\"goodalbum.png\"],",
                ".threadlist_title img[src*=\"tupian.gif\"]{",
                "	background-position: 0 -60px;",
                "}",
                "",
                ".threadlist_title .icon-liveshow-promoter{",
                "	background-color: #FFA825;",
                "}",
                ".threadlist_title .icon-liveshow-promoter:after{",
                "	content:\"帝王贴\";",
                "}",
                "",
                ".threadlist_title .icon-idisk {",
                "	background-position: -254px -81px",
                "}",
                ".threadlist_title .icon-idisk:before {",
                "	content: \"\\e2c8\";",
                "   font-size: 16px;",
                "}",
                ".threadlist_title img[src*=\"idisk.gif\"]{",
                "	background-position: 0 -100px;",
                "}",
                "",
                ".threadlist_title img[src*=\"bakan.gif\"],",
                ".threadlist_title .icon-bakan {",
                "	background-color: #EAB021;",
                "}",
                ".threadlist_title .icon-bakan:before {",
                "	content: \"\\e0e0\";",
                "	font-size: 16px;",
                "}",
                ".threadlist_title img[src*=\"bakan.gif\"]{",
                "	background-position: 0 -40px;",
                "}",
                "",
                ".threadlist_title .icon-picture:before{",
                "	content: \"\\e3df\";",
                "	font-size: 18px;",
                "}",
                ".threadlist_title .icon_interview_picture:after{",
                "	content:\"图片话题\";",
                "}",
                "",
                ".threadlist_title .icon-zhaoji{",
                "	background-color: #b77df0;",
                "}",
                ".threadlist_title .icon-zhaoji:after{",
                "	content:\"召集\";",
                "}",
                ".threadlist_title .icon-userdefine-diamond-mall{",
                "	background-color: #FF6666;",
                "}",
                ".threadlist_title .icon-userdefine-diamond-mall:after{",
                "	content:\"夺宝\";",
                "}",
                "",
                "/*吧详情页*/",
                ".container_wrap .card_top_wrap{",
                "	padding-bottom: 10px !important;",
                "}",
                ".forum_info_wrap{",
                "	overflow: hidden;",
                "}",
                "/*吧广播页*/",
                ".container>.content{",
                "	width: 1002px !important;",
                "}",
                "",
                "/*帖子列表页话题*/",
                ".interview .threadListGroupCnt{",
                "	padding: 12px 0 !important;",
                "	background: none;",
                "	z-index: 4;",
                "}",
                ".interview .threadListGroupCnt .listTitleCnt{",
                "	display: flex;",
                "	margin: 0 !important;",
                "	margin-bottom: 10px !important;",
                "}",
                ".interview .threadListGroupCnt .listTitleCnt .listReplyNum {",
                "	float: none !important;",
                "	width: 8% !important;",
                "	min-width: 75px !important;",
                "	padding: 0 14px 0 10px !important;",
                "	box-sizing: border-box;",
                "	margin-top: -3px !important;",
                "	",
                "	background: none !important;",
                "	overflow: hidden;",
                "	height: 24px !important;",
                "	line-height: 24px !important;",
                "	text-align: center;",
                "	color: #666;",
                "	margin: 0 !important;",
                "	border-radius: 12px;",
                "}",
                ".interview .threadListGroupCnt .listTitleCnt .listReplyNum:after {",
                "	content: \'\';",
                "	display: block;",
                "	transform: translateY(-100%);",
                "	background: rgba(0,0,0,.04) !important;",
                "	height: 24px !important;",
                "	border-radius: 12px;",
                "}",
                ".interview .threadListGroupCnt .listTitleCnt .listUser{",
                "	float: none !important;",
                "	display: flex;",
                "	width: 16% !important;",
                "	min-width: 155px;",
                "	padding: 0 !important;",
                "	padding-right: 20px  !important;",
                "	white-space: nowrap;",
                "	overflow: visible !important;",
                "	line-height: 20px !important;",
                "}",
                ".interview .threadListGroupCnt .listTitleCnt .listThreadTitle{",
                "	float: none !important;",
                "	width: 0 !important;",
                "	flex: 1;",
                "	display: flex;",
                "	margin-right: 20px;",
                "	padding: 0 !important;",
                "	box-sizing: border-box;",
                "	height: auto !important;",
                "	overflow: visible;",
                "}",
                ".interview .threadListGroupCnt .listUser a{",
                "	background: none !important;",
                "	padding: 0 !important;",
                "	display: inline-block;",
                "	width: auto !important;",
                "	overflow: hidden;",
                "	text-overflow: ellipsis;",
                "	white-space: nowrap;",
                "	font-size: 12px;",
                "	line-height: 20px !important;",
                "	text-decoration: none !important;",
                "}",
                ".interview .topic_thread_danmu,",
                ".interview .threadListGroupCnt .listDescCnt,",
                ".interview .threadListGroupCnt .listBtnCnt,",
                ".interview .threadListGroupCnt .listTalkCnt,",
                ".interview .threadListGroupCnt .listPostCnt,",
                ".interview .threadListGroupCnt .listEditorCnt {",
                "	margin-left: 78px;",
                "	margin-right: 40px;",
                "}",
                "#interview-share-wrapper,",
                ".interview .threadListGroupCnt .mini .faceIcon,",
                "#liveIcon{",
                "	display: none !important;",
                "}",
                ".interview .threadListGroupCnt .listTitleCnt .listThreadTitle a:first-of-type:before{",
                "	content: \'今日话题\';",
                "	background-color: #4285F5;",
                "	height: 20px !important;",
                "	line-height: 20px;",
                "	border-radius: 4px;",
                "	padding: 0 4px;",
                "	vertical-align: top;",
                "	",
                "	flex: 0 0 auto;",
                "	display: inline-block !important;",
                "	width: auto !important;",
                "	margin-top: 1px;",
                "	margin-right: 2px;",
                "	text-align: center;",
                "	font-size: 12px !important;",
                "	font-style: normal !important;",
                "	color: #fff !important;",
                "}",
                ".interview .threadListGroupCnt .listTitleCnt .listThreadTitle img[src*=\"interview_icon.gif\"]+a:first-of-type:before{",
                "	content: \'访谈直播\';",
                "}",
                "",
                "/*还弹幕...真的笑,笑出声*/",
                ".opui-barrage-setup {",
                "	position: absolute;",
                "	top: 0;",
                "	left: 100%;",
                "	overflow: hidden;",
                "	text-indent: 0;",
                "	cursor: pointer;",
                "	",
                "	width: 24px;",
                "	height: auto !important;",
                "	border-radius: 0 6px 6px 0;",
                "	box-shadow: -2px 2px 2px 0 rgba(0, 0, 0, 0.08);",
                "	background: #4879BD !important;",
                "	word-break: break-all;",
                "	padding: 10px 6px;",
                "	box-sizing: border-box;",
                "	line-height: 16px;",
                "	font-size: 12px;",
                "	color: #fff;",
                "}",
                ".opui-barrage-setup:before{",
                "	content: \"\\e56b\";",
                "	font-size: 16px;",
                "	font-family: \'Material Icons\';",
                "	font-style: normal;",
                "	display: inline-block;",
                "	height: 20px;",
                "	vertical-align: top;",
                "	margin-left: -1.5px;",
                "}",
                ".opui-barrage-setup:after{",
                "	content: \"展开弹幕\"",
                "}",
                "",
                ".interview .threadListGroupCnt .mini{",
                "	background: rgba(0, 0, 0, 0.04) !important;",
                "	border: none !important;",
                "	border-bottom: 4px solid rgba(0, 0, 0, .04) !important;",
                "}",
                "",
                ".interview .threadListGroupCnt .mini .placeholder:before{",
                "	position: absolute;",
                "	right: 8px;",
                "	top: 2px;",
                "	color: #aaa !important;",
                "}",
                ".interview .threadListGroupCnt .listTalkCnt,",
                ".interview .threadListGroupCnt .listPostCnt{",
                "	background: rgba(0, 0, 0, .01) !important;",
                "	border: 1px solid rgba(0, 0, 0, .1) !important;",
                "	padding: 6px 0;",
                "}",
                ".interview .threadListGroupCnt .listGroupCnt{",
                "	padding: 0 10px;",
                "}",
                ".interview .threadListGroupCnt .listItemCnt{",
                "	background: none !important;",
                "	border-top: 1px solid rgba(0, 0, 0, .04); ",
                "}",
                ".interview .threadListGroupCnt .listItemCnt:first-of-type{",
                "	border-top: none; ",
                "}",
                ".interview .pInfoCnt .pReply,",
                ".interview .pInfoCnt .pLogin,",
                ".interview .threadListGroupCnt .pTail .pFrom{",
                "	color: #999;",
                "	text-decoration: none !important;",
                "	text-transform: capitalize;",
                "}",
                ".interview .threadListGroupCnt .listTalkCnt .listTitle,",
                ".interview .threadListGroupCnt .listPostCnt .listTitle{",
                "	position: absolute;",
                "	z-index: 2;",
                "	left: -25px;",
                "	top: -1px;",
                "	width: 24px;",
                "	height: auto;",
                "	border-radius: 6px 0 0 6px;",
                "	border: 1px solid rgba(0, 0, 0, .1);",
                "	border-right: none;",
                "	background: #fefefe;",
                "	overflow: hidden;",
                "	word-break: break-all;",
                "	padding: 10px 6px;",
                "	box-sizing: border-box;",
                "	line-height: 16px;",
                "	font-size: 12px;",
                "	color: #aaa;",
                "}",
                ".interview .threadListGroupCnt .listPostCnt .listTitle:before{",
                "	content:\'吧友讨论\'",
                "}",
                ".interview .threadListGroupCnt .listTalkCnt .listTitle:before{",
                "	content:\'访谈内容\';",
                "	color: #4879BD;",
                "}",
                "",
                ".interview .threadListGroupCnt .listBtnCnt .slideBtn{",
                "	border-radius: 6px 6px 0 0;",
                "	border: 1px solid rgba(0,0,0,.1);",
                "	background: #fff;",
                "	color: #2D64B3;",
                "	width: auto;",
                "	height: 20px;",
                "	line-height: 20px;",
                "	margin-top: 6px;",
                "	padding: 0 6px;",
                "}",
                ".interview .threadListGroupCnt .listBtnCnt .slideBtn:before{",
                "	content: \'展开\';",
                "}",
                ".interview .threadListGroupCnt .listBtnCnt .slideBtn:after {",
                "	content: \'\\e313\';",
                "	font-family: \'Material Icons\';",
                "	font-size: 20px;",
                "	display: inline-block;",
                "	vertical-align: top;",
                "	text-indent: 0;",
                "	width: 16px;",
                "	margin-left: -2px;",
                "}",
                ".interview .threadListGroupCnt .listBtnCnt .slideBtn.down{",
                "	border-bottom: none;",
                "}",
                ".interview .threadListGroupCnt .listBtnCnt .slideBtn.down:before{",
                "	content: \'收起\';",
                "}",
                ".interview .threadListGroupCnt .listBtnCnt .slideBtn.down:after {",
                "	content: \'\\e316\';",
                "}",
                ".interview .listBtnCnt .list_announcement_cnt{",
                "	padding: 0 !important;",
                "	background: none !important;",
                "}",
                ".interview .listBtnCnt .list_announcement_cnt:before{",
                "	content: \'\\e050\';",
                "	font-family: \'Material Icons\';",
                "	font-size: 20px;",
                "	display: inline-block;",
                "	vertical-align: top;",
                "	text-indent: 0;",
                "	color: #aaa;",
                "	margin-right: 2px;",
                "}",
                "/*link-icon*/",
                ".apc_src_wrapper{",
                "	background:none !important;",
                "	padding-left: 0 !important;",
                "}",
                ".apc_src_wrapper:before{",
                "	content: \'\\e157\';",
                "	font-family: \'Material Icons\';",
                "	font-size: 18px;",
                "	display: inline-block;",
                "	vertical-align: top;",
                "	margin-right: 2px;",
                "}",
                "/*语音*/",
                ".voice_player a.voice_player_inner{",
                "	display: inline-block;",
                "	width: 160px;",
                "	height: 24px;",
                "	line-height: 24px;",
                "	padding: 3px 4px;",
                "	background: rgba(0,0,0,.04);",
                "	border: 1px solid rgba(0,0,0,.04);",
                "	box-shadow: none;",
                "	border-radius: 4px;",
                "	color: #666;",
                "	position: relative;",
                "}",
                ".voice_player_mini{",
                "	width: auto !important;",
                "	vertical-align: middle;",
                "}",
                ".voice_player_mini a.voice_player_inner{",
                "	width: 100px;",
                "}",
                ".voice_player .middle{",
                "	width: 100%;",
                "	white-space: nowrap;",
                "	background: none !important;",
                "	position: absolute;",
                "	top: 0;",
                "	left: 0;",
                "	padding: 0 4px;",
                "}",
                ".voice_player_mini .middle{",
                "	top: 3px;",
                "}",
                ".voice_player .time {",
                "	padding-right: 16px;",
                "	width: auto !important;",
                "	float: right;",
                "}",
                ".voice_player .before,",
                ".voice_player .after{",
                "	display: none !important;",
                "}",
                ".voice_player_inner.playing,",
                ".voice_player.playing a.voice_player_inner{",
                "	animation-name: breathe;",
                "	 animation-duration: 1s;",
                "	 animation-iteration-count: infinite;",
                "	 animation-timing-function: linear;",
                "	animation-direction: alternate;",
                "}",
                "@keyframes breathe {",
                "	from {box-shadow:inset 0 0 2px rgba(255,255,255,0);}",
                "	to {box-shadow:inset 0 0 10px rgba(0,0,0,.2);}",
                "}",
                ".voice_player .speaker{",
                "	background: none !important;",
                "	vertical-align: top;",
                "}",
                ".voice_player .speaker:before{",
                "	content: \'\\e037\';",
                "	font-family: \'Material Icons\';",
                "	font-size: 24px;",
                "	display: inline-block;",
                "}",
                ".loading .speaker:before{",
                "	content: \'\\e86a\';",
                "	animation-name: rotate;",
                "	 animation-duration: 2s;",
                "	 animation-iteration-count: infinite;",
                "	 animation-timing-function: linear;",
                "}",
                "@keyframes rotate {",
                "	from {transform:rotate(0deg);}",
                "	to {transform:rotate(360deg);}",
                "}",
                ".playing .speaker:before{",
                "	content: \'\\e047\';",
                "}",
                "/*发帖话题*/",
                ".topic_sug_box_wrapper{",
                "	z-index: 9999;",
                "	margin-top: 20px;",
                "	margin-left: -8px;",
                "}",
                ".tb_rich_poster .poster_body .topic_add_btn{",
                "	position: absolute;",
                "	top: 0;",
                "	right: 0;",
                "	height: 40px;",
                "	line-height: 40px;",
                "	text-align: center;",
                "	margin: 0 !important;",
                "	overflow: hidden;",
                "	box-sizing: border-box;",
                "	background: rgba(0,0,0,.04) !important;",
                "	border-bottom: 4px solid rgba(0, 0, 0, 0);",
                "	transition-property: border;",
                "	transition-duration: 1s;",
                "	transition-timing-function: ease;",
                "}",
                ".tb_rich_poster .poster_body .topic_add_btn:hover{",
                "	border-bottom: 4px solid rgba(0, 0, 0, .1);",
                "}",
                ".tb_rich_poster .poster_body .topic_add_btn:before{",
                "	content: \'#\';",
                "	font-family: fantasy;",
                "	font-size: 22px;",
                "	font-weight: bold;",
                "	color: #999 !important;",
                "	position: absolute;",
                "	left: 50%;",
                "	top: 50%;",
                "	transform: translate(-50%, -50%);",
                "	transition-property: transform;",
                "	transition-duration: .5s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                ".tb_rich_poster .poster_body .topic_add_btn:hover:before{",
                "	transform: translate(-50%, -50%) translateY(-38px);",
                "}",
                ".tb_rich_poster .poster_body .topic_add_btn:after {",
                "	content: \"话题\";",
                "	color: #666 !important;",
                "	font-size: 12px;",
                "	position: absolute;",
                "	left: 50%;",
                "	top: 50%;",
                "	transform: translate(-50%, -50%) translateY(38px);",
                "	transition-property: transform;",
                "	transition-duration: .5s;",
                "	transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);",
                "}",
                ".tb_rich_poster .poster_body .topic_add_btn:hover:after{",
                "	transform: translate(-50%, -50%);",
                "}",
                "/*帖子内页投票*/",
                "#voteFlashPanel .vote_buttons button{",
                "	text-indent: 0;",
                "}",
                ".vote_progress_base{",
                "	background: rgba(0,0,0,.1);",
                "}",
                ".vote_progress_bar_container {",
                "	height: 10px;",
                "	border: none !important;",
                "}",
                ".vote_progress_bar{",
                "	height: 10px;",
                "	opacity: .8;",
                "	border: none !important;",
                "}",
                ".spread_btn{",
                "	z-index: 999;",
                "}"
            ].join("\n");
        if (false || (new RegExp("^https?://(tieba.baidu.com|www.tieba.com)(/*|(?!/+tbmall/+).*)$")).test(document.location.href))
            css += [
                "/*T逗商城以外的页面*/",
                "/*主体框架*/",
                ".forum_info_wrap,",
                ".good_list_outer,",
                ".content {",
                "	margin: 20px auto !important;",
                "	background: #FdFdFd !important;",
                "	box-shadow: 0 0 20px 2px rgba(0, 0, 0, .1);",
                "	/*border: 1px solid #DBDCE0 !important;*/",
                "	box-sizing: border-box !important;",
                "	position: relative;",
                "	margin-bottom: 0 !important;",
                "	min-height: 0;",
                "	border-radius: 20px;",
                "}",
                ".skin_2103 [id=\"pagelet_frs-header/pagelet/head\"],",
                ".app_forum_body [id=\"pagelet_frs-header/pagelet/head\"],",
                ".head_top,",
                ".head_content,",
                ".card_banner {",
                "	border-radius: 20px 20px 0 0;",
                "}",
                "#main_wrapper #footer,",
                ".pb_footer,",
                ".foot,",
                ".forum_foot,",
                ".good_list_inner{",
                "	border-radius: 0 0 20px 20px;",
                "}",
                ".foot,",
                ".plat_skin .wrap1,",
                ".skin_2103 .wrap1,",
                ".app_forum_body .wrap1,",
                ".head_main .head_middle,",
                ".head_main .head_content,",
                ".search_form_fixed,",
                ".search_bright,",
                ".l_container,",
                ".forum_info_wrap,",
                ".good_list_outer,",
                ".content{",
                "	width: 980px !important;",
                "}",
                ".tbui_aside_float_bar {",
                "	margin-left: calc(980px / 2) !important;",
                "}",
                ".core_title_absolute_bright {",
                "	width: calc(980px + 58px) !important;",
                "}",
                ".l_container .content{",
                "	width: 100% !important;",
                "	border-top-left-radius: 10px;",
                "	border-top-right-radius: 10px;",
                "}",
                ".forum_info_wrap,",
                ".good_list_outer{",
                "	border-top-left-radius: 10px;",
                "	border-top-right-radius: 10px;",
                "}",
                ".header~.content {",
                "	margin: 0 auto !important;",
                "	border-radius: 0;",
                "	border-top: none !important;",
                "	border-bottom: none !important;",
                "}",
                ".head_content,",
                ".foot {",
                "	box-shadow: 0 0 20px 2px rgba(0, 0, 0, .1);",
                "	box-sizing: border-box;",
                "	/*border: 1px solid #DBDCE0 !important;*/",
                "	border-top: none !important;",
                "}",
                "#main_wrapper #footer,",
                ".ibody,",
                "body:not(.app_forum_body):not(.skin_2103) .head_top,",
                ".app_forum_body .app-header-wrapper,",
                ".skin_2103 .app-header-wrapper,",
                ".forum_content,",
                ".head_content,",
                ".foot {",
                "	background: #FdFdFd !important;",
                "}",
                ".ibody .w750,",
                "[id=\"pagelet_encourage-appforum/pagelet/head_top\"],",
                "[id=\"pagelet_navigation/pagelet/navigation\"],",
                "[id=\"pagelet_poster/pagelet/rich_poster\"]{",
                "	/*遮盖阴影*/",
                "	background: #FdFdFd !important;",
                "	position: relative;",
                "	z-index: 1;",
                "}",
                ".head_content {",
                "	border-bottom: none !important;",
                "}",
                ".foot {",
                "	border-top: none !important;",
                "	margin-bottom: 50px !important;",
                "}",
                "",
                ".head_content {",
                "	border-bottom: none !important;",
                "}",
                ".good_list_outer .card_top_wrap,",
                ".forum_info_wrap .card_top_wrap,",
                ".plat_recom_carousel,",
                ".star_head,",
                ".star_banner,",
                ".vertical_card_banner,",
                ".content>.card_top_wrap,",
                ".forum_header,",
                ".plat_head,",
                ".plat_banner{",
                "	border-radius: inherit;",
                "	border-bottom-left-radius: 0;",
                "	border-bottom-right-radius: 0;",
                "}",
                ".head_top{",
                "	margin-top: 30px !important;",
                "}",
                ".head_top+.head_content{",
                "	border-radius: 0;",
                "}",
                ".plat_banner{",
                "	overflow: hidden;",
                "}",
                ".pb_footer {",
                "	width: 100% !important;",
                "	background: none !important;",
                "}",
                ".pb_footer {",
                "	border-left: none !important;",
                "	border-right: none !important;",
                "}",
                ".forum_content {",
                "	border-right: none !important;",
                "	border-left: none !important;",
                "	border-bottom: none !important;",
                "	z-index: 3;",
                "	position: relative;",
                "}",
                ".forum_foot {",
                "	border-right: none !important;",
                "	border-left: none !important;",
                "	padding: 0 !important;",
                "}",
                ".frs_content_footer_pagelet {",
                "	width: 100% !important;",
                "	padding: 0 !important;",
                "}",
                ".forum_foot,",
                ".frs_content_footer_pagelet {",
                "	background:none !important;",
                "}",
                ".footer {",
                "	clear: both;",
                "	line-height: 22px;",
                "	text-align: center;",
                "	margin: 0 auto !important;",
                "	padding: 20px 0 !important;",
                "	display: block;",
                "	color: #bbb !important;",
                "}",
                ".footer * {",
                "	color: inherit !important;",
                "}",
                "",
                "/*全屏编辑框*/",
                ".tb-ueditor-fullscreen [id=\"pagelet_poster/pagelet/rich_poster\"],",
                ".tb-ueditor-fullscreen .tb_rich_poster_container{",
                "	padding-top: 0 !important;",
                "	z-index: 10000 !important",
                "}",
                "",
                ".tb-ueditor-fullscreen .poster_head,",
                ".poster_clear_fullscreen{",
                "	display: none !important;",
                "}",
                "",
                ".tb-ueditor-fullscreen #rich_ueditor_tpl{",
                "	padding-top: 20px !important;",
                "	width: 980px !important;",
                "	background-color: #FdFdFd !important;",
                "	margin: 0 auto !important;",
                "	padding-bottom: 40px !important;",
                "	box-shadow: 0 0 20px 2px rgba(0, 0, 0, .1);",
                "	border-radius: 0 0 20px 20px;",
                "}",
                "",
                ".tb-ueditor-fullscreen .edui-body-container{",
                "	height: 60vh;",
                "}",
                "",
                ".fullscreen-word-limit{",
                "	height: 40px !important;",
                "	line-height: 40px !important;",
                "	color: #ccc !important;",
                "}"
            ].join("\n");
        if (false || (new RegExp("^https?://(tieba.baidu.com|www.tieba.com)(/*|(?!/+home/+).*)$")).test(document.location.href))
            css += [
                "/*个人主页以外的页面*/",
                "",
                ".wrap1,",
                ".wrap2 {",
                "	background-color: transparent !important;",
                "}",
                "body:not(.app_forum_body):not(.skin_2103) .wrap1,",
                ".wrap2{",
                "	background-image: none !important;",
                "}"
            ].join("\n");
        if (false || (new RegExp("^https?://(tieba.baidu.com|www.tieba.com)/+p/+.*$")).test(document.location.href))
            css += [
                "/*帖子内页调整*/",
                "",
                ".tbui_aside_float_bar {",
                "	margin-bottom: 12vh;",
                "}",
                "",
                "#container {",
                "	margin-bottom: 80px !important;",
                "}",
                ".tb_rich_poster_container>.tb_rich_poster .poster_head_text{",
                "	padding: 0 14px !important;",
                "	color: #666;",
                "}",
                ".tb_rich_poster_container>.tb_rich_poster .poster_head_text:before{",
                "	content:\"\\e253\";",
                "	display: inline-block;",
                "	font-family: \'Material Icons\';",
                "	font-size: 16px;",
                "	width: 24px;",
                "	vertical-align: top;",
                "	text-align: center;",
                "	color: #777;",
                "	margin: 0 -4px;",
                "}"
            ].join("\n");
        if (false || (new RegExp("^https?://(tieba.baidu.com|www.tieba.com)/+p/+\\d+.*\\?(.*&)*see_lz=[1-9]+\\d*.*$")).test(document.location.href))
            css += [
                "/*帖子内页-只看楼主*/",
                "",
                ".core_title_btns #lzonly_cntn:before {",
                "	content: \"\\e8f5\" !important;",
                "	font-size: 30px !important;",
                "}",
                ".core_title_absolute_bright .core_title_btns #lzonly_cntn:before {",
                "	font-size: 34px !important;",
                "}",
                ".d_lzonly_bdaside:before {",
                "	content: \"取消\";",
                "}",
                ".louzhubiaoshi_wrap {",
                "	display: none !important;",
                "}"
            ].join("\n");
        if (false || (new RegExp("^https?://(tieba.baidu.com|www.tieba.com)/+home/+.*$")).test(document.location.href))
            css += [
                "/*个人主页*/",
                "/*迷之页面结构...无力吐槽....*/",
                "",
                "body>.wrap1 {",
                "	width: 980px;",
                "	border-radius: 20px;",
                "	overflow: visible !important;",
                "	/*border: 1px solid #DBDCE0 !important;*/",
                "	box-sizing: border-box;",
                "	background-position: center -20px;",
                "	margin-top: 90px;",
                "	box-shadow: 0 0 20px 2px rgba(0, 0, 0, .1);",
                "}",
                ".headinfo_wrap {",
                "	margin: 0 auto;",
                "	border-radius: 20px;",
                "	overflow: hidden;",
                "}",
                "#head {",
                "	margin: 0 auto;",
                "	position: absolute;",
                "	top: -80px !important;",
                "}",
                ".search_bright{",
                "	width: 982px !important;",
                "}",
                ".userinfo_wrap {",
                "	width: 100% !important;",
                "	border: none !important;",
                "}",
                ".container_wrap {",
                "	width: 100% !important;",
                "	border: none !important;",
                "	background: #FdFdFd !important;",
                "	border-radius: 0 0 20px 20px;",
                "	position: relative;",
                "}",
                ".left_aside {",
                "	background: none !important;",
                "	border: none !important;",
                "}",
                ".right_aside {",
                "	background: none !important;",
                "	border: none !important;",
                "}",
                ".right_aside > * {",
                "	background: none !important;",
                "	z-index: 2;",
                "	position: relative;",
                "}",
                ".right_aside:before {",
                "	width: 239px;",
                "	border-top: 1px solid #e0e0e0;",
                "	border-left: 1px solid #e0e0e0;",
                "	background: rgba(0, 0, 0, .02);",
                "	z-index: 1",
                "}",
                ".ihome_nav_wrap {",
                "	margin: 0 !important;",
                "}",
                ".footer {",
                "	position: absolute;",
                "	left: 50%;",
                "	bottom: -50px;",
                "	transform: translateX(-50%);",
                "}",
                ".content_wrap{",
                "	width: 742px !important;",
                "}",
                ".fix-for-ie8{",
                "	display: none !important;",
                "}"
            ].join("\n");
        if (false || (new RegExp("^https?://(tieba.baidu.com|www.tieba.com)/+(index.html.*)*([\\?#]+.*)*$")).test(document.location.href))
            css += [
                "/*贴吧首页*/",
                ".head_right_region{",
                "	width: 100% !important;",
                "	padding: 0 10px !important;",
                "	box-sizing: border-box;",
                "	float: none !important;",
                "}",
                ".search_logo {",
                "	position: absolute;",
                "	background-position: center !important;",
                "	z-index: 1;",
                "	pointer-events: none;",
                "}",
                ".search_top:before{",
                "	content: \"Desgin by Maverick\";",
                "	font-size: 0;",
                "	display: block;",
                "	width: 60px;",
                "	height: 30px;",
                "	pointer-events: auto;",
                "	float: none !important;",
                "}",
                "",
                "#spage-tbshare-container{",
                "	display: none;",
                "}",
                ".footer,",
                ".main-sec{",
                "	background: #FdFdFd !important;",
                "	box-shadow: 0 0 20px 2px rgba(0, 0, 0, .1);",
                "	position: relative;",
                "}",
                ".main-sec{",
                "	padding: 20px 10px !important;",
                "	border-radius: 10px 10px 0 0;",
                "}",
                ".main-sec>div{",
                "	position: relative;",
                "	z-index: 3;",
                "}",
                ".bottom-bg {",
                "	bottom: 0;",
                "	left: 0;",
                "	position: absolute !important;",
                "	height: 20px;",
                "	width: 100%;",
                "	z-index: 2 !important;",
                "	background: #FdFdFd;",
                "}",
                ".footer{",
                "	border: none !important;",
                "	width: 1020px;",
                "	padding: 0 !important;",
                "	padding-top: 20px !important;",
                "	border-radius:  0 0 20px 20px;",
                "	margin-bottom: 20px !important;",
                "}",
                ".footer p {",
                "	margin: 0 !important;",
                "}",
                ".tbui_aside_float_bar {",
                "	margin-left: 510px !important;",
                "}",
                ".wrap2:before {",
                "	display: none !important;",
                "}"
            ].join("\n");
        if (false || (new RegExp("^https?://(tieba.baidu.com|www.tieba.com)/+i/+.*$")).test(document.location.href))
            css += [
                "/*i贴吧*/",
                "#main_wrapper #footer,",
                ".ibody{",
                "	width: 980px !important;",
                "	border: none !important;",
                "	position: relative;",
                "}",
                ".footer{",
                "	margin-bottom: 20px !important;",
                "}",
                "#content{",
                "	position: relative;",
                "	padding: 10px;",
                "	padding-top: 40px;",
                "	margin: 0 !important;",
                "}",
                ".main_header,",
                ".ibody,",
                ".footer{",
                "	box-shadow: 0 0 20px 2px rgba(0, 0, 0, .1);",
                "}",
                ".main_header{",
                "	margin-bottom: 0 !important;",
                "	background-color: #4879BD;",
                "	background-image: url(http://onox.qiniudn.com/maverick/lines.svg);",
                "	background-position: right;",
                "	background-repeat: no-repeat;",
                "	border-radius: 6px 6px 0 0;",
                "	overflow: hidden;",
                "	height: 60px !important;",
                "	position: relative;",
                "}",
                ".nav_bar{",
                "	display: none !important;",
                "	background: none !important;",
                "	position: absolute;",
                "	bottom: 0;",
                "	padding: 0 2px;",
                "	box-sizing: border-box;",
                "}",
                ".nav_bar>li{",
                "	margin-right: 2px;",
                "}",
                ".nav_bar>li a{",
                "	background: none !important;",
                "	font-weight: normal !important;",
                "	font-size: 12px !important;",
                "	line-height: 32px  !important;",
                "}",
                ".nav_bar>li a:hover{",
                "	background: rgba(255,255,255,.16) !important;",
                "}",
                ".nav_bar>li.nav_cur a{",
                "	background: #f2f2f2 !important;",
                "	color: #4879BD !important;",
                "}",
                ".a_p_title,",
                ".nav_item_hot_flag,",
                ".tb_icon_new{",
                "	display: none !important;",
                "}",
                ".sub_nav{",
                "	margin: 0 !important;",
                "}",
                ".sub_nav>ul,",
                ".tab_content{",
                "	position: absolute;",
                "	top: 0;",
                "	left: 0;",
                "	width: 100%;",
                "	height: auto !important;",
                "	margin: 0 !important;",
                "	background: #f2f2f2 !important;",
                "	border-bottom: 1px rgba(0,0,0,.04) solid;",
                "}",
                ".sub_nav>ul>li,",
                ".tab_content>li{",
                "	display: inline-block !important;",
                "	background: none !important;",
                "	border: none !important;",
                "	position: static !important;",
                "	width: auto !important;",
                "	height: auto !important;",
                "	margin: 0 20px;",
                "	float: none !important;",
                "	line-height: 40px  !important;",
                "	overflow: visible !important;",
                "}",
                ".sub_nav>ul>li a,",
                ".tab_content>li a{",
                "	background: none !important;",
                "	font-weight: normal !important;",
                "	font-size: 12px !important;",
                "	line-height: inherit;",
                "	padding: 0 !important;",
                "	display: inline !important;",
                "	",
                "}",
                ".sub_nav>ul>li a:hover,",
                ".tab_content>li a:hover{",
                "	background: rgba(255,255,255,.16) !important;",
                "}",
                ".sub_nav>ul>li.current a,",
                ".tab_content>li.tab_cur a{",
                "	color: #4879BD !important;",
                "}",
                ".content_aside{",
                "	width: 100% !important;",
                "	position: absolute;",
                "	top: -60px;",
                "	left: 0;",
                "	height: 60px;",
                "}",
                ".w750{",
                "	width: 100%;",
                "	float: none;",
                "}",
                ".feed{",
                "	width: 100%;",
                "	padding: 0 6px;",
                "	margin: 0 !important;",
                "	box-sizing: border-box;",
                "}",
                "#xiangce{",
                "	width: 100% !important;",
                "	margin: 0 !important;",
                "}",
                ".aside_menu{",
                "	float: left;",
                "	margin: 0 !important;",
                "	margin-top: 28px !important;",
                "	padding: 0 10px!important;",
                "	width: auto;",
                "	height: 32px !important;",
                "	line-height: 32px !important;",
                "	box-sizing: border-box;",
                "}",
                ".aside_menu>ul>li{",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "	display: inline-block;",
                "	line-height: inherit !important;",
                "	font-size: 14px !important;",
                "	font-weight: normal !important;",
                "}",
                ".aside_menu>ul>li a{",
                "	display: inline-block;",
                "	background: none !important;",
                "	font: inherit !important;",
                "	color: #fff;",
                "	padding: 0 10px;",
                "}",
                ".aside_menu>ul>li a:hover{",
                "	background: rgba(255,255,255,.16) !important;",
                "}",
                ".aside_menu>ul>li.sel{",
                "	background: #f2f2f2 !important;",
                "	color: #4879BD !important;",
                "	padding: 0 10px !important;",
                "}",
                ".aside_home_li{",
                "	display: none !important;",
                "}",
                ".aside_person_info{",
                "	float: left;",
                "	border: none !important;",
                "	padding: 8px 10px  !important;",
                "	margin: 0 !important;",
                "	border-radius: 6px 0 6px 0;",
                "	background-color: #4879BD;",
                "	height: 40px;",
                "	overflow: hidden;",
                "	transition: height .4s ease;",
                "	z-index: 1;",
                "}",
                ".aside_person_info:after{",
                "	content: \'\';",
                "	position: absolute;",
                "	left:0;",
                "	top:0;",
                "	width: 100%;",
                "	height: 100%;",
                "	background: rgba(0,0,0,.1);",
                "	opacity: 0;",
                "	transition: opacity .4s ease;",
                "	pointer-events: none;",
                "}",
                ".aside_person_info:hover{",
                "	height: 115px;",
                "}",
                ".aside_person_info:hover:after{",
                "	opacity: 1;",
                "}",
                ".aside_person_info>div:not(.ui_bubble_wrap){",
                "	position: relative;",
                "	z-index: 1;",
                "}",
                ".aside_p_info_head{",
                "	border: none !important;",
                "	z-index: 2 !important;",
                "}",
                ".right_set{",
                "	position: absolute;",
                "	left: 2px;",
                "	top: 2px;",
                "}",
                ".right_set a{",
                "	position: relative;",
                "	display: block;",
                "	width: 100%;",
                "	height: 100%;",
                "	font-size: 0;",
                "	background: rgba(0,0,0,.4);",
                "	opacity: 0;",
                "	transition: opacity .4s ease;",
                "}",
                ".right_set a:hover{",
                "	opacity: 1;",
                "}",
                ".right_set a:before{",
                "	content: \'\\e8b8\';",
                "	font-family: \'Material Icons\';",
                "	color: #fff;",
                "	font-size: 28px;",
                "	position: absolute;",
                "	left: 50%;",
                "	top: 50%;",
                "	transform: translate(-50%,-50%);",
                "}",
                ".aside_person_info_wraper,",
                ".aside_userface_wraper,",
                "#img_aside_head,",
                ".aside_user_profile{",
                "	margin: 0 !important;",
                "	padding: 0 !important;",
                "}",
                ".aside_userface_wraper{",
                "	position: absolute;",
                "}",
                ".right_set,",
                ".aside_userface_border,",
                "#img_aside_head{",
                "	width: 40px  !important;",
                "	height: 40px  !important;",
                "}",
                ".aside_userface_border{",
                "	padding: 2px !important;",
                "	border: none !important;",
                "	background: rgba(255,255,255,.2) !important;",
                "}",
                ".aside_user_name,",
                ".aside_user_info,",
                ".aside_user_fans,",
                ".aside_user_concern,",
                ".my_tb_pmclink,",
                ".my_tb_pmclink a,",
                ".aside_interact_num{",
                "	color: #fff !important;",
                "}",
                ".aside_user_name,",
                ".aside_user_info{",
                "	padding-left: 54px;",
                "}",
                ".aside_user_fans,",
                ".aside_user_concern,",
                ".my_tb_pmclink{",
                "	text-align: center;",
                "}",
                ".aside_user_info:empty:before{",
                "	content:\'\\e016\';",
                "}",
                ".new_reply_num_tip{",
                "	color: #fff;",
                "	margin-right: 4px;",
                "	padding: 0 6px;",
                "	background: rgba(255,255,255,.2);",
                "	border-radius: 4px;",
                "}",
                ".new_reply_num_tip:empty{",
                "	display: none !important;",
                "}",
                "#featureList {",
                "	width: 100%;",
                "	box-sizing: border-box;",
                "	margin: 0 !important;",
                "	margin-top: 10px !important;",
                "}",
                ".sub_tab_content{",
                "	background: none !important;",
                "	border: none !important;",
                "	margin: 8px 0 !important;",
                "}",
                ".sub_tab a {",
                "	display: block;",
                "	color: #999;",
                "	padding: 0 10px;",
                "	background: rgba(0,0,0,.1);",
                "	border-radius: 4px;",
                "	border: none !important;",
                "	line-height: 22px;",
                "}",
                ".sub_tab_cur a{",
                "	color: #fff;",
                "	background: #4285F4;",
                "}",
                ".block,",
                ".simple_block_container li,",
                ".feed_item {",
                "	border-bottom: 1px solid rgba(0,0,0,.06) !important;",
                "}",
                ".block:last-of-type,",
                ".simple_block_container li:last-of-type,",
                ".feed_item:last-of-type{",
                "	border-bottom: none !important;",
                "}",
                ".feed_hover {",
                "	background: rgba(0,0,0,.02);",
                "}",
                ".feed_item {",
                "	display: flex;",
                "	position: relative;",
                "}",
                ".feed_left {",
                "	flex: 1;",
                "	float: none;",
                "	width: 0;",
                "	padding: 20px 10px;",
                "}",
                ".feed_right {",
                "	position: absolute;",
                "	padding: 0 10px 20px 0;",
                "	bottom: 0;",
                "	right: 0;",
                "	white-space: nowrap;",
                "	line-height: 22px;",
                "}",
                ".feed_time,",
                ".icon_reply{",
                "	float: right;",
                "	margin-left: 20px;",
                "	padding: 0 !important;",
                "	line-height: inherit;",
                "}",
                ".icon_reply a{",
                "	color: #aaa;",
                "	background: none !important;",
                "	margin: 0 !important;",
                "}",
                ".icon_reply a:before{",
                "	content: \'\\e253\';",
                "	font-family: \'Material Icons\';",
                "	display: inline-block;",
                "	font-size: 16px;",
                "	vertical-align: top;",
                "	margin-right: 2px;",
                "}",
                ".icon_reply .reply_del:before{",
                "	content: \'\\e872\';",
                "	font-size: 18px;",
                "}",
                ".reply_del{",
                "	display: inline !important;",
                "	visibility: hidden;",
                "}",
                ".showDelBtn .reply_del{",
                "	visibility: visible;",
                "}",
                ".goTop{",
                "	background: #fefefe !important;",
                "	width: 45px !important;",
                "	height: 50px !important;",
                "	margin-left: 490px !important;",
                "	border-radius: 0 10px 10px 0;",
                "	box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.08);",
                "	overflow: hidden;",
                "	font-size: 0;",
                "	white-space: nowrap;",
                "	text-indent: -45px;",
                "	transition-property: text-indent;",
                "	transition-duration: .6s;",
                "	transition-timing-function: ease;",
                "}",
                ".goTop:hover {",
                "	text-indent: 0px;",
                "}",
                ".goTop:after,",
                ".goTop:before{",
                "	display: inline-block;",
                "	color: #ccc;",
                "	width: inherit !important;",
                "	height: inherit !important;",
                "	box-sizing: border-box;",
                "	vertical-align: top;",
                "	white-space: normal;",
                "	text-indent: 0;",
                "}",
                ".goTop:before{",
                "	content: \"返回顶部\";",
                "	font-size: 14px;",
                "	line-height: 20px;",
                "	padding-top: 5px;",
                "	padding-left: 7px;",
                "}",
                ".goTop:after{",
                "	content: \"\\e255\";",
                "	font-size: 32px;",
                "	font-family: \'Material Icons\';",
                "	line-height: 50px;",
                "	text-align: center;",
                "	text-indent: -2px;",
                "}",
                "",
                ".itb_pager >*{",
                "	margin-right: 4px !important;",
                "}",
                ".pager{",
                "	float: none !important;",
                "	text-align: center;",
                "}",
                ".pager,",
                ".pager >*{",
                "	font-family: inherit !important;",
                "	left: 0 !important;",
                "}"
            ].join("\n");
        if (typeof GM_addStyle != "undefined") {
            GM_addStyle(css);
        } else if (typeof PRO_addStyle != "undefined") {
            PRO_addStyle(css);
        } else if (typeof addStyle != "undefined") {
            addStyle(css);
        } else {
            var node = document.createElement("style");
            node.type = "text/css";
            node.appendChild(document.createTextNode(css));
            var heads = document.getElementsByTagName("head");
            if (heads.length > 0) {
                heads[0].appendChild(node); 
            } else {
                // no head yet, stick it whereever
                document.documentElement.appendChild(node);
            }
        }
    }
    //百度贴吧:不登录即可看贴 by VA
    unsafeWindow.Object.freeze = null;
    document.addEventListener('DOMContentLoaded', function (event) {
        try {
            unsafeWindow.PageData.user.is_login = 1;
        } catch (error) {
        }
    }, true);
    //梦姬贴吧助手 by jixun
    (function(){
        var w = unsafeWindow, _main;
        jQuery(function ($) {
            var iv = setInterval(function () {
                if (w.jQuery && w.PageData && w.PageData.tbs) {
                    clearInterval(iv);
                    console.log('PageData loaded.');

                    if (!w.bdShare) {
                        w.bdShare = unsafeObject({
                            ready: false
                        });
                    }

                    w.PageData.games = unsafeObject([]);

                    unsafeExec (function () {
                        // 改进自 congxz6688 的 tieba_quote [#147]
                        // 节取自 寂寞的原子 的  悬浮窗脚本 [#116]
                        _.Module.use("common/widget/RichPoster", {},
                                     function (t) {
                            t.init();
                            t.unbindScrollEvent();
                        });
                    });

                    _main ($, w.PageData);
                }
            }, 500);

            setTimeout (function () {
                // 15s later force kill waiting.
                clearInterval (iv);
            }, 15000);
        });

        var __type_floor   = 1,
            __type_lzl     = 2,
            __type_forum   = 4,
            __type_postact = 8;

        var __mod_default  = 0,
            __mod_enable   = 1,
            __mod_disable  = 2;

        _main = function ($, wPageData) {
            // 检查是否在贴吧
            if (!wPageData.forum) return ;
            var isThread = !!wPageData.thread;
            var _css  = $('<style>');
            var _cssH = $('<style>').text('.ads{display:none !important;}');


            //// Function Helper
            Object.defineProperty (Function.prototype, 'extract', {
                value: function () {
                    return this.toString().match(/\/\*([\s\S]+)\*\//)[1];
                }
            });

            var _function = function (foo, proto) {
                foo.prototype = proto;
                return foo;
            };

            var $conf = new (_function (function () {}, {
                get: function (m, def) {
                    var val = GM_getValue (m, null);
                    if (!val) return def;

                    try {
                        return JSON.parse (val);
                    } catch (e) {
                        return def;
                    }
                },
                set: function (m, val) {
                    return GM_setValue (m, JSON.stringify (val));
                },
                rm: function () {
                    [].forEach.call (arguments, GM_deleteValue);
                },
                ls: function () {
                    return GM_listValues ();
                }
            })) ();

            var _hide = function () {
                _cssH.prepend (Array.prototype.join.call(arguments, ',') + ',');
            };


            var _run = function (foo, name) {
                // console.groupCollapsed ('[贴吧助手]: ' + (name || '[未知区段]'));

                for (var args = [], i = 2, ret; i<arguments.length; i++)
                    args.push (arguments[i]);

                try {
                    ret = foo.apply (this, args);
                    if (ret !== undefined)
                        console.info ('[贴吧助手][返回][%s]: %s', name || '[未知区段]', ret);
                } catch (err) {
                    console.error ('[贴吧助手][错误][%s]: %s', name || '[未知区段]', err.message);
                    console.error (err);
                }
                // console.groupEnd ();

                return ret;
            };

            $.fn.getField = function () {
                // var $data = this.attr('data-field');
                var $data = this.data ('field');

                if ('string' == typeof $data[1])
                    return JSON.parse($data.replace(/'/g, '"'));
                return $data;
            };

            $.goToEditor = function () {
                $('#ueditor_replace').focus ();
                $.scrollTo($('#tb_rich_poster_container'), 500);
            };
            $.create = function (ele, cls, attr) {
                var r = $(document.createElement (ele));

                if (cls)
                    r.addClass (cls);
                if (attr)
                    r.attr (attr);

                return r;
            };
            $.stamp = function () {
                return + new Date ();
            };
            $.toDateStr = function (d) {
                return d.toLocaleString();
            };

            var modules = {
                "rmBottom": {
                    name: '移除底部工具栏',
                    desc: '移除美化贴吧时底部出现的工具栏。',
                    flag: 0,
                    def: false,
                    _init: function () {
                        $('#j_core_title_wrap').remove();
                    }
                },
                "ads_hide": {
                    name: '广告隐藏、屏蔽',
                    desc: '屏蔽无用、广告内容',
                    flag: ~0,
                    def: true,
                    _init: function () {
                        var $ads = [
                            // 贴吧推广
                            '.spreadad, .game_frs_step1, .BAIDU_CLB_AD, .dasense, .u9_head',
                            '.j_click_stats, .p_postlist>div:not(.l_post):not(.p_postlist)',
                            '[id="pagelet_frs-header/pagelet/head_content_middle"]',
                            '[id="pagelet_encourage-appforum/pagelet/my_app"]',
                            '.life_helper',

                            // 到处插入的广告
                            '[data-daid]',

                            // 右下角广告
                            '#game_pop_window',

                            // 直播
                            '#game_live_list',

                            // 10 年
                            '#j_ten_years',

                            // 1l 下方的广告
                            '#sofa_post, .banner_post',

                            // 贴吧顶部广告
                            '#pb_adbanner',

                            // 图片页面
                            '.af_head_gamelink',

                            // 左右侧
                            '.j_couplet',

                            // 右侧
                            '#encourage_entry',
                            '.platform_aside_tieba_partner',

                            // 客户端发贴 x 倍经验
                            '.tb_poster_placeholder',

                            // 语音按钮 (需要客户端)
                            '.edui-btn-voice, .j_voice_ad_gif, .lzl_panel_voice',

                            // 发帖请遵守 ....
                            '.poster_head_surveillance',

                            // 不水能死何弃疗!
                            '.lzl_panel_wrapper > tbody > tr > td:first-child > p',

                            // 会员相关广告
                            '.doupiao_offline, .fMember_cnt',

                            // 右上角
                            '.u_tshow, .u_tbmall, .u_app, .u_wallet, .u_xiu8',
                            '.u_mytbmall, .u_joinvip, .u_baiduPrivilege, .u_appcenterEntrance',

                            // 右下角
                            '#pop_frame, #__bdyx_tips, #__bdyx_tips_icon',

                            // 猜拳
                            '.add_guessing_btn, .guessing_watermark',

                            // 帖子推荐
                            '.thread_recommend',

                            // 右下角广告
                            '#__bdyx_tips, #__bdyx_tips_icon, .baidu-tuisong-wrap, .baidutuisong',

                            // 打赏、分享
                            '.reward_btn, .share_btn_wrapper',

                            // 烟花
                            '.firework_sender_wrap, .global_notice_wrap',

                            '.tbui_fbar_share, .tbui_fbar_tsukkomi, .tbui_fbar_props, .tbui_fbar_square, .tbui_fbar_home',

                            '#tshow_out_date_warn, #selectsearch-icon',

                            // 贴吧推荐
                            '#forum_recommend'
                        ].join(', ');

                        $($ads).remove();
                        $('<style>').text($ads + /* File: ads_hide.css */
                                          (function () { /*
 {
display:none !important;
}

#com_userbar_message {
	right: 30px !important;
	top: 28px !important;
}

#com_userbar_message > .j_ui_triangle {
	left: 65px !important;
}
*/}).extract ()).appendTo (document.head);

                        // 只保留 [看帖、图片、精品、视频] 四个选项
                        $('.j_tbnav_tab').filter (function (i) { return i > 3; }).remove ();

                        // 执行三次, 确保分隔符会消失
                        for (var i = 3; i--; ) {
                            setTimeout (function () {
                                $('.split_text').next('.split_text').remove();
                                $('.split').filter(function () {
                                    return this.nextElementSibling === null
                                        || this.nextElementSibling.className == this.className
                                        || !$(this.nextElementSibling).is(':visible');
                                }).remove();
                            }, 3000 * i);
                        }

                        this.removePromoteThread();
                    },

                    _proc: function (floorType, args) {
                        if (floorType == __type_forum) {
                            if (args.thread.find('.threadlist_rep_num').text() == '推广')
                                args.thread.remove();
                        }
                    },

                    removePromoteThread: function () {
                        // 清理帖子列表的推广
                        var it = document.evaluate('//*[@id="thread_list"]/li/div/div/div[text()="推广"]', document.body, null, XPathResult.ANY_TYPE, null);
                        var thread, threads = [];

                        while (thread = it.iterateNext())
                            threads.push(thread);

                        $(threads).parents('li').remove();
                    }
                }
                ,
                "ads_thread_list": {
                    name: '屏蔽直播贴等乱七八糟内容 (实验性)',
                    desc: '如题。',
                    flag: ~0,
                    def: false,
                    _init: function () {
                        var $ads = [
                            // 帖子列表顶部, 如直播贴
                            '#threadListGroupCnt'
                        ].join(', ');

                        $($ads).remove();
                        $('<style>').text($ads + '{display: none !important}').appendTo('head');
                    }
                },
                "audio_download": {
                    name: '贴吧语音下载',
                    desc: '下载贴吧语音~ 啦啦啦~',
                    flag: __type_floor | __type_lzl,
                    _proc: function (floorType, args) {
                        var _player = $('.voice_player:not(.parsed)', args._main);
                        if (!_player.size()) return '找不到语音';

                        var data = _player.parents('[data-field]').getField(),
                            pid = data.spid || data.content.post_id;

                        _player.addClass('parsed').after (
                            $('<a>').addClass('ui_btn ui_btn_m')
                            .attr({
                                href: '/voice/index?tid=' + wPageData.thread.thread_id + '&pid=' + pid,
                                download: '语音-' + (data.user_name || data.author.user_name) + '-' + pid + '.mp3'
                            })
                            .css ({
                                marginLeft: '1em'
                            })
                            .append ($('<span>').text('下载'))
                        ).after($('<br>'));
                    }
                },
                "block_post": {
                    name: '贴吧贴子屏蔽',
                    desc: '根据规则屏蔽指定贴子',
                    flag: __type_floor | __type_forum | __type_lzl,

                    // 辅助函数
                    _match_type: function (_M) {
                        switch (_M) {
                            case this.__M_REGEX:
                                return 'tp_regex';
                            case this.__M_PLAIN:
                                return 'tp_plain';
                        }

                        return 'undefined_' + _M;
                    },
                    // 辅助函数
                    _range: function (old, min, max) {
                        return Math.min (Math.max (min, old), max);
                    },

                    // 初始化样式表
                    _init: function () {
                        _css
                            .append ('ul#jx_post_kword > li {margin-bottom: .2em}')
                            .append ('.jx_word { padding: 0 .5em; width: 8em } span.regex::before, span.regex::after { content: "/"; color: #777 }')
                            .append ('span.regex > .jx_word { border: 0; padding: 0 .2em }')
                            .append ('.jx_modifier { width: 4em; border: 0; padding: 0 0 0 .2em }')

                            .append ('.jx_post_block_stripe::before{content: "共隐藏 " attr(hide-count) " 个数据"}');


                        $.extend (this, {
                            // Action to take when match
                            __ACT_BAR:  0,
                            __ACT_OPA:  1,
                            __ACT_HIDE: 2,

                            // Keyword match method
                            __M_REGEX:  0,
                            __M_PLAIN:  1
                        });

                        this.config = $.extend ({
                            onmatch: this.__ACT_OPA,
                            opacity: 30,

                            kword: [{
                                type: this.__M_PLAIN,
                                word: '泽火革'
                            }],
                            user: [
                                '炮弹56',
                                '炮弹52'
                            ]
                        }, $conf.get (this.id));
                        this._compileRegex ();

                        this.$tplConfig = /* File: block_post.html */
                            (function () { /*
<div class="jx_autoflow">
	<h3>当匹配到时的操作</h3>
	<p>
	<select id="jx_post_match">
		<option value="0" {{#tp_bar}}selected{{/tp_bar}}>红条</option>
		<option value="1" {{#tp_opa}}selected{{/tp_opa}}>透明</option>
		<option value="2" {{#tp_hide}}selected{{/tp_hide}}>隐藏</option>
	</select>

	<label title="0 表示完全透明 (占位难看哦); 0~100"{{^tp_opa}} class="hide"{{/tp_opa}}>透明度
		<input type="number" id="jx_post_opa" class="text-center" value="{{opacity}}" style="width: 5em" />%
	</label>
	</p>
	<br />

	<h3>内容屏蔽规则</h3>
	<ul id="jx_post_kword">
	{{#kword}}
		<li>
	<select class="jx_word_type">
		<option value="0" {{#tp_regex}}selected{{/tp_regex}}>正则</option>
		<option value="1" {{#tp_plain}}selected{{/tp_plain}}>文本</option>
	</select>

	<span{{#tp_regex}} class="regex"{{/tp_regex}}><input class="jx_word" value="{{word}}" /></span><!--
 --><input class="jx_modifier{{^tp_regex}} hide{{/tp_regex}}" value="{{modi}}" />

	[ <a class="ptr jx-rm-key" >删除</a> ]
</li>
	{{/kword}}
	</ul>
	<p><a class="ui_btn ui_btn_m" data-btn="add"><span><em>添加</em></span></a></p>
	<br />

	<h3>用户屏蔽列表</h3>
	<p>用户列表,一行一个</p>
	<!-- Hackish solution -->
	<div style="padding-right: 10px;">
		<textarea id="jx_post_user" row=5 style="width: 100%; padding: .2em">{{user}}</textarea>
	</div>
	<br />

	<p class="text-center">
		<a class="ui_btn ui_btn_m" data-btn="save"><span><em>储存</em></span></a> &nbsp; 
		<a class="ui_btn ui_btn_m" data-btn="close"><span><em>放弃</em></span></a>
	</p>
</div>
*/}).extract ();
                        this.$tplAddWord = /* File: block_post_kword.html */
                            (function () { /*
<li>
	<select class="jx_word_type">
		<option value="0" {{#tp_regex}}selected{{/tp_regex}}>正则</option>
		<option value="1" {{#tp_plain}}selected{{/tp_plain}}>文本</option>
	</select>

	<span{{#tp_regex}} class="regex"{{/tp_regex}}><input class="jx_word" value="{{word}}" /></span><!--
 --><input class="jx_modifier{{^tp_regex}} hide{{/tp_regex}}" value="{{modi}}" />

	[ <a class="ptr jx-rm-key" >删除</a> ]
</li>
*/}).extract ();

                        this.css = $('<style>').appendTo (document.head);
                        this._rebuildStyle ();
                    },

                    // 重构样式表
                    _rebuildStyle: function () {
                        var sBuilder = '.jx_post_block_act {';
                        switch (this.config.onmatch) {
                            case this.__ACT_BAR:
                                sBuilder += 'display: none;';
                                break;
                            case this.__ACT_HIDE:
                                sBuilder += [
                                    'display: none;',
                                    '}',

                                    '.jx_post_block_stripe {',
                                    'display: none'
                                    // , '}'
                                ].join ('');
                                break;
                            case this.__ACT_OPA:
                                sBuilder += [
                                    'opacity: ' + (this.config.opacity / 100) + ';',
                                    'transition: opacity .5s;',
                                    '}',

                                    '.jx_post_block_act:hover {',
                                    'opacity: .9;',
                                    '}',

                                    '.jx_post_block_stripe {',
                                    'display: none'
                                    // , '}'
                                ].join ('');
                                break;
                        }

                        sBuilder += '}';
                        this.css.text(sBuilder);
                    },
                    // 编译正则匹配
                    _compileRegex: function () {
                        var that = this;
                        this.config.kword.forEach (function (e) {
                            try {
                                if (e.type === that.__M_REGEX)
                                    e.regex = new RegExp (e.word, e.modi);
                            } catch (err) {
                                console.error ('编译正则表达式时出错!\n表达式: %s, 开关: %s', err.word, err.modi);
                                err.regex = { test: function () { return false; } };
                            }
                        });
                    },

                    // 配置窗口回调
                    _conf: function () {
                        var $view = $.extend(true, {}, this.config);

                        $view.tp_hide = $view.onmatch === this.__ACT_HIDE;
                        $view.tp_opa  = $view.onmatch === this.__ACT_OPA;
                        $view.tp_bar  = $view.onmatch === this.__ACT_BAR;

                        for (var i = 0; i < $view.kword.length; i++)
                            $view.kword[i][this._match_type($view.kword[i].type)] = true;
                        $view.user = $view.user.join ('\n');

                        var $tpl = $(Mustache.render (this.$tplConfig, $view));

                        var $wndBlocker = $.dialog.open ($tpl, {
                            title: '贴子关键字屏蔽',
                            width:  300,
                            height: 400
                        });

                        var that = this;
                        $tpl.on ('click', 'a.jx-rm-key', function () {
                            // 移除那一行
                            $(this).parent ().remove ();
                        }).on ('change', '.jx_word_type', function () {
                            var isRegex = parseInt (this.value) === that.__M_REGEX;

                            var line = $(this).parent ();
                            line.find ('.jx_word').parent().toggleClass ('regex', isRegex);
                            line.find ('.jx_modifier').toggleClass ('hide', !isRegex);
                        }).on ('change', '#jx_post_match', function () {
                            $('#jx_post_opa', $tpl).parent ().toggleClass ('hide', parseInt (this.value) !== that.__ACT_OPA);
                        }).on ('click', '.ui_btn', function () {
                            switch ($(this).data('btn')) {
                                case 'add':
                                    var $tplAdd = $(Mustache.render(that.$tplAddWord, {
                                        tp_plain: true
                                    }));
                                    $('#jx_post_kword', $tpl).append ($tplAdd);
                                    $tplAdd.find ('.tg_focus').removeClass ('.tg_focus').focus();
                                    break;
                                case 'save':
                                    var newConf = {
                                        onmatch: parseInt ($('#jx_post_match', $tpl).val()),
                                        opacity: that._range (parseInt ($('#jx_post_opa', $tpl).val()), 0, 100),
                                        kword: [],
                                        user:  $('#jx_post_user', $tpl).val().split ('\n')
                                    };
                                    $('#jx_post_kword > li').each (function () {
                                        var rule = $(this);
                                        newConf.kword.push ({
                                            type: parseInt (rule.find ('select').val ()),
                                            word: rule.find ('.jx_word').val (),
                                            modi: rule.find ('.jx_modifier').val ()
                                        });
                                    });
                                    $conf.set (that.id, newConf);
                                    that.config = newConf;

                                    that._compileRegex ();
                                    that._rebuildStyle ();
                                    $wndBlocker.close ();
                                    break;
                                case 'close':
                                    $wndBlocker.close ();
                                    break;
                            }
                        });
                    },

                    // 标记贴子为隐藏
                    _hit: function (floor) {
                        floor.addClass ('jx_post_block_act');

                        if (floor.prev().is('script'))
                            floor.prev().remove ();

                        if (floor.prev().is('.jx_post_block_act')) {
                            // 寻找横条
                            var prev = floor.prev ();
                            while (!prev.is ('.jx_post_block_stripe'))
                                prev = prev.prev ();

                            prev.attr ('hide-count', parseInt (prev.attr ('hide-count')) + 1);
                        } else {
                            $('<div>').addClass ('jx_post_block_stripe floor-stripe')
                                .attr('hide-count', 1).insertBefore (floor);
                        }
                    },

                    _getAuthor: function (f) {
                        return f.user_name || f.author_name || (f.author?f.author.user_name:null);
                    },

                    _proc: function (floorType, args) {
                        // 首先检查用户名
                        if (this.config.user.indexOf (this._getAuthor(args._main.getField ())) !== -1) {
                            this._hit (args._main);
                            return ;
                        }

                        var floorContent;
                        switch (floorType) {
                            case __type_forum:
                                floorContent = $('.threadlist_text', args._main).text();
                                break;
                            case __type_floor:
                                floorContent = $('.d_post_content', args._main).text();
                                break;
                            case __type_lzl:
                                floorContent = $('.lzl_content_main', args._main).text();
                                break;
                        }

                        // 然后循环检查关键字匹配
                        for (var i = this.config.kword.length; i--; ) {
                            switch (this.config.kword[i].type) {
                                case this.__M_REGEX:
                                    if (this.config.kword[i].regex.test (floorContent))
                                        this._hit (args._main);
                                    break;

                                case this.__M_PLAIN:
                                    if (floorContent.indexOf (this.config.kword[i].word) !== -1)
                                        this._hit (args._main);
                                    break;
                            }
                        }
                    }
                },
                "hide_loops": {
                    name: '3 天循环隐藏',
                    desc: '3 天循环屏蔽指定用户的帖子, 统一封锁.',
                    flag: __type_postact | __type_forum,

                    _findUser: function (name) {
                        if (0 === this.blockList.author.length)
                            return -1;

                        for (var i = this.blockList.author.length; i--; ) {
                            if (this.blockList.author[i].name == name)
                                return i;
                        }

                        return -1;
                    },
                    _userExist: function (user) {
                        return -1 !== this._findUser(user);
                    },

                    _conf: function () {
                        var that = this;


                        var $tpl = $(Mustache.render(this.tplHideAuthor, {
                            author: this.blockList.author.map (function (e, i) {
                                return { name: e.name, time: e.time ? $.toDateStr (new Date(e.time)) : '尚未' };
                            })
                        }));

                        var $wndHideUser = $.dialog.open ($tpl, {
                            title: '3天循环隐藏模组配置 - 记得点一次 [全部封禁]',
                            width: 370,
                            height: 400
                        });

                        var $inp = $('#jx_new_id', $tpl);
                        var cbAddName = function () {
                            var user = $inp.val ().trim();
                            that._updList ();

                            if (0 === user.length || that._userExist(user))
                                return ;

                            $inp.val ('');

                            $(Mustache.render (that.tplNewLine, {
                                name: user,
                                time: '尚未'
                            })).insertBefore($('#jx_last_line_of_3day_block', $tpl));
                            that.blockList.author.push ({
                                name: user,
                                time: 0
                            });
                            that._saveList ();
                        };

                        // 绑定事件
                        $('#jx_add', $tpl).click(cbAddName);
                        $inp.keypress(function (e) {
                            if (e.which === 13)
                                cbAddName ();
                        });
                        $tpl
                            .on ('click', '.jx_man_hide, .jx_man_rm', function (e) {
                            var $l = $(e.target);
                            if ($l.hasClass ('text-disabled'))
                                return ;
                            $l.addClass ('text-disabled');


                            var $un = $l.parent().data('name');
                            that._updList();
                            switch (true) {
                                case $l.hasClass ('jx_man_hide'):
                                    that.blockList.author[that._findUser($un)].time = $.stamp();
                                    that._hide (function () {}, $un);
                                    break;
                                case $l.hasClass ('jx_man_rm'):
                                    that.blockList.author.splice(that._findUser($un), 1);
                                    $l.parent().hide ();
                                    break;
                            }
                            that._saveList();
                        });

                        $('#jx_close', $tpl).click($wndHideUser.close.bind($wndHideUser));
                        $('#jx_all', $tpl).click(function () {
                            var hideStatus = $('#jx_hide_info', $tpl).show().text ('正在初始化…');

                            that.hideQueue.onProgress = function (i, t) {
                                hideStatus.text(Mustache.render('正在隐藏 {{i}} / {{t}}... 请勿关闭该窗口!', {i: i, t: t}));
                            };
                            that.hideQueue.onComplete = function () {
                                that.hideQueue.onProgress = that.hideQueue.onComplete = null;
                                hideStatus.text ('全部用户已成功隐藏!');
                            };
                            that.hideQueue.add.apply (
                                that.hideQueue,
                                Array.prototype.slice.call($('a.jx.jx_man_hide:not(.text-disabled)').addClass('text-disabled').map(function (i, e) {
                                    return $(e).parent().data('name');
                                }))
                            );
                        });
                        return $tpl;
                    },

                    _hide: function (cb, author) {
                        // 检查是否在列表
                        this._updList ();
                        if (this._userExist (author)) {
                            // 如果存在, 修正上次隐藏时间
                            this.blockList.author[this._findUser(author)].time = $.stamp();
                            this._saveList ();
                        }
                        console.info ('开始隐藏: %s', author);

                        $.ajax ({
                            url: '/tphide/add',
                            type: 'POST',
                            data: {
                                type: 1,
                                hide_un: author,
                                ie: 'utf-8'
                            },
                            dataType: 'json'
                        }).success (cb);
                    },

                    _init: function () {
                        this.tplHideAuthor = /* File: hide_loops_config.html */
                            (function () { /*
<div class="jx_autoflow">
	<h2>3 天循环隐藏的列表</h2>

	<p class="text-center">请注意: 封禁时间不会自动刷新, 请关闭后重新开启该对话框。</p>

	<ol>
	{{#author}}
		<li data-name="{{name}}"><b>{{name}}</b>
[ 上次隐藏: <span class="text-red">{{time}}</span> | <a class="jx jx_man_hide">手动</a> | <a class="jx jx_man_rm">移除</a> ]</li>
	{{/author}}
	<li id="jx_last_line_of_3day_block">
		<input id="jx_new_id" placeholder="请输入新的需要自动封禁的 id" style="width: 20em;" />
		<br /><a class="ui_btn ui_btn_m" id="jx_add"><span><em>添加</em></span></a>
	</li>
	</ol>

	<p class="hide" id="jx_hide_info"></p>

	<div class="text-center">
	<a class="ui_btn ui_btn_m" id="jx_all"><span><em>全部封禁</em></span></a> &nbsp;
	<a class="ui_btn ui_btn_m" id="jx_close"><span><em>关闭</em></span></a>
	</div>
</div>
*/}).extract ();
                        this.tplNewLine = /* File: hide_loops_author.html */
                            (function () { /*
<li data-name="{{name}}"><b>{{name}}</b>
[ 上次隐藏: <span class="text-red">{{time}}</span> | <a class="jx jx_man_hide">手动</a> | <a class="jx jx_man_rm">移除</a> ]</li>
*/}).extract ();
                        this._updList ();

                        var _hide = this._hide.bind (this);
                        this.hideQueue = new IntervalLoop ([], _hide, 400).loop ();

                        var curTime = $.stamp ();
                        var t3Days  = 3 * 24 * 60 * 60;

                        var that = this;
                        this.blockList.author.forEach (function (e) {
                            if (curTime - e.time > t3Days)
                                that.hideQueue.add (e.name);
                        });
                    },

                    _updList: function () {
                        this.blockList = $.extend ({
                            author: [
                                // 格式如下
                                //{
                                //	name: '炮弹56',
                                //	lastHide: 0
                                //}
                            ]
                        }, $conf.get (this.id, {}));
                    },
                    _saveList: function () {
                        $conf.set (this.id, this.blockList);
                    },

                    _findNameAndHide: function (e) {
                        var floorData = $(e.target).parents('.lzl_single_post,.l_post')
                        .first().getField();
                        var author = floorData.user_name || floorData.author.user_name;
                        if (this._userExist(author)) {
                            $.dialog.alert (Mustache.render(/* File: hide_loops_already_in_list.html */
                                (function () { /*
用户 [<b>{{name}}</b>] 已存在于屏蔽列表!
*/}).extract (), {name: author}), {
                                title: '3 天循环隐藏'
                            });
                            return ;
                        }
                        this._updList ();
                        this.blockList.author.push ({
                            name: author,
                            time: $.stamp()
                        });
                        this._saveList ();
                        this._hide (function (r) {
                            $.dialog.alert (Mustache.render(/* File: hide_loop_result.html */
                                (function () { /*
对 <b>{{name}}</b> 的隐藏处理结果: {{msg}}({{no}})
*/}).extract (),
                                $.extend ({name: author}, r)), {
                                title: '3 天循环隐藏 (楼中楼无效)'
                            });
                        }, author);
                    },

                    _menu: function (floorType, args) {
                        var $act = $('.user-hide-post-action', args._main);
                        var $actHidePost = $.create('a', 'jx jx-post-action');

                        $actHidePost
                            .text ('加入 3 天循环隐藏列表')
                            .appendTo ($act)
                            .data ('jx', this.id)
                            .data ('eve', args._main.getField().author.user_name)
                            .click(this._findNameAndHide.bind(this));
                    }
                },
                "icon_hide": {
                    name: '隐藏用户图标',
                    desc: '将用户名下方、右方的图标集藏起来。',
                    def: false,
                    flag: ~0,
                    _init: function () {
                        _hide ('.icon_wrap');
                    }
                },
                "no_text_link": {
                    name: '屏蔽帖子内文字推广链接',
                    desc: '将帖子内的文字推广搜索链接替换为普通文本',
                    flag: __type_lzl | __type_floor,
                    _proc: function (floorType, args) {
                        this.rmLinkText (args._main);
                    },
                    _init: function () {
                        this.rmLinkText ();
                    },
                    rmLinkText: function (_p) {
                        $(_p || 'body').find ('a.ps_cb').each(function () {
                            $(this).after (document.createTextNode (this.textContent));
                        }).remove();
                    }
                },
                "orange": {
                    name: '移除会员彩名',
                    desc: '全部变成变成默认链接颜色。',
                    flag: __type_floor | __type_lzl | __type_forum,

                    clsList: ['sign_highlight', 'vip_red', 'fiesta_member', 'fiesta_member_red', 'member_thread_title_frs', 'sign_highlight'],

                    rmOrange: function (target) {
                        var $target = $(target);

                        for (var i = 1; i < this.clsList.length; i++)
                            $('.' + this.clsList[i], $target.removeClass (this.clsList[i])).removeClass(this.clsList[i]);
                    },

                    _init: function () {
                        // 标题红名移除
                        this.rmOrange ('body');
                    },
                    _proc: function (floorType, args) {
                        this.rmOrange (args._main);
                    }

                },
                "quote": {
                    name: '引用楼层',
                    desc: '引用某一层的内容',
                    flag: __type_floor,
                    _proc: function (floorType, args) {
                        var $quote = $('<li>').addClass('pad-left').append(
                            $('<a>').text('#引用').addClass('jx')
                            .data('jx', 'quote').data('floor', args.floorNum)
                        ).prependTo($('.p_tail', args._main));
                    },
                    _click: function ($ele, $eve) {
                        var $floor  = $ele.parents('.l_post');
                        var $editor = $('#ueditor_replace');
                        var $quote = $('<p>').appendTo($editor);

                        $quote
                            .append ('引用 ' + $ele.data('floor') + '楼 @' + $('.p_author_name', $floor).first().text() + ' 的发言:')
                            .append ('<br>')
                            .append ('——————————')
                            .append ('<br>');

                        $('.j_d_post_content', $floor).contents().each(function (i, ele) {
                            if (ele.nodeType == 3) {
                                if (ele.nodeValue.trim() !== '')
                                    $quote.append (ele.nodeValue);

                                return ;
                            }

                            var $ele = $(ele);
                            if ($ele.is('a')) {
                                if ($ele.find('img').size()) {
                                    $quote.append ('[#图片]');
                                } else {
                                    $quote.append ($ele.text());
                                }
                            } else if ($ele.is ('img')) {
                                $quote.append ('[#表情]');
                            } else if ($ele.is ('object,embed')) {
                                $quote.append ('[#视频]');
                            } else {
                                $quote.append ($ele.clone());
                            }
                        });

                        $quote.append ('<br>&gt; ');
                        $.goToEditor();
                    }
                },
                "quote_lzl": {
                    name: '楼中楼帖子引用',
                    desc: '引用楼中楼的回复',
                    flag: __type_lzl,
                    _proc: function (floorType, args) {
                        $('<a>').text('引用').addClass('jx d_tail')
                            .insertBefore($('.lzl_time', args._main))
                            .after($('<span>').addClass('d_tail').text(' | '))
                            .data('jx', 'quote_lzl');
                    },
                    _click: function ($ele, $eve) {
                        var $editor = $('#ueditor_replace');
                        var $cnt = $ele.parents('.lzl_cnt');
                        $('<p>').appendTo($editor)
                            .append ('引用 @' + $cnt.find('.j_user_card').attr('username') + ' 在楼中楼的发言:<br>')
                            .append ($ele.parents('.lzl_cnt').find('.lzl_content_main').text())
                            .append ('<br>')
                            .append ('——————————')
                            .append ('<br> &gt;<br>');

                        $.goToEditor();
                    }
                },
                "real_url": {
                    name: '贴吧跳转链解除',
                    desc: '将百度所谓安全链接改成直链。',
                    flag: __type_floor | __type_lzl,
                    _proc: function (floorType, args) {
                        var $floor = $(args._main);
                        $floor.find('a[href*="jump.bdimg.com/safecheck"]').each(function (i, ele) {
                            var $ele = $(ele),
                                $url = $ele.text();

                            if ($url.indexOf('@') === 0) {
                                // Do nothing.
                            } else if (/^https?:\/\//.test($url)) {
                                $ele.attr('href', $url);
                            } else {
                                // HEAD 请求会变成 error ..?
                                GM_xmlhttpRequest ({
                                    method: 'GET',
                                    url: ele.href,
                                    headers: {
                                        // 去你的百度
                                        Referer: 'http://tieba.baidu.com/p/123456789',
                                        Range: 'bytes=0-0'
                                    },
                                    onload: function (response) {
                                        if (response.finalUrl.indexOf('http') === 0) {
                                            $ele.attr('href', response.finalUrl);
                                        }
                                    }
                                });
                            }
                        });
                    }
                },
                "rmImgFav": {
                    name: '移除图片的收藏工具栏',
                    desc: '鼠标悬浮图片时出现的工具栏。',
                    flag: 0,
                    _init: function () {
                        $('.fav-wrapper').remove();
                    }
                },
                "rmSaveFace": {
                    name: '隐藏挽尊卡提示',
                    desc: '隐藏会员发帖的使用挽尊卡提示。',
                    flag: 0,
                    _init: function () {
                        _hide ('.save_face_bg');
                    }
                },
                "rm_img_view": {
                    name: '看图模式屏蔽',
                    desc: '还原旧版贴吧点图看大图功能',
                    flag: __type_floor,
                    def: false,
                    rmImg: function ($root) {
                        $('img.BDE_Image', $root).each(function () {
                            var m = this.src.match(/\/sign=[a-z0-9]+\/(.+)/i);
                            if (!m) return ;
                            var imgLink = '//imgsrc.baidu.com/forum/pic/item/' + m[1];
                            $('<a>')
                                .attr('href', imgLink)
                                .attr('target', '_blank')
                                .append($('<img>').attr('src', imgLink).addClass('jx_no_overflow'))
                                .insertAfter (this);
                            $(this).remove();
                        });
                    },
                    _init: function () {
                        _css.append ('.jx_no_overflow { max-width: 100%; }');
                        this.rmImg (document);
                    },
                    _proc: function (floorType, args) {
                        this.rmImg (args._main);
                    }
                },
                "save_face": {
                    name: '挽尊卡隐藏',
                    desc: '屏蔽挽尊卡,留下一个横条提示。',
                    flag: __type_floor,
                    _init: function () {
                        _css.append ('.save_lz_face::before{content:attr(who) " 使用了挽尊卡"}');
                    },
                    _proc: function (floorType, args) {
                        if ($('.save_face_post', args._main).size()) {
                            // 发现挽尊卡
                            $('<div>').addClass('floor-stripe save_lz_face')
                                .attr ('who', $('.p_author_name', args._main).text())
                                .insertBefore (args._main);

                            args._main.addClass('savedFace').hide();
                        }
                    }
                }
            };

            var _menu = (function () {
                var $template = /* File: main_config.html */
                    (function () { /*
<div style="height: 100%; overflow-y: auto">
	<h2>启用的模组</h2>
	<div id="jx_conf_modules">
		{{#modules}}
		<label title="{{desc}}">
			<input type="checkbox" data-module="{{id}}" {{#enable}}checked{{/enable}}/> {{name}}
		</label>{{#config}}[ <a data-config="{{id}}" class="jx_conf ptr">配置</a> ]{{/config}}
		<br />
		{{/modules}}
	</div>
	<br />

	<!-- 按钮区 -->
	<div class="text-center">
		<a class="ui_btn ui_btn_m" id="jx_save"><span><em>储存</em></span></a> &nbsp;
		<a class="ui_btn ui_btn_m" id="jx_close"><span><em>放弃</em></span></a>
	</div>
</div>
*/}).extract ();

                return _run.bind ({}, function () {
                    var $view = {
                        modules: []
                    };
                    for (var x in modules) {
                        if (modules.hasOwnProperty(x)) {
                            var isEnable = lMods.hasOwnProperty(x);
                            $view.modules.push ({
                                id: x,
                                name: modules[x].name,
                                desc: modules[x].desc,
                                enable: isEnable,
                                config: isEnable && !!modules[x]._conf
                            });
                        }
                    }
                    var $tpl = $(Mustache.render ($template, $view));

                    var $wndConfig = $.dialog.open ($tpl, {
                        title: '贴吧助手 - 配置窗口 (刷新后生效)',
                        height: 200
                    });

                    $('.jx_conf', $tpl).click(function () {
                        var x = $(this).data('config');
                        if (lMods.hasOwnProperty(x))
                            _run (lMods[x]._conf.bind (lMods[x]), '模组配置 [' + lMods[x].name + ' (' + x + ')]');
                    });

                    $('#jx_save', $tpl).click(function () {
                        var newStatus = {};
                        $('#jx_conf_modules>label>input', $tpl).each(function (i, inp) {
                            newStatus[$(inp).data('module')] = inp.checked ? __mod_enable : __mod_disable;
                        });
                        $conf.set ('modules', newStatus);
                        $wndConfig.close ();
                    });
                    $('#jx_close', $tpl).click($wndConfig.close.bind($wndConfig));
                }, '助手设定界面');
            })();

            // 未登录用户可以通过 GM 菜单激活配置项
            GM_registerMenuCommand ('梦姬贴吧助手模块配置', _menu);

            if (unsafeWindow.__YUME_DEBUG__) {
                GM_registerMenuCommand ('打印模组配置', function () {
                    console.info ('梦姬模组配置: ');
                    console.info ($conf.get ('modules'));
                });
            }

            _run (function () {
                var _callMenu = function ($parent) {
                    console.info ('成功捕捉到菜单元素,传递至回调…');
                    _run (function () {
                        var $menuItem = $('<li>'),
                            $menuLink = $('<a>' ).appendTo ($menuItem).addClass('jx').text('助手设置');
                        //$parent.find ('.u_tb_profile').before($menuItem);
                        $parent.find ('.u_tb_profile').parent().prepend($menuItem);
                        $menuLink.click (_menu);
                        var $menuItem = $('<li>'),
                            $menuLink = $('<a>' ).appendTo ($menuItem).addClass('jx').text('贴吧美化');
                        $('.u_tb_profile').before($menuItem);
                        if(!GM_getValue("jinyongtiebameihua")){
                            var lis=$parent.find("ul>li");
                            lis[1].style.display=lis[2].style.display=lis[6].style.display=lis[7].style.display="none";
                        }
                        $menuLink.click (function(){
                            GM_setValue("jinyongtiebameihua",GM_getValue("jinyongtiebameihua")?false:true);
                            location.reload();
                        });
                    }, '菜单召唤');
                };

                var ma = new MutationObserver (function ($q) {
                    try {
                        $($q).each(function (i, $eve) {
                            $($eve.addedNodes).each(function (i, $ele) {
                                if ($ele.nodeType != 3 && $ele.className == 'u_ddl') {
                                    throw {ele: $($ele), name: 's'};
                                }
                            });
                        });
                    } catch (err) {
                        if (err.ele) {
                            ma.disconnect();

                            _callMenu (err.ele);
                            return ;
                        }

                        throw err;
                    }
                });

                setTimeout(function () {
                    var _m = $('.u_setting>.u_ddl');
                    if (_m.length) {
                        _callMenu (_m);
                    } else {
                        ma.observe($('.u_setting')[0], {
                            childList: true,
                            subtree: true
                        });
                    }
                }, 1500);
            }, '捕捉设定');
            // console.log ($('li.u_setting .u_tb_profile'));

            var lMods = {};

            _run (function () {
                _css = $('<style>').appendTo(document.head);
                _css.append (/* File: tieba.css */
                    (function () { /*
.pull-right	{ float: right			}
a.jx, .ptr	{ cursor: pointer		}
.pad-left	{ padding-left: 0.5em	}

.floor-stripe {
	background-image:
		linear-gradient(45deg,rgba(255,255,255,.15) 25%,
		transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,
		rgba(255,255,255,0.15) 75%,
		transparent 75%, transparent);

	background-color: #d9534f;
	background-size: 40px 40px;
	text-align: center;
	border: 1px solid #ccc;
	margin: -1px;color: #fff;
	text-shadow: #000 0 0 .5em;
	padding: .5em 0
}

.hide { display: none }
.text-red { color: red }
.text-center { text-align: center }
.text-disabled { color: #666; text-decoration: line-through }

.user-hide-post-action > a.jx-post-action {
	display: block;
	padding: 3px 5px 5px;
	cursor: pointer;
	color: #222;
}

.user-hide-post-action a.jx-post-action:hover {
	background: #f2f2f2;
}

.jx_autoflow {
	height: 100%;
	overflow-y: auto;
}
*/}).extract ());
                _cssH.insertAfter(_css);

                // 配置项更新
                switch ($conf.get ('confVer', [0])[0]) {
                    case 0:
                        var $disabledMods = $conf.get ('modules', []);
                        var $modsList = {};
                        $disabledMods.forEach (function (e) {
                            $modsList[e] = __mod_disable;
                        });
                        $conf.set ('modules', $modsList);
                        break;

                }
                $conf.set ('confVer', [1]);

                var $mods = $conf.get ('modules', {});

                $.each (modules, function (mId, fMod) {
                    if ($mods[mId] == __mod_disable
                        || ( ($mods[mId] == __mod_default || !$mods.hasOwnProperty(mId))
                            && fMod.def === false
                           )
                       ) return ;

                    lMods[mId] = fMod;
                    lMods[mId].id = mId;
                    if (lMods[mId]._init) {
                        console.info ('初始化模组: %s[%s]', mId, lMods[mId].name);
                        lMods[mId]._init.call (lMods[mId]);
                    }

                });
            }, 'Init. modules');

            var _event = function (floorType, otherInfo, _proc) {
                var fooCB = _proc || '_proc';
                $.each (lMods, function (mId, m) {
                    if (!m[fooCB] || !(m.flag & floorType))
                        return;

                    _run (m[fooCB].bind(m, floorType, otherInfo), m.name);
                });
            };

            var _procLzlContainer = function (i, tailer) {
                var $tailer = $(tailer),
                    _main   = $tailer.parents('.l_post');

                // console.log ($tailer, _main);

                _event (__type_floor, {
                    _main:    _main,
                    floor:    _main,
                    // 「'」is not standard, convert to 「"」 first.
                    floorNum: parseInt($tailer.getField().floor_num),
                    tail:     $('.p_tail', _main)
                });

                // 处理解析 lzl 帖子(…
                // $tailer.find('.lzl_single_post').each(_procLzlPost);
                return _main;
            };

            var _procThreadList = function (i, threadlist) {
                var $thread = $(threadlist);
                _event (__type_forum, {
                    _main:  $thread,
                    thread: $thread
                });
                return $thread;
            };

            var _procLzlPost = function (i, lzlPost) {
                var $lzl = $(lzlPost);
                _event (__type_lzl, {
                    _main:  $lzl,
                    lzl: $lzl
                });
                return $lzl;
            };

            if (isThread) {
                $('.j_lzl_container').each(_run.bind ({}, _procLzlContainer, '初始化帖子搜索'));
                $('.lzl_single_post').each(_run.bind ({}, _procLzlPost, '初始化楼中楼搜索'));
            } else {
                $('.j_thread_list').each(_run.bind ({}, _procThreadList  , '初始化贴吧页帖子搜索'));
            }
            var mo = new MutationObserver (function (eve) {
                _run (function () {
                    $(eve).each(function (i, eve) {
                        if (!eve.addedNodes.length) return ;

                        $(eve.addedNodes).each(function (i, ele) {
                            // Text node.
                            if (ele.nodeType == 3) return ;

                            var $ele = $(ele),
                                _type = 0,
                                $tmp;

                            // 单贴处理
                            if ($ele.hasClass ('j_lzl_container')) {
                                // _type = __type_floor;
                                $tmp = _procLzlContainer (i, $ele);
                                $tmp.find('.lzl_single_post').each(_procLzlPost);
                            } else if ($ele.hasClass ('j_thread_list')) {
                                // 贴吧主页面
                                _procThreadList (i, $ele);
                            } else if ($ele.hasClass ('lzl_single_post')) {
                                // 仅限翻页时触发
                                _procLzlPost (i, $ele);
                            } else if ($ele.hasClass ('user-hide-post-action') && !$ele.hasClass('jx_post')) {
                                $ele.addClass('jx_post');
                                _event (__type_postact, {
                                    _main: $ele.parents('.l_post'),
                                    _menu: $ele
                                }, '_menu');
                            }
                        });
                    });
                }, '页面元素插入');
            });

            $(document.body).on ('click', '.jx', function (eve) {
                var $eve  = $(eve.target);
                var $data = $eve.data ('jx');
                if (!$data || !lMods[$data] || !lMods[$data]._click) return ;

                _run.call (lMods[$data], lMods[$data]._click, '>> 单击助手功能: ' + $data, $eve, $eve.data('eve'));
            });

            mo.observe($('#j_p_postlist,#thread_list').get(0), {
                childList: true,
                subtree: true
            });
        };
    })();
    //百度贴吧图片点击放大 by lliwhx
    (function(window) {
        "use strict";
        //CSS
        var parentElement = document.getElementById("j_p_postlist");
        if(!parentElement)return;
        GM_addStyle(".BDE_Image,.j_user_sign{cursor:alias;}#Tie_enlargeImage_parentDIV{position:fixed;z-index:1005;top:0;left:0;}.Tie_enlargeImage{position:absolute;box-shadow:1px 1px 10px #000;cursor:move;}.Tie_enlargeImage:hover{z-index:1006;}#Tie_setValue_DIV{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;background:rgba(0,0,0,0.5);}.Tie_definedDIV{position:absolute;z-index:10000;background:#fff;top:50%;left:50%;transform:translate(-50%,-50%);}.Tie_definedDIV_title{border-bottom:1px solid #f2f2f5;line-height:40px;font-size:15px;font-weight:700;padding:0 0 0 15px;}.Tie_definedDIV_point{padding:20px 40px;}.Tie_definedDIV_groupSubtitle{font-weight:bold;}.Tie_definedDIV_configItem{line-height:30px;margin:0 20px}.Tie_definedDIV_configItem select{margin:0.5em}.Tie_definedDIV_configItem br+label{margin-left:3em}.Tie_definedDIV_configItem input{vertical-align:middle;margin-right:0.5em}#Tie_debugConfig{margin:0.5em}.Tie_debugConfig_icon{position:relative;display:inline-block;top:4px;width:16px;height:16px;background-position:-350px -100px;background-image:url('https://img.t.sinajs.cn/t6/style/images/common/icon.png');background-repeat:no-repeat;}.Tie_bubble_DIV{position:absolute;visibility:hidden;max-width:280px;top:20%}.Tie_definedDIV_configItem label:hover+.Tie_bubble_DIV{visibility:visible}.Tie_bubble_content{position:relative;background:#fff;padding:6px 13px 6px 16px;border:1px solid #ccc;border-radius:3px;}.Tie_bubble_mainTxt{line-height:18px;}.Tie_bubble_bor{position:absolute;overflow:hidden;bottom:-14px;line-height:14px;}.Tie_bubble_line{border-color:#ccc transparent transparent transparent;}.Tie_bubble_br{margin:-1px 0 0 -14px;border-color:#fff transparent transparent transparent;}.Tie_bubble_bor i,.Tie_bubble_bor em{display:inline-block;width:0;height:0;border-width:7px;border-style:solid;vertical-align:top;overflow:hidden;}.Tie_definedDIV_SaveBtn{background-color:#f2f2f5;text-align:center;padding:10px 0;}.Tie_SaveBtn_a{background:#ff8140;color:#fff;font-size:15px;display:inline-block;padding:0 15px;line-height:35px;border-radius:3px;}.Tie_SaveBtn_a:hover{background:#f7671d}");
        //数据缓存
        var imageTarget,imageMouse,imageCount,imageButton,winResize,scriptDebug,log = function(){},
            mouseWheel = /Firefox/.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel",
            protocol = window.location.protocol||"https",
            doc = window.document,
            docHeight = doc.documentElement.clientHeight-6,
            docWidth = doc.documentElement.clientWidth-6,
            definedEvent = GM_getValue("definedEvent","click,click,1,0,1").split(","),
            repairDefinedEvent = GM_getValue("repairDefinedEvent",false),
            imageEvent = {
                init:function(e){ //主事件
                    var target = e.target,image,imageSrc;
                    if(e.button===0&&(target.className==="BDE_Image"||target.className==="j_user_sign")){
                        log("图片创建","开始");
                        imageSrc = target.src.match(/([a-z0-9]+\.[a-zA-Z]{3,4})(?:\?v=tbs)?$/);
                        log("图片地址获取",function(){if(imageSrc)return "成功";else return "失败";},target.src);
                        if(!imageSrc) return false;
                        image = doc.createElement("img");
                        image.classList.add("Tie_enlargeImage");
                        image.src = protocol + "//imgsrc.baidu.com/forum/pic/item/" + imageSrc[1];
                        image.onerror = function(){
                            if(protocol==="https:"){
                                log("图片请求","https转向http");
                                protocol = "http:";
                                this.src = "http://imgsrc.baidu.com/forum/pic/item/" + imageSrc[1];
                            }else{
                                this.onerror = null;
                                this.onload = null;
                                imageSrc = null;
                                log("图片请求","失败");
                                alert("图片获取失败\n\n如多次获取失败\n请在设置里勾选“调试脚本”打印脚本日志并截图反馈给作者,以便更好的解决问题");
                            }
                        };
                        image.onload = function(){
                            log("图片创建","进行中");
                            var target = this,width = target.width,height = target.height,
                                Wboolean = width>docWidth,Hboolean = height>docHeight,
                                X = 6,Y = 6;
                            target.onerror = null;
                            target.onload = null;
                            imageSrc = null;
                            if(Hboolean&&!Wboolean)X = (docWidth-width)/2;
                            else if(!Hboolean&&!Wboolean){X = (docWidth-width)/2;Y = (docHeight-height)/2;}
                            else if(!Hboolean&&Wboolean)Y = (docHeight-height)/2;
                            target.imageData = {width:width,height:height,X:X,Y:Y}; //缓存当前图片数据
                            target.style.transform = "translate("+X+"px,"+Y+"px)";
                            parentDIV.appendChild(target);
                            log("图片创建",function(){target.id = Date.now();if(doc.getElementById(target.id))return "成功";else return "失败";},target.imageData);
                        };
                        image = null;
                    }
                },
                StopPropagation:function(e){
                    if(e.button===0&&e.target.className==="BDE_Image"){
                        e.stopPropagation(); //阻止冒泡,阻止图片原事件
                        log("阻止贴吧图片原事件","已执行");
                    }
                },
                Down:function(e){
                    var target = e.target,imageData = target.imageData;
                    imageTarget = target;
                    log("鼠标down事件",function(){if(!target.id)target.id = Date.now();return "开始";});
                    if (e.button!==0)return false;
                    e.preventDefault();
                    e.stopPropagation();
                    imageMouse = [e.clientX,e.clientY];
                    imageCount = [imageData.X-imageMouse[0],imageData.Y-imageMouse[1],6-imageData.width,6-imageData.height]; //图片宽高的偏移量,图片左右边界预留量
                    imageButton = true;
                    doc.addEventListener("mousemove",imageEvent.Move);
                    doc.addEventListener("mouseup",imageEvent.Up);
                    log("鼠标down事件","结束");
                },
                Move:function(e){
                    log("鼠标move事件","开始");
                    var target = imageTarget,
                        X = e.clientX+imageCount[0],
                        Y = e.clientY+imageCount[1];
                    imageButton = false;
                    log("鼠标move事件","进行中","X:"+X+"Y:"+Y);
                    if(X<imageCount[2]){ //左边界
                        target.style.transform = "translate("+imageCount[2]+"px,"+Y+"px)";
                        return false;
                    }
                    if(X>docWidth){ //右边界
                        target.style.transform = "translate("+docWidth+"px,"+Y+"px)";
                        return false;
                    }
                    if(Y<imageCount[3]){ //上边界
                        target.style.transform = "translate("+X+"px,"+imageCount[3]+"px)";
                        return false;
                    }
                    if(Y>docHeight){ //下边界
                        target.style.transform = "translate("+X+"px,"+docHeight+"px)";
                        return false;
                    }
                    target.style.transform = "translate("+X+"px,"+Y+"px)";
                    log("鼠标move事件","结束",target.style.transform);
                },
                Up:function(e){
                    log("鼠标up事件","开始");
                    var target = imageTarget,RegEx;
                    if(repairDefinedEvent&&e.clientX-imageMouse[0]<=1&&e.clientY-imageMouse[1]<=1){ //尝试修复关闭图片功能
                        log("尝试修复关闭图片功能","已执行");
                        imageButton = true;
                    }else if(scriptDebug&&!imageButton&&e.clientX-imageMouse[0]===0&&e.clientY-imageMouse[1]===0){
                        log("鼠标click事件判断","\n一.操作时页面不在激活状态。请保证浏览器正在被操作,在执行一次\n二.关闭图片功能可能损坏,建议修复");
                    }
                    if(!imageButton){
                        RegEx = target.style.transform.match(/[-0-9.]+/g);
                        target.imageData.X = parseFloat(RegEx[0]);
                        target.imageData.Y = parseFloat(RegEx[1]);
                    }
                    imageTarget = null;
                    imageMouse = null;
                    imageCount = null;
                    doc.removeEventListener("mousemove",imageEvent.Move);
                    doc.removeEventListener("mouseup",imageEvent.Up);
                    log("鼠标up事件","结束",imageButton);
                },
                Close:function(e){
                    log("鼠标click事件","开始");
                    var target = e.target;
                    if(imageButton){
                        imageButton = null;
                        delete target.imageData;
                        parentDIV.removeChild(target);
                        log("鼠标click事件",function(){if(!doc.getElementById(target.id))return "成功";else return "失败";});
                    }
                },
                Wheel:function(e){
                    var target=e.target,imageData = target.imageData,
                        wheelKey = definedEvent[3],
                        width = imageData.width,height = imageData.height,
                        Wboolean = width>docWidth,Hboolean = height>docHeight,
                        wheelXY;
                    log("鼠标wheel事件","开始",imageData);
                    e.preventDefault();
                    e.stopPropagation();
                    if(wheelKey!=="0"){
                        if((e.ctrlKey&&wheelKey==="1")||(e.altKey&&wheelKey==="2")||(e.shiftKey&&wheelKey==="3")){ //判断图片缩放的组合键
                            log("鼠标wheel缩放事件","开始");
                            var eX = e.clientX,eY = e.clientY,
                                ratioX = (eX-imageData.X)/width,ratioY = (eY-imageData.Y)/height,
                                wheelRatio = width+(e.wheelDelta||-e.detail*40)*definedEvent[4];
                            imageData.width = wheelRatio<150?150:wheelRatio;
                            imageData.height = imageData.width*height/width;
                            imageData.X = eX-(imageData.width*ratioX);
                            imageData.Y = eY-(imageData.height*ratioY);
                            log("鼠标wheel缩放事件","进行中",imageData);
                            target.width = imageData.width;
                            target.style.transform = "translate("+imageData.X+"px,"+imageData.Y+"px)"; //基于鼠标位置的缩放
                            log("鼠标wheel缩放事件","结束",target.style.transform);
                            return false;
                        }
                    }
                    if(!Hboolean&&!Wboolean){log("鼠标wheel滚动事件","图片小于窗口");return false;}
                    if(Hboolean){
                        wheelXY = imageData.Y+(-e.wheelDelta||e.detail*40)*definedEvent[2];
                        if(wheelXY>0||wheelXY<docHeight-height){
                            wheelXY = wheelXY>0?6:docHeight-height;
                        }
                        imageData.Y = wheelXY;
                        log("鼠标wheel垂直滚动事件","进行中",wheelXY);
                        target.style.transform = "translate("+imageData.X+"px,"+wheelXY+"px)";
                        log("鼠标wheel垂直滚动事件","结束",target.style.transform);
                    }else if(Wboolean){
                        wheelXY = imageData.X+(-e.wheelDelta||e.detail*40)*definedEvent[2];
                        if(wheelXY>0||wheelXY<docWidth-width){
                            wheelXY = wheelXY>0?6:docWidth-width;
                        }
                        imageData.X = wheelXY;
                        log("鼠标wheel水平滚动事件","进行中",wheelXY);
                        target.style.transform = "translate("+wheelXY+"px,"+imageData.Y+"px)";
                        log("鼠标wheel水平滚动事件","结束",target.style.transform);
                    }
                }
            };
        //创建父DIV
        var parentDIV = doc.createElement("div");
        parentDIV.id = "Tie_enlargeImage_parentDIV";
        doc.body.appendChild(parentDIV);
        //事件委托
        parentElement.addEventListener("click",imageEvent.StopPropagation,true);
        parentElement.addEventListener(definedEvent[0],imageEvent.init,true);
        parentDIV.addEventListener("mousedown",imageEvent.Down);
        parentDIV.addEventListener(definedEvent[1],imageEvent.Close);
        parentDIV.addEventListener(mouseWheel,imageEvent.Wheel);
        //释放缓存
        parentElement=null;
        //自定义设置
        var userEvent = {
            init:function(){
                this.create();
                this.Event();
            },
            create:function(){
                var definedDIV = doc.createElement("div"); //创建自定义DIV框架
                definedDIV.id = "Tie_setValue_DIV";
                definedDIV.innerHTML = "<div class='Tie_definedDIV'><div class='Tie_definedDIV_title'>自定义设置</div><div><div class='Tie_definedDIV_point'><div class='Tie_definedDIV_groupSubtitle'>请保证鼠标在图片上进行操作</div><div class='Tie_definedDIV_configItem'>默认支持鼠标左键拖拽图片</div><div class='Tie_definedDIV_configItem'>查看图片<select name='Tie_setValue'><option value='click'>单击</option><option value='dblclick'>双击</option></select></div><div class='Tie_definedDIV_configItem'>关闭图片<select name='Tie_setValue'><option value='click'>单击</option><option value='dblclick'>双击</option></select><br><label><input id='Tie_repairValue' type='checkbox'>尝试修复关闭图片功能</label></div><div class='Tie_definedDIV_configItem'>滚动图片<select name='Tie_setValue'><option value='1'>滚轮向上,上移/左移</option><option value='-1'>滚轮向下,上移/左移</option></select></div><div class='Tie_definedDIV_configItem'>缩放图片<select name='Tie_setValue'><option value='0'>关闭</option><option value='1'>Ctrl</option><option value='2'>Alt</option><option value='3'>Shift</option></select>+<select name='Tie_setValue'><option value='1'>滚轮向上放大</option><option value='-1'>滚轮向下放大</option></select></div><div class='Tie_definedDIV_configItem'>调试脚本<label><input id='Tie_debugConfig' type='checkbox'><i class='Tie_debugConfig_icon'></i></label><div class='Tie_bubble_DIV'><div class='Tie_bubble_content'><div class='Tie_bubble_mainTxt'>如果您的脚本出现问题,您可以打开调试功能。<strong>在页面进行平常的图片操作,将操作过后在浏览器控制台(快捷键:F12)输出的脚本日志截图反馈给作者</strong>,以便更好的解决问题。<br>注意,<strong>调试功能打开即生效。并且只在当前页面生效一次,刷新或关闭页面都会取消调试功能,需重新打开</strong>。<br>打开调试功能可能会增加内存占用、降低网页的反应速度甚至导致浏览卡顿。仅供维护使用,不建议一般用户打开调试功能。</div><div><span class='Tie_bubble_bor'><i class='Tie_bubble_line'></i><em class='Tie_bubble_br'></em></span></div></div></div></div></div></div><div class='Tie_definedDIV_SaveBtn'><a id='Tie_setValue_a' class='Tie_SaveBtn_a' href='javascript:void(0);'><span>确定</span></a></div></div>";
                doc.body.appendChild(definedDIV);
                definedDIV = null;
            },
            Event:function(){
                var definedDIV = doc.getElementById("Tie_setValue_DIV"),
                    repairValue = doc.getElementById("Tie_repairValue"),
                    debugConfig = doc.getElementById("Tie_debugConfig"),
                    parentElement = doc.getElementById("j_p_postlist"),
                    setValue = doc.getElementsByName("Tie_setValue"),
                    oldDefinedEvent = definedEvent; //备份旧设置
                for(var i=0;i<5;i++){
                    setValue[i].value = oldDefinedEvent[i];
                }
                if(setValue[3].value==="0")setValue[4].style.visibility = "hidden";
                setValue[3].onchange = function(){
                    setValue[4].style.visibility = this.value==="0"?"hidden":"visible";
                };
                repairValue.checked = repairDefinedEvent;
                debugConfig.checked = scriptDebug;
                doc.getElementById("Tie_setValue_a").onclick = function(){
                    definedEvent = [setValue[0].value,setValue[1].value,setValue[2].value,setValue[3].value,setValue[4].value];
                    repairDefinedEvent = repairValue.checked;
                    scriptDebug = debugConfig.checked;
                    if(oldDefinedEvent[0]!==definedEvent[0]){
                        parentElement.removeEventListener(oldDefinedEvent[0],imageEvent.init,true);
                        parentElement.addEventListener(definedEvent[0],imageEvent.init,true);
                    }
                    if(oldDefinedEvent[1]!==definedEvent[1]){
                        parentDIV.removeEventListener(oldDefinedEvent[1],imageEvent.Close);
                        parentDIV.addEventListener(definedEvent[1],imageEvent.Close);
                    }
                    log = scriptDebug&&function(text,types,data){ //脚本调试,日志
                        if(typeof types==="function"){
                            types = types();
                        }
                        if(data===undefined)console.log(text,types);
                        else console.log(text,types,data);
                    }||function(){};
                    log("自定义属性设置","已执行",definedEvent+","+repairDefinedEvent);
                    this.onclick = null;
                    setValue[3].onchange = null;
                    doc.body.removeChild(definedDIV);
                    GM_setValue("definedEvent",definedEvent.toString());
                    GM_setValue("repairDefinedEvent",repairDefinedEvent);
                    definedDIV = null;repairValue = null;debugConfig = null;parentElement = null;setValue = null;oldDefinedEvent = null;
                };
            }
        };
        if(!GM_getValue("definedEvent")){
            userEvent.init();
        }
        GM_registerMenuCommand("自定义设置", function(){
            if(!doc.getElementById("Tie_setValue_DIV"))
                userEvent.init();
        });
        window.addEventListener("resize", function(){
            if(typeof winResize!==undefined){
                clearTimeout(winResize);
            }
            winResize = setTimeout(function(){
                docHeight = doc.documentElement.clientHeight-6;
                docWidth = doc.documentElement.clientWidth-6;
            },334);
        });
    })(window);
    (function(){
        var locationHref = location.href;

        function decode(url,target){
            GM_xmlhttpRequest({
                method: 'HEAD',
                url: url,
                headers: {
                    "Referer": locationHref,
                },
                onload: function(response) {
                    var newUrl = response.finalUrl;
                    //console.log(newUrl);
                    target.setAttribute('href', newUrl);
                }
            });
        }

        function run() {
            var urls = document.querySelectorAll('a[href^="http://jump.bdimg.com/safecheck"]');
            for (var i = 0; i < urls.length; i++) {
                if (urls[i].parentNode.className == "apc_src_wrapper") {
                    decode(urls[i],urls[i]);
                }
                else {
                    var url = urls[i].childNodes[0].nodeValue;
                    if (url.indexOf("http") < 0)
                        url = "http://" + url;
                    console.log(url);
                    urls[i].setAttribute("href", url);
                }
            }
        }

        function addMutationObserver(selector, callback) {
            var watch = document.querySelector(selector);
            if (!watch) return;

            var observer = new MutationObserver(function(mutations){
                var nodeAdded = mutations.some(function(x){ return x.addedNodes.length > 0; });
                if (nodeAdded) {
                    // observer.disconnect();
                    callback();
                }
            });
            observer.observe(watch, {childList: true, subtree: true});
        }


        run();

        addMutationObserver('#j_p_postlist', run);
    })();
    //查看发帖 by 文科
    window.addEventListener('DOMContentLoaded', function(){
        var $ = unsafeWindow.$;
        function getUserHistory(e){
            var userName = (JSON.parse(e.target.getAttribute('data'))).un;
            var barName = "";
            if("全贴吧发言记录"!=e.target.textContent){
                barName = prompt('输入贴吧名',$("#wd1").attr("value"));
                if(!barName)return;
            }
            if(barName==null)barName="";
            window.open("http://tieba.baidu.com/f/search/ures?ie=utf-8&kw=" + encodeURIComponent(barName) + "&qw=&rn=100&un=" + encodeURIComponent(userName) + "&sm=1", "_blank");
        }
        (function addBtn(){
            $('.d_author .p_author').each(function(){
                var data = this.querySelector('.p_author_name').getAttribute('data-field');
                $(this).append('<li class="user_post_li" style="margin-top:4px"><a style="cursor: pointer;color:#FF6600;" data='+data+'>全贴吧发言记录</a></li>')
                $(this).append('<li class="user_post_li" style="margin-top:4px"><a style="cursor: pointer;color:#FF6600;" data='+data+'>某贴吧发言记录</a></li>')
                this.querySelectorAll('.user_post_li a')[0].addEventListener('click',getUserHistory)
                this.querySelectorAll('.user_post_li a')[1].addEventListener('click',getUserHistory)
            });
        })();
    }, false);
    //百度贴吧按发帖时间(帖子ID)排序 by NULL
    (function() {
        if(!/^https?:\/\/tieba\.baidu\.com\/f\?.*$/.test(location.href))return;
        function sortById() {
            var parentNode = document.getElementById('thread_list');
            var threads = parentNode.querySelectorAll('.j_thread_list:not(.thread_top)');
            var threadArray = [];
            for (var thread of threads) {
                try {
                    threadArray.push({
                        id: JSON.parse(thread.getAttribute('data-field')).id,
                        thread: thread
                    });
                    //parentNode.removeChild(thread);
                } catch (e) {
                    console.log(e);
                }
            }
            threadArray.sort((a, b) => {
                return b.id - a.id;
            });
            for (var thread of threadArray) {
                parentNode.appendChild(thread.thread);
            }
        }

        setTimeout(() => {
            var a = document.createElement('a');
            a.textContent = '按发帖时间排序';
            a.setAttribute('style', 'color:red !important');
            a.setAttribute('href', 'javascript:;');
            a.addEventListener('click', e => {
                sortById();
            }, false);
            document.getElementsByClassName('card_infoNum')[0].parentNode.appendChild(a);
        }, 500);
    })();
})();