- 787
- 47
- Joined
- Jul 25, 2012
the one in april happened on a wednesday
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: this_feature_currently_requires_accessing_site_using_safari
lol.. you dudes are cruel..Meg deleted her Linked In
Meg deleted her Linked In
Wow I just read the whole tread and I'm impressed and confused. I have the basic google chrome auto add/cart bot and now it doesn't work and I knew why but now I understand a little better. Thanks for all the info. Now if I could just figure out how to change my bot so it will work again but I just don't understand all the stuff u guys posted. Appreciated but lost
Does anyone else know where the physical location of the Nike server is? I'm in Hawaii and don't think I have a chance even with a bot with latency if it's farther than the rockies.
Why not help link or answer his/her question and stop being *** holes?
Why not help link or answer his/her question and stop being *** holes?
Why don't you help him if you feel so strongly about it?
open you .js file in notepad.Wow I just read the whole tread and I'm impressed and confused. I have the basic google chrome auto add/cart bot and now it doesn't work and I knew why but now I understand a little better. Thanks for all the info. Now if I could just figure out how to change my bot so it will work again but I just don't understand all the stuff u guys posted. Appreciated but lost
ive been thinking about this a little bit. If you don't do something to actually mess with the system (I. E. Just using bots to harass, and get to the front of the line faster) then you are on good legal standing. You would just be maximizing the system that Nike put into place using publicy available methods (I. E. Twitter) once you try to inject, or trick the computer into kicking others in out, or force your way in, then you start to hit that grey area. I'd be a little more wary then.Has anyone come across scripts that does their own POST to NDC?
I get a lot scripts run past me. And if a person gets an order cancelled then I'm willing to look at the code to see what may have triggered it if asked.
Those that know about the PLACE IN LINE value on NDC are probably only looking at the response from the server but are any of you trying to inject calls to modify this value?
I need more TLOs to take place. That or a drop with the queuing system in use. ***** getting too interesting.
1 var size_i_want = "8";
2 var how_many = 1;
3 function addToCart()
{
4 var sizesList=document.getElementsByName("skuAndSize")[;
5 function setQuantity()
{
6 document.getElementsByName("qty")[.selectedIndex = how_many-1;
}
7 function setSizeValue()
{
8 for (var i=0; i<sizesList.length; i++)
{
9 if(sizesList.options.text == size_i_want)
{
10 document.getElementsByName("skuAndSize")[.selectedIndex = i;
11 setQuantity();
}
}
}
12 if(sizesList != undefined)
{
13 setSizeValue();
14 document.getElementsByClassName("button-container add-to-cart")[.click();
}
15 else
{
16 setTimeout("addToCart()", 250);
}
}
17 setTimeout("addToCart()", 250);
Lines 1 and 2 sets the shoe size and the number of shoes to add to cart, respectively.
Line 4 acquires an array of sizes available from the skuAndSize list.Line 3 defines the function addToCart function. After entering the addToCart function the first line of execution takes place at Line 4.
For men's basketball shoes: Index values start at 0 and increment their way up so:Line 7 defines the function that loops through the size array and finds the index associated with the size you set in Line 1.
Line 8 looks through the sizeList looking for the index value that contains the size you want. This is inefficient.
So I just tested the index and highlighted for emphasis that the size index varies between the different sections of NDC. (oddly enough, it looks like the size index is off by 1 from what you listed when I tested) What would be the "ideal" way of getting the size index values for all of NDC without bogging the script down?So if your shoe size is "13" then you a have to iterate 12 times before you find your size. You could easily just remove the for statement and replace it with the index value above. But do realize that if you do this, the script will always select the size associated with that index - which isn't always the same index if you go outside of men's basketball shoes.Line 7 defines the function that loops through the size array and finds the index associated with the size you set in Line 1.
Line 8 looks through the sizeList looking for the index value that contains the size you want. This is inefficient.
Why is this script detectable? The process of selecting your size involves no mouse events (such as mouseover mouseup mousedown mouseout). Meaning that if you are able to select a size without triggering these events then you are more than likely using a bot.
Tags can be added to the order detail when certain mouse events are triggered. So the absence of such tags, that may get passed over to the order details, could help NDC flag orders.
Furthermore, the process of clicking Add to Cart would normally involves: focus, mouseover, mouseup, mousedown (optional mouseout). But you see in the code that all that is invoked is click (which is a combination of a mousedown then mouseup).
To answer your first question: The list can vary from shoe to shoe - depending on what the very first index (0) starts at. I believe though - for a given style of shoe that the index remains constant throughout the store. Lebrons vs. Flyknit Chukkas vs. KDs. etc.So I just tested the index and highlighted for emphasis that the size index varies between the different sections of NDC. (oddly enough, it looks like the size index is off by 1 from what you listed when I tested) What would be the "ideal" way of getting the size index values for all of NDC without bogging the script down?
You posted earlier to try adding something else to the cart manually without the bot to try and confuse the system AFTER you get the item in your cart successfully. Are you thinking that even with the above submitted mouse events that NDC can still see bot usage through other means?
In the jquery script that is floating around.@evilside:
Good summary! Hey quick question, how does the latest jQuery help prevent bot detection? You previously mentioned latest jquery.js contains mouse events; can you elaborate a bit?
got it.... I see now. Thanks! I'm going to play around with my script to implement the reversed array you suggested. Do I replace line 8 with "(var i=sizesList.length-1; i<0; i--)"?In the jquery script that is floating around.
The size selection involves a mouseover, mousedown, mouseup.
While the add to cart is still a click - it could easily be decorated with a mouseover before the call.