// ==UserScript== // @name 自动京东配送 // @name:zh-CN 自动京东配送 // @name:zh-TW 自動京東配送 // @description 在京东浏览商品时,可选择自动为你勾选 [京东配送]、[仅显示有货]、[销量排序]。方便实用! // @description:zh-CN 在京东浏览商品时,可选择自动为你勾选 [京东配送]、[仅显示有货]、[销量排序]。方便实用! // @description:zh-TW 在京東瀏覽商品時,可選擇自動為你勾選 [京東配送]、[僅顯示有貨]、[銷量排序]。方便實用! // @author Moshel // @namespace https://hzy.pw // @homepageURL https://hzy.pw/p/1349 // @supportURL https://github.com/h2y/link-fix // @icon https://hzy.pw/wp-content/uploads/2015/04/i.jpeg // @license GPL-3.0 // @include *//search.jd.com/* // @include *//www.jd.com/pinpai/* // @include *//list.jd.com/list.html?* // @grant none // @run-at document-start // @version 2.3.3 // @modified 09/16/2016 // @downloadURL none // ==/UserScript== ! function() { "use strict"; var $_GET = (function(){ var url = location.search.toString(); var u = url.split("?", 2); if(typeof(u[1]) === "string"){ u = u[1].split("&"); var get = {}; for(var i=0; i