Skip to content

Instantly share code, notes, and snippets.

@coryshaw1
Last active March 25, 2025 13:59
Show Gist options
  • Save coryshaw1/c1c2e7aa00a0039d1057b8e2cda85e7b to your computer and use it in GitHub Desktop.
Save coryshaw1/c1c2e7aa00a0039d1057b8e2cda85e7b to your computer and use it in GitHub Desktop.
Autorun Dub+ on queup.net
// ==UserScript==
// @name Dub+
// @namespace https://github.com/DubPlus/DubPlus/
// @description Autorun Dub+ on dubtrack.fm and queup.net
// @author MBSURFER, CISCOG
// @include https://*.queup.net/*
// @version 4.0.0
// @grant none
// ==/UserScript==
setTimeout(function(){
const s = document.createElement('script');
s.src = "https://cdn.jsdelivr.net/gh/DubPlus/DubPlus/dubplus.js";
document.body.appendChild(s);
}, 1000);
@coryshaw1
Copy link
Author

Updated. Thanks!

@FranciscoG
Copy link

FranciscoG commented Mar 24, 2025

I did end up restoring the minified js file (dubplus.min.js) so that people who were already pointing to it wouldn't see things break 😄

@FranciscoG
Copy link

oops. I also just realized that you need jQuery in order to run that $.getScript

or you can just update it to vanilla JS:

setTimeout(function(){ 
    const s = document.createElement('script');
    s.src = "https://cdn.jsdelivr.net/gh/DubPlus/DubPlus/dubplus.js";
    document.appendChild(s);
}, 1000);

@coryshaw1
Copy link
Author

Updated to vanilla JS to remove jQuery dependency

@FranciscoG
Copy link

Sorry, I messed up. Last change I promise. it's document.body.appendChild(s);. <-- i forgot the body part.

@coryshaw1
Copy link
Author

Updated and confirmed working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment