Date: Fri, 29 Mar 2024 13:55:23 +0200 (EET) Message-ID: <1648561314.674.1711713323975@ip-172-30-3-56.ec2.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_673_1020932036.1711713323970" ------=_Part_673_1020932036.1711713323970 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
If you need to capture an = onclick event, when your end-users click on the WProofreader badge button, = you can do the following:
var buttons =3D doc= ument.querySelectorAll('.wsc-badge__button'); buttons.forEach(function(button) { button.addEventListener('click', function(e) { // Do what you want here on badge button click event. }); });