-
-
Save Soulflare3/eeafb3e391bbb2b4e930 to your computer and use it in GitHub Desktop.
noDonate
This file contains 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 noDonate | |
// @namespace 9000 | |
// @description Removes donate button from plug.dj | |
// @include https://plug.dj/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
var url = document.location.href; | |
var home = /https:\/\/plug\.dj\/tastycat/ | |
if (home.test(url)) { | |
console.log("[noDonate] Started"); | |
setTimeout(function() { | |
var donateBox = document.getElementById('donate-box'); | |
if (donateBox) { | |
donateBox.remove(); | |
console.log("[noDonate] Removed donate box"); | |
} | |
$("#chat-messages").removeClass("show-donate"); | |
console.log("[noDonate] Moved Chat"); | |
document.getElementById('chat-messages').setAttribute("style","height: 750px"); | |
console.log("[noDonate] All done!"); | |
}, 20000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment