From f4385d3b5c257868820d73beeb6e8e88907558de Mon Sep 17 00:00:00 2001 From: swee Date: Fri, 3 Jan 2025 22:39:59 -0800 Subject: [PATCH] Update builded.user.js --- builded.user.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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; }