Skip to content

CTNL/yemeksepeti-gift-sorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

yemeksepeti-gift-sorter

Yemeksepeti hediyelerini ihtimallere göre sıralar

How to use

Option 1: Using the Console

  1. Open the console by pressing F12 (Firefox: Ctrl+Shift+K)
  2. Copy, paste below code and press Enter:

jQuery(".gift-items li").each(function(){$cols=$(this).find(".properties>div");var e=parseInt($cols[0].innerText)/parseInt($cols[1].innerText);$cols[2].innerHTML=100*e}).sort(function(e,n){var r=parseFloat($(e).find(".properties>div")[2].innerText),t=parseFloat($(n).find(".properties>div")[2].innerText);return r>t?-1:1}).appendTo(".gift-items");

Option 2: Create a Bookmark

javascript:jQuery(".gift-items li").each(function(){$cols=$(this).find(".properties>div");var e=parseInt($cols[0].innerText)/parseInt($cols[1].innerText);$cols[2].innerHTML=100*e}).sort(function(e,n){var r=parseFloat($(e).find(".properties>div")[2].innerText),t=parseFloat($(n).find(".properties>div")[2].innerText);return r>t?-1:1}).appendTo(".gift-items");

About

Yemeksepeti hediyelerini ihtimallere göre sıralar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published