Giter VIP home page Giter VIP logo

kju's Introduction

Kju

❯❯❯_ Kju – Improved waiting time for the adidas.com splash page.

This is a script for people who don't want to deal with proxies for brute forcing the adidas.com splash page. There are a few similar scripts out there already, but this uses completely separate Chrome sessions for improved results. It is pretty heavy on the CPU though.

Notification

Features

  • Simple Command Line Tool
  • All the right Chrome flags
  • Headless mode
  • HMAC cookie and User Agent Export
  • Rich notification center integration

Screenshot

Setup

1. Download and unzip.

2. Install Node.js.

Download it form here. Or do yourself a favor and use a package manager: Homebrew for macOS and Chocolatey for Windows.

If you're feeling fancy, use Yarn instead of NPM.

3. Setup kju.

Open your terminal and cd to the kju folder. Install the dependencies with npm install or yarn install.

In the meantime, log into your Google account on Chrome and export all your cookies with the EditThisCookie extensions into a file called cookies.json in the kju folder.

Open config.js and edit it to your liking.

Usage

Start Kju as soon as splash goes live. It handles 20 instances on a 13'' MBP (2016) without problem. Adjust accordingly.

Press l to toggle logging in the terminal. Press c to copy the latest HMAC and User Agent.

Once an instance passes splash, clicking on the notification takes you to that specific browser window. Cart and checkout from there.

You can also export the HMAC to InstaCop on your regular browser. Make sure to set the corresponding User Agent there, e.g. via Chrome's DevTools (network conditions) or Safari's developer menu.

Support

I will provide absolutely no support regarding setup and usage.

Try Twitter or r/adidasATC.

Resources

kju's People

Contributors

chrenn avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kju's Issues

Macbook code

Hello I need help with this issue

Michael-MacBook-Pro:kju-master michaelcerny$ node index.js
internal/modules/cjs/loader.js:800
throw err;
^

SyntaxError: /Users/michaelcerny/Desktop/kju-master /cookies.json: Unexpected token \ in JSON at position 1
at JSON.parse ()
at Object.Module._extensions..json (internal/modules/cjs/loader.js:797:27)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/Users/michaelcerny/Desktop/kju-master /index.js:12:24)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)

Soft bans

Hey! I'm getting soft banned all the time from adidas. It is caused by headless mode.

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.