Skip to content

Instantly share code, notes, and snippets.

View crsmoore's full-sized avatar

Chris Moore crsmoore

View GitHub Profile
@crsmoore
crsmoore / code-snippet-to-hide-from-search.html
Last active March 27, 2017 16:10
Code Snippet to Hide Page From Search Engines
<!--
If using Kajabi, go to:
1.) Landing Pages
2.) Then click on the "..." on the right
3.) Then select "Edit Code"
4.) Then click on the "Templates" folder
5.) Then open the "index.liquid" file
6.) After that, paste in the following 2 lines of code (the 2 lines that say "meta") after the opening <head> tag near the top.
-->
<!-- http://momentjs.com/ -->
<script>
_dcq.push(['identify', { time_zone: moment.tz.guess() } ]);
</script>
@crsmoore
crsmoore / cf-checkbutton
Created August 10, 2016 20:01
ClickFunnels CheckButton
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<script>
$(document).ready(function () {
var checker = '<input type="checkbox" class="submitButtonCheck" value="1"> ';
$('[href=#submit-form] .elButtonSub, [href=#submit-form-2step-order] .elButtonSub, [href*=yes-link] .elButtonSub').prepend(checker);
$('.submitButtonCheck').click(function (ev) {
ev.stopPropagation();
});
$('[href=#submit-form], [href=#submit-form-2step-order], [href*=yes-link]').click(function (ev) {
if ($('.submitButtonCheck:checked').length === 0) {
// AUTO-SELECT CLICKFUNNELS PRODUCT ON ORDER PAGE
// --
//
// AUTHOR: Robert Klubenspies (klubenspies.com)
//
// REQUIREMENTS: jQuery
//
// USAGE:
// 1) Find your product's ID numbers by using Web Inspector to find
// the code for your order page's radio buttons. They'll look