Created
January 11, 2017 19:26
-
-
Save adrianspeyer/fd2cdd2c7a7d9599d01df53e86ff8e2b to your computer and use it in GitHub Desktop.
How to handle Ghostery blocking your HubSpot forms. This appends a message asking user to add your site to whitelist. Just add it to the footer in any HubSpot COS page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(window).load(function () { | |
if($("[id^='hs_form_target_module']").html() == "") { | |
$( ".hs_cos_wrapper.form-title" ).append( "<h6>If you are seeing this message you may have Adblock or Ghostery enabled. Please consider whitelisting our site to download the content.</h6>" ); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sadly I don't think this works anymore!