taobao patch

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

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==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);
}