Skip to content

Instantly share code, notes, and snippets.

@riza
Last active May 28, 2021 20:13
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save riza/dcdde26fdb65c5210ac12f2d96218664 to your computer and use it in GitHub Desktop.
Save riza/dcdde26fdb65c5210ac12f2d96218664 to your computer and use it in GitHub Desktop.
yemeksepeti random yemek seçici
/* Chrome eklentisi de şurada : https://github.com/riza/yemeksepeti-randomer */
var items = []; $('.ys-item').find('.head').find('.restaurantName').each(function(i,v) { items.push($(this).html()); });console.log(items[Math.floor(Math.random()*items.length)]);
@makiftutuncu
Copy link

Chrome extension yapalım bundan. 👍

@riza
Copy link
Author

riza commented Jun 21, 2016

@mehmetakiftutuncu yapiyorum suan da biraz yarım kalıcak gibi, eve gidince bitirir pushlarım ayrı bi repoya :)

@om3rcitak
Copy link

başkabakan olacak adamsın. ülkenin sorunlarını çok güzel çözüyorsun. hll spr dvm

@riza
Copy link
Author

riza commented Jun 21, 2016

@om3rcitak glşdkşlgda eyv, afiyet olsun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment