Aliexpress sort by price2

Sort by price by one click

目前为 2017-05-06 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Aliexpress sort by price2
  3. // @namespace https://gf.qytechs.cn/users/62973
  4. // @version 0.0.1
  5. // @description Sort by price by one click
  6. // @author Mateusz Kula
  7. // @match https://www.aliexpress.com/*
  8. // @run at none
  9. // @homepageURL http://kulam.pl
  10. // @supportURL http://kulam.pl/kontakt
  11. // @icon http://i.imgur.com/R5IP5KN.png
  12. // ==/UserScript==
  13.  
  14. var targethost = "aliexpress.com"; //mozesz zmienic na "pl.aliexpress.com"
  15. var freeshipping= "no"; //wyszukiwanie z darmowa wysylka, wartosci "yes" lub "no"
  16. var pa=window.location.pathname;
  17.  
  18. //context-menu
  19.  
  20. if(pa.slice(0,7)=="/store/")
  21. var number=pageConfig.storeId;
  22.  
  23. if(pa.slice(0,6)=="/item/")
  24. var number=hid_storeId.value;
  25.  
  26. var locationPathname = location.pathname.split('/');
  27. if(freeshipping=="yes")
  28. window.location.replace(window.location.protocol+'//'+targethost+"/store/"+number+'/search?SortType=price_asc&isFreeShip=y&'+window.location.search+window.location.hash);
  29. else
  30. window.location.replace(window.location.protocol+'//'+targethost+"/store/"+number+'/search?SortType=price_asc&'+window.location.search+window.location.hash);

QingJ © 2025

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