Way to check if HTML has been rendered?

I’m serving Amazon affiliate links on my site and I’d like to check to see if they’ve been blocked by an ad blocker to base some other formatting on (for example, to hide the X icon that closes the ad).

“When HTML A is not visible” doesn’t work since the html element is still there, just not rendered. Any ideas?

One idea: Create some Javascript to test for this, then use the “Run JS” action to execute the JS (see Toolbox Plugin for details) and use Toolbox’s “Javascript to Bubble” to get the results from JS back into your database.