taobao patch

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

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