-
-
Save ozknozsrt/b1a78d3f864ed7c457be1742fd0090c8 to your computer and use it in GitHub Desktop.
yemeksepeti random yemek seçici
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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)]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment