Rejected Add an ID on each 'popup' HTML elements of client

Status
Not open for further replies.
Hello,

It would be very useful that popup HTML elements (battle format selection, settings, start timer,...) have ID's.
At the moment, it looks like this for every popup:
<div class="popup"></div>

This would be perfect:
<div class="popup" id="popupSound"></div>
<div class="popup" id="popupSettings"></div>
<div class="popup" id="popupTimer"></div>
...

Hope this happen!

Thanks for reading
 

dhelmise

banend doosre
is a Site Content Manageris a Battle Simulator Administratoris a Top Social Media Contributoris a Community Leaderis a Programmeris a Community Contributoris a Top Contributoris a Top Smogon Media Contributoris a Top Dedicated Tournament Hostis a Smogon Discord Contributor Alumnus
Social Media Head
What do you want to use the IDs for?
I could see this being useful for some bots that parse through popups (mine passes through /roomauth but it’s very hacky rn since the code still triggers even if it gets a promotion popup or something)

E: I am aware that you can use /cmd and queryresponse for /roomauth, this was just an example of a popup command
 
Last edited:
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 1, Guests: 0)

Top