Although this question may be old, I wanted to share a solution specifically for the Trustpilot widget.
Below is code that can be used to disable the click event on a Trustpilot TrustBox widget:
.trustpilot-widget{
pointer-events: none;
cursor: default;
}
Depending on your setup, you may need to apply this as an inline style. That was the case for me.
<div
className="trustpilot-widget"
style={{ pointerEvents: 'none', cursor: 'default' }}
...
...
...
{your other Trustpilot widget code}
>
<a>Trustpilot</a>
</div>
In regards to violating Trustpilot policies or TOS with this modification, we received confirmation from Trustpilot themselves that this change is acceptable and safe to implement.
If you still have any concerns, it's best to reach out to Trustpilot directly. Our experience shows they are responsive and provided clarification within 24 hours of our inquiry.