taobao patch

修复淘宝店铺‘所有分类’页面和店内搜索

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name taobao patch
// @description 修复淘宝店铺‘所有分类’页面和店内搜索
// @namespace dggb Violentmonkey Scripts
// @include *.taobao.com/*
// @grant GM_setValue
// @grant GM_getValue
// @run-at document-end
// @version 1.3
// ==/UserScript==
var notice_time=new Date().getHours();
if(notice_time!=GM_getValue('notice_time')){
  alert('taobao patch 脚本通知: 淘宝官方已经修复了店铺问题, 你现在可以尝试禁用taobao patch脚本. 如有问题可到百度firefox吧反馈.');
  GM_setValue('notice_time',notice_time);
}
var arr=['https://g.alicdn.com/shop/wangpu/1.9.5/init-async-min.js?t=20140523.js',/*修复 店铺首页图片*/
         'https://g.alicdn.com/shop/wangpu/1.9.5/init-min.js?t=20140523.js'/*修复 店铺'所有分类'页面和店内搜索功能*/
        ];
for(let i of arr){
var script=document.createElement('script');
script.src=i;
document.body.appendChild(script);
}