PageSourceSearch

https://www.motherjones.com/_static/??-eJx9zUEOgjAQheELWSYSUVwYz9L…jjLvzz5+XKpTqZCDht9p9f1MY7DrX/e+3AAJ4ZBVg==

js motherjones.com collected 2026-09-24 08:25:35 UTC 2,894 bytes, 104 lines download raw bytes

1window.addEventListener("load", function() {
2    // Exit early if Sailthru was blocked by an ad-blocker
3    if(!window.Sailthru) return console.warn("Sailthru onsite JS failed to load.");
4    
5    console.info("Sailthru onsite JS is loaded. Initializing Sailthru...");
6    if (tag.isCustom) {
7        jQuery(function($) {
8            Sailthru.init({
9                customerId: tag.options.customerId,
10                isCustom: true,
11                autoTrackPageview: tag.options.autoTrackPageview,
12                useStoredTags: tag.options.useStoredTags,
13                excludeContent: tag.options.excludeContent,
14            });
15        });
16    } else {
17        Sailthru.init({
18            customerId: tag.options.customerId
19        });
20    }
21});;
22(function ($) {
23	"use strict";
24
25$(document).ready(
26	function(){
27		//set form from G59DC to "email"
28		$(".sailthru-add-subscriber-form").each(function(index,element){
29
30			if($($(".sailthru-add-subscriber-form")[index][0]).attr('class') === "sailthru_G59DC"){
31				$($(".sailthru-add-subscriber-form")[index][0]).attr('placeholder','Email');
32				$($(".sailthru-add-subscriber-form")[index][0]).attr('name','mooseymouse');
33				$($(".sailthru-add-subscriber-form")[index][0]).attr('class','sailthru_email');
34			}
35
36		});
37
38		$('.G59DC').text('Email');
39
40
41	}
42);
43
44
45}(jQuery));
46;
47(function ($) {
48	"use strict";
49	$(function () {
50		$('#sailthru-modal').hide();
51
52		$( ".show_shortcode" ).on( "click", function( e ) {
53			e.preventDefault();
54			var posTop = $(this).offset().top;
55			var modal = $( "#sailthru-modal");
56			modal.css("top", '100px');
57			modal.css("left", Math.max(0, (($(window).width() - $(modal).outerWidth()) / 2) + $(window).scrollLeft()) + "px");
58
59			$('.sailthru_shortcode_hidden .sailthru-signup-widget-close').show();
60			modal.fadeIn();
61		});
62
63		$('#sailthru-modal .sailthru-signup-widget-close').click(function(){
64			$('#sailthru-modal ').fadeOut();
65		}) ;
66
67		// when a user clicks subscribe
68		$(".sailthru-add-subscriber-form").submit(async function(e){
69
70			e.preventDefault();
71			var recaptcha = $("#sailthruToken");
72			var siteKey = $("#siteKey").val();
73			if (!recaptcha.val() && siteKey) {
74				var token = await grecaptcha.execute(siteKey, {action: 'homepage'});
75				recaptcha.val(token);
76			}
77
78			var user_input = $(this).serialize();
79			var form = $(this);
80			$.ajax({
81				url: sailthru_vars.ajaxurl,
82				type: 'post',
83				data: user_input,
84				dataType: "json",
85				xhrFields: {
86					withCredentials: true
87				},
88				success: function (data, status) {
89					if (data.success == false) {
90						$('#' + form.attr('id') + " .sailthru-add-subscriber-errors").html(data.message);
91					} else {
92						$('#sailthru-modal .sailthru-signup-widget-close').fadeIn();
93						$(form).html('');
94						$(form).parent().find(".success").show();
95						$(form).parent().find(".hide_toggle").hide();
96					}
97				}
98			});
99
100		});
101
102	});
103}(jQuery));
104;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.