JSFiddle - React, Tailwind, and code Playground

by andypotanin

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<div class="ud-ping-notice-dismiss">

<img src="https://www.usabilitydynamics.com/client-message-read/sd" width="1" height="1" style="font-size:1px; line-height: 1px;" />

<a class="Some Button" href="/ping"></a>
</div>

CSS

div.ud-ping-notice {
    position: absolute !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .ud-ping-notice.updated.fade {
      display: none;
  }

JavaScript

if( 'function' === typeof jQuery ) {
  console.log('dsf');
  jQuery(document).ready(function($){
    var href = jQuery('.ud-ping-notice-dismiss a').attr('href');
    jQuery.get( href );
  });
  }