Greasy Fork镜像 支持简体中文。

自動京東配送

在京東瀏覽商品時,可選擇自動為你勾選 [京東配送]、[僅顯示有貨]、[銷量排序]。方便實用!

目前為 2016-06-11 提交的版本,檢視 最新版本

// ==UserScript==
// @name                自动京东配送
// @name:zh-CN          自动京东配送
// @name:zh-TW          自動京東配送
// @description         在京东浏览商品时,可选择自动为你勾选 [京东配送]、[仅显示有货]、[销量排序]。方便实用!
// @description:zh-CN   在京东浏览商品时,可选择自动为你勾选 [京东配送]、[仅显示有货]、[销量排序]。方便实用!
// @description:zh-TW   在京東瀏覽商品時,可選擇自動為你勾選 [京東配送]、[僅顯示有貨]、[銷量排序]。方便實用!

// @authuer             Moshel
// @namespace           http://hzy.pw
// @homepageURL         http://hzy.pw/p/1349
// @supportURL          http://weibo.com/moshel
// @icon                http://hzy.pw/wp-content/uploads/2015/04/i.jpeg

// @include             *//search.jd.com/*
// @include             *//www.jd.com/pinpai/*
// @grant               none
// @run-at              document_start

// @version             2.3.1
// @modified            06/10/2016
// ==/UserScript==


! function() {
    "use strict";

    var href = location.search;

    if (href.indexOf("delivery") < 0)
        href += "&delivery=1";
    if (href.indexOf("stock") < 0)
        href += "&stock=1";
    /* 图书页面的京东配送 */
    if (href.indexOf("wtype") < 0)
        href += "&wtype=1";
    /* 销量排序 */
    if (href.indexOf("psort") < 0)
        href += "&psort=3";

    if(location.search != href)
        location.search = href;

}();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址