Last active
March 25, 2025 13:59
-
-
Save coryshaw1/c1c2e7aa00a0039d1057b8e2cda85e7b to your computer and use it in GitHub Desktop.
Autorun Dub+ on queup.net
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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); |
if not having a minified build will break to many things, I can add one back in. we just need to remove it when we submit to the FF add-on and chrome webstore
Updated. Thanks!
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 😄
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);
Updated to vanilla JS to remove jQuery dependency
Sorry, I messed up. Last change I promise. it's document.body.appendChild(s);
. <-- i forgot the body part.
Updated and confirmed working
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to update this to: "https://cdn.jsdelivr.net/gh/DubPlus/DubPlus/dubplus.js"
we no longer have a minified build
Also we no longer use jQuery so you can remove the lines 9 through 11
new version: 4.0.0