diff --git a/builded.user.js b/builded.user.js index a11c5ef..d8e68a5 100644 --- a/builded.user.js +++ b/builded.user.js @@ -23,9 +23,11 @@ function settings() { } if (location.host == "www.guilded.gg") { console.info("Guilded.GG detected."); - jQuery(document).on('DOMNodeInserted','.line',function(){ - jQuery(this).myFunction(); - console.log("object added");}) + $.initialize('select', function() { + if ($(this).classlist.conains("DesktopOptionsControl-persistent-menu")) { + console.info("Settings opened!") + } + }); } else { document.body.innerHTML += settings_HTML; }