隐藏淘宝卖家后台店铺水印

隐藏淘宝卖家中心退款和申诉页面店铺水印

// ==UserScript==
// @name             隐藏淘宝卖家后台店铺水印
// @namespace    http://tampermonkey.net/
// @version           0.0.2
// @description    隐藏淘宝卖家中心退款和申诉页面店铺水印
// @author           yuensui
// @match           https://myseller.taobao.com/home.htm/*
// @license          MIT
// @grant            none
// ==/UserScript==

(function() {
    'use strict';

    // 隐藏退款页面水印
    var style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = '._wm { visibility: hidden !important;}';
    document.getElementsByTagName('head')[0].appendChild(style);
    // 隐藏申诉页面水印
   var theHead = document.head || document.getElementsByTagName('head')[0];
   style.appendChild(document.createTextNode('#water-marker-container{background-image:none !important;background-attachment:scroll;background-position-x:0;background-position-y:0;background-repeat:repeat;color:transparent;background-clip:text}'));
    theHead.appendChild(style);
})();