var gtm4wp_datalayer_name = "dataLayer";
var dataLayer = dataLayer || [];
https://www.desperatesailors.com/wp-includes/js/jquery/jquery.min.js
https://www.desperatesailors.com/wp-includes/js/jquery/jquery-migrate.min.js
dataLayer.push({
'content_section': 'archive-pages'
});
var dataLayer_content = {"pagePostType":"post","pagePostType2":"author-post","pagePostAuthor":"Luke"};
dataLayer.push( dataLayer_content );
function getLinkEl(link) {
while (
link &&
(typeof link.tagName === "undefined" ||
link.tagName.toLowerCase() !== "a" ||
!link.href)
) {
link = link.parentNode;
}
return link;
}function shouldFollowLink(event, link) {
// If default has been prevented by an external script, Plausible should not intercept navigation.
if (event.defaultPrevented) {
return false;
}var targetsCurrentWindow =
!link.target || link.target.match(/^_(self|parent|top)$/i);
var isRegularClick =
!(event.ctrlKey || event.metaKey || event.shiftKey) &&
event.type === "click";
return targetsCurrentWindow && isRegularClick;
}var MIDDLE_MOUSE_BUTTON = 1;function handleLinkClick(event) {
if (event.type === "auxclick" && event.button !== MIDDLE_MOUSE_BUTTON) {
return;
}var link = getLinkEl(event.target);if (link && shouldTrackLink(link)) {
var eventName = "Affiliate Link: Click";
var eventProps = { url: link.href };
return sendLinkClickEvent(event, link, eventName, eventProps);
}
}function sendLinkClickEvent(event, link, eventName, eventProps) {
var followedLink = false;function followLink() {
if (!followedLink) {
followedLink = true;
window.location = link.href;
}
}if (shouldFollowLink(event, link)) {
plausible(eventName, { props: eventProps, callback: followLink });
setTimeout(followLink, 5000);
event.preventDefault();
} else {
plausible(eventName, { props: eventProps });
}
}function shouldTrackLink(link) {
var toBeTracked = "amazon.com";
return !!link.href.match(toBeTracked);
}document.addEventListener("click", handleLinkClick);
document.addEventListener("auxclick", handleLinkClick);
Skip to content
Amazon Disclosure
DesperateSailors.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com. As an Amazon Associate, we earn from qualifying purchases. Amazon and the Amazon logo are trademarks of Amazon.com, Inc., or its affiliates.
Please refer to our Privacy & Affiliate policy for more details.
https://www.desperatesailors.com/wp-content/plugins/gallery-block-lightbox/dist/baguetteBox.min.js
window.addEventListener("load", function() {baguetteBox.run(".wp-block-gallery,:not(.wp-block-gallery)>.wp-block-image,.wp-block-media-text__media,.gallery,.wp-block-coblocks-gallery-masonry,.wp-block-coblocks-gallery-stacked,.wp-block-coblocks-gallery-collage,.wp-block-coblocks-gallery-offset,.wp-block-coblocks-gallery-stacked,.mgl-gallery,.gb-block-image",{captions:function(t){var e=t.parentElement.classList.contains("wp-block-image")||t.parentElement.classList.contains("wp-block-media-text__media")?t.parentElement.querySelector("figcaption"):t.parentElement.parentElement.querySelector("figcaption,dd");return!!e&&e.innerHTML},filter:/.+\.(gif|jpe?g|png|webp|svg|avif|heif|heic|tif?f|)($|\?)/i});});
https://www.desperatesailors.com/wp-content/plugins/very-simple-contact-form/js/vscf-anchor.js
https://www.desperatesailors.com/wp-content/plugins/very-simple-contact-form/js/vscf-reset.js
https://www.desperatesailors.com/wp-content/plugins/lazy-load-for-videos/public/js/lazyload-shared.js
window.llvConfig=window.llvConfig||{};window.llvConfig.youtube={"colour":"red","buttonstyle":"default","controls":true,"loadpolicy":false,"thumbnailquality":"0","preroll":"","postroll":"","overlaytext":"","loadthumbnail":true,"cookies":false,"callback":"<!--YOUTUBE_CALLBACK-->"};
https://www.desperatesailors.com/wp-content/plugins/lazy-load-for-videos/public/js/lazyload-youtube.js
https://www.desperatesailors.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-lazy-load.min.js
var ct_localizations = {"ajax_url":"https:\/\/www.desperatesailors.com\/wp-admin\/admin-ajax.php","public_url":"https:\/\/www.desperatesailors.com\/wp-content\/themes\/blocksy\/static\/bundle\/","rest_url":"https:\/\/www.desperatesailors.com\/wp-json\/","search_url":"https:\/\/www.desperatesailors.com\/search\/QUERY_STRING\/","show_more_text":"Show more","more_text":"More","search_live_results":"Search results","search_live_no_result":"No results","search_live_one_result":"You got %s result. Please press Tab to select it.","search_live_many_results":"You got %s results. Please press Tab to select one.","expand_submenu":"Expand dropdown menu","collapse_submenu":"Collapse dropdown menu","dynamic_js_chunks":[{"id":"blocksy_pro_micro_popups","selector":".ct-popup","url":"https:\/\/www.desperatesailors.com\/wp-content\/plugins\/blocksy-companion-pro\/framework\/premium\/static\/bundle\/micro-popups.js?ver=2.0.30"},{"id":"blocksy_sticky_header","selector":"header [data-sticky]","url":"https:\/\/www.desperatesailors.com\/wp-content\/plugins\/blocksy-companion-pro\/static\/bundle\/sticky.js?ver=2.0.30"}],"dynamic_styles":{"lazy_load":"https:\/\/www.desperatesailors.com\/wp-content\/themes\/blocksy\/static\/bundle\/non-critical-styles.min.css?ver=2.0.30","search_lazy":"https:\/\/www.desperatesailors.com\/wp-content\/themes\/blocksy\/static\/bundle\/non-critical-search-styles.min.css?ver=2.0.30","back_to_top":"https:\/\/www.desperatesailors.com\/wp-content\/themes\/blocksy\/static\/bundle\/back-to-top.min.css?ver=2.0.30"},"dynamic_styles_selectors":[{"selector":".ct-header-cart, #woo-cart-panel","url":"https:\/\/www.desperatesailors.com\/wp-content\/themes\/blocksy\/static\/bundle\/cart-header-element-lazy.min.css?ver=2.0.30"},{"selector":".flexy","url":"https:\/\/www.desperatesailors.com\/wp-content\/themes\/blocksy\/static\/bundle\/flexy.min.css?ver=2.0.30"},{"selector":".ct-media-container[data-media-id], .ct-dynamic-media[data-media-id]","url":"https:\/\/www.desperatesailors.com\/wp-content\/plugins\/blocksy-companion-pro\/framework\/premium\/static\/bundle\/video-lazy.min.css?ver=2.0.30"},{"selector":"#account-modal","url":"https:\/\/www.desperatesailors.com\/wp-content\/plugins\/blocksy-companion-pro\/static\/bundle\/header-account-modal-lazy.min.css?ver=2.0.30"},{"selector":".ct-header-account","url":"https:\/\/www.desperatesailors.com\/wp-content\/plugins\/blocksy-companion-pro\/static\/bundle\/header-account-dropdown-lazy.min.css?ver=2.0.30"}]};
https://www.desperatesailors.com/wp-content/themes/blocksy/static/bundle/main.js