Skip to content

Instantly share code, notes, and snippets.

@trshafer
Created May 8, 2012 01:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trshafer/2631871 to your computer and use it in GitHub Desktop.
Save trshafer/2631871 to your computer and use it in GitHub Desktop.
Loops songs on beatport.com
In Chrome:
Visit Adam Cobb's Beatport.com remix.
Open the menu "View"
Hover over "Developer"
Click "JavaScript Console"
You'll be presented with a strange window and a blinking cursor. Paste that code in the previous file (replay.js) and press Enter. The song will now continue to loop. Every time you refresh the page follow those steps.
function rePlay() {if (!$('.player').hasClass('playing')) { $('.bp-play').click(); } setTimeout(rePlay, 500); }; rePlay();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment