Giter Site home page Giter Site logo

alexlevy0 / nike-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bdkay/nike-bot

0.0 3.0 0.0 26 KB

Simple JS + PHP snippet that, when loaded as a Chrome extension, automatically adds the specified shoe size to the user's cart after clicking the unique @nikestore purchase link.

Home Page: http://twitter.com/catrainbow

JavaScript 1.16% PHP 98.84%

nike-bot's Introduction

Nike-Bot

AS OF 1/1/2016, THIS IS NO LONGER WORKING. IT WAS MERELY AN EXERCISE TO DEMONSTRATE HOW DUMB IT IS TO BUY BOTS FROM RESELLERS.

Just a bit of JS + PHP that, when loaded as a Chrome extension, aids in automating the first two steps of purchasing limited shoe releases from Nike via Twitter.

After clicking the @nikestore release link, the specified shoe size and amount are automatically added to your cart.

These two values are set inside autocart.js.

    var size = "12";
    var amount = 1;

Automating the first two steps of picking a size and amount doesn't seem very useful, but when limited release URLs are being hit by literally millions of people at once every second counts.

Nike's newest release platform is Twitter, sending out unique direct purchase URLs for each of its limited shoe releases to millions of thirsty sneakerheads around the globe. Some people started selling a "program" that would automatically add pairs to the user's cart that would "work on both Mac and PC". :/

This made me think that it was probably just a simple piece code that sets the size and amount values upon page load. This, coupled with the fact that they were selling it for $50-100 apiece, made me think I could write my own. Thus, nike-bot!

Set Up

  1. Fork the repo or, if you're not using git, download the .ZIP.
  2. Unzip master.zip. It contains 1 folder, master-nike-bot.
  3. Open Google Chrome.
  4. Go to Settings > Extensions. Tick the box next to 'Developer mode'.
  5. Click on 'Load Packed Extension' button to the left.
  6. Double click nike-master-bot, then chrome-extension, then autocart.js. This will load it as a Chrome extension.

That's it! Now just click on a @nikestore release link and watch it do its thing.

If you edit autocart.js at all, such as modifying the size or amount values, you'll have to go back into Chrome > Settings > Extensions and click 'Reload' under nike-bot.

nike-bot's People

Contributors

bdkay avatar

Watchers

James Cloos avatar Alex Lévy avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.