15 Replies
mhm
mhm
hmmm no luck rn :/
however, the one option you suggested, https://discord.com/channels/1063548024825057451/1125466591128195242/1151202761245982841 can and does work

yeah you don't even need jquery for it
just a simple
document.querySelector("a:not([blueprint])[href='/account']").click()
the css selector a:not([blueprint])[href='/account']
breakdown -
- selects <a> element
- which doesn't have blueprint
attribute set. (-> to exclude original blueprint sidebar links)
- which has attribute href
set to /account
(you can change this depending on the path)
- finds correct /account link from page and gives it back to js
and the .click() function simulates a clickIt works perfectly. Thank you Flame.
👍
aight so
i will have a lot of options in nebula's admin page
and only want one save button
so my idea is
is there a way to check if there are any changes to a html form
and then show an overlay with a save button
similar to how discord does it
hmmmmmmmm you
bru-
got it already
👍
I typed it half and then forgot to reply ;/
I was gonna say that you will need some kind of library to do that i think
or you can loop through all fields and check if their values are changed
well not exactly
oh, well that was easy lol
nice 👍
lmao