/userscripts

Greasemonkey / Tampermonkey scripts

Primary LanguageJavaScript

PlayStation 5 Stock Checkers

These userscripts will monitor various sites for Playstation 5 availability. They should run fine under Firefox, Chrome, or Edge. They haven't been tested all that well so I make no guarantees about how reliable they'll be.

For optimal performance, either use a differnt browser that has no extensions installed or create a new browser profile. Here's how to do it in Firefox and Chrome.

If you want a better chance of having the alert sounds play when the browser is in the background, you'll need to enable background autoplay. To do this:

  • For Chrome, start the browser from the terminal with the follow command: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --autoplay-policy=no-user-gesture-required
  • For Firefox, follow these steps

In addition to this script, I'd recommend keeping an eye on these Twitter accounts:

Installation

  1. Install the Tampermonkey, Violentmonkey or Greasemonkey browser extensions.
  2. Click on the links below for each of the stores that you want to run the script for:
  1. Open a tab for each of the store's PS 5 pages by clicking the links below. Be sure to leave them open.
  1. For each store, create an account, log in, and set a default payment method.

Customization

  • To change the time between page reloads, edit the refreshDelay variable in each script. Lower numbers can really slow down your machine. I lower the number for a specific site only if I'm expecting stock to appear soon.
  • If you find the sound too annoying, you can change it by updating the mp3 URL in the scripts.