[HELP] Execute code after user click on a reaction?

ZeroCool22

ZeroCool22

Registered
Staff member
Members
Joined
Jul 10, 2022
Messages
10
Reaction score
0
Points
3
Credits
596
The thing is i'm using a shortener script to short all external links on my forum (Xenforo).

JavaScript:
Please, Log in or Register to view codes content!

But the problem is the script stop working when the message got reloaded when a user use some reaction:

Please, Log in or Register to view URLs content!

I need to modify the script to reload after the user click on a reaction.

I'm not an expert on JScript.

ChatGPT give me two options to do this:

JavaScript:
Please, Log in or Register to view codes content!


JavaScript:
Please, Log in or Register to view codes content!

None of this worked.

Could someone with a good knowledge tell me the correct script to get the script shortener correctly reloaded after the user click a reaction?

Thx in advance.
 
Top