Temporarily Disable 'Download PDF' button on Gated CTAs with Initial Delay


Use this Custom Code snippet to prevent an end-user from downloading the PDF prior to the delayed gate displaying.


Hub Hacks are not official Uberflip features.

Hub Hacks may not work on all Hubs, or may cause unexpected behavior. If you experience issues with a Hub Hack, available support is limited to helping you disable the Hub Hack only.


Hub Hacks are not compatible with Front End V2 Hubs.

If you are not sure if your Hub uses Front End V2, see this article for help.


  • Type: CSS & Javascript
  • Placement: Body Bottom



.single-page .uf-disabled {
background: #ddd !important;
color: #fff !important;
pointer-events: none;
var fixGatedCtas = function fixGatedCtas() {
if ($('.cta[data-init-delay]').length !== 0) {
var ctaDelay = parseInt($('.cta[data-init-delay]').attr('data-init-delay')) * 1000;
setTimeout(function () {
}, ctaDelay + 2000);


0 out of 0 found this helpful