PageSourceSearch

https://www.lewrockwell.com/wp-content/uploads/1165.js?ver=7.1.1

js lewrockwell.com collected 2026-09-24 08:42:43 UTC 6,443 bytes, 107 lines download raw bytes

1var publirPageParams = (new URL(document.location)).searchParams;
2                var publir_preview = publirPageParams.get('publir_preview');
3                if(publir_preview==="1") {var oScriptElem = document.createElement('script');oScriptElem.type = 'text/javascript';oScriptElem.src = 'https://a.publir.com/platform/ads.js';document.getElementsByTagName('head')[0].appendChild(oScriptElem);
4async function firstAsync() {let promise = new Promise((res, rej) => {setTimeout(() => res(), 1000)}); let result = await promise; if(document.getElementById('adblock1122112')){}else{var p_currentPage = window.location.href;
5var p_siteId = '1165';
6var p_json_final = { p_currentPage, p_siteId};
7var url = 'https://www.lewrockwell.com/wp-admin/admin-ajax.php?action=publir_adblock_pAnalytics_callback_action';
8fetch(url, {method: 'POST', mode: 'no-cors',body: JSON.stringify(p_json_final),credentials: 'include',headers: {'Content-Type': 'text/plain',}});
9var publirSiteID = '1165';
10var currentrootDomain = location.hostname.split('.').reverse().splice(0,2).reverse().join('.');
11
12function setCookie(cname, cvalue, exdays) {
13    var d = new Date();
14    d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
15    var expires = 'expires='+d.toUTCString();
16    document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/;domain=" + currentrootDomain;
17}
18
19function getCookie(cname) {
20var name = cname + "=";
21var ca = document.cookie.split(';');
22for(var i = 0; i < ca.length; i++) {
23var c = ca[i];
24while (c.charAt(0) == ' ') {
25c = c.substring(1);
26}
27if (c.indexOf(name) == 0) {
28  return c.substring(name.length, c.length);
29}
30}
31return "";}
32
33if (!getCookie("ab-consent") ) {
34setCookie('ab-consent','1',9999);
35var abpbVisitCount = 1
36} else  {
37var abpbVisitCount = getCookie("ab-consent")
38abpbVisitCount++;
39setCookie('ab-consent',abpbVisitCount,9999);
40}
41
42function abpbConsentFunction() {
43var xabpb = document.getElementById("abpbConsentModal");
44xabpb.style.display = "block";
45
46var abpbstyleelem = document.createElement('div');
47abpbstyleelem.id="blurabpbstyle"; 
48abpbstyleelem.innerHTML = "<style>body > *:not(#abpbConsentModal,#publiradblockwhitelistmodel) { filter: blur(0.1px);-webkit-filter: blur(0.1px);} .abpbOverlay {position: fixed;width: 100%;height: 100%;z-index: 1000;top: 0px;left: 0px;opacity: .5; filter: alpha(opacity=50);} body{ overflow-y:hidden; } </style>";
49
50document.body.appendChild(abpbstyleelem);
51
52 var div= document.createElement("div");
53  div.className += "abpbOverlay";
54 document.body.appendChild(div);}var abpbShowNoticeAfter = 0
55if ( abpbVisitCount > abpbShowNoticeAfter) {
56console.log("Publir Adblock visits: " +abpbVisitCount + " ");
57
58var xhttp = new XMLHttpRequest();
59xhttp.onreadystatechange = function() {
60if (this.readyState == 4 && this.status == 200) {
61
62var abpbelem = document.createElement('div');
63abpbelem.id="abpbConsentModal" 
64
65abpbelem.innerHTML += '<style> #abpbConsentModal{ position : fixed;top  : 0px; z-index : 999999999; padding: 15px;background-color:#006325; border-color:#37ada8; border-width:0px  ; color: #ffffff; border-style:solid ; display: flex; margin-top:0px;;right: 2px;left: 2px;} #abpbConsentModal .abpbConsent-modal-content {  font-family: "Trebuchet MS", sans-serif; font-size: 16px; font-weight: 500; line-height:24px; position: relative; padding: 5px 10px; margin: 10px 0 0 0; float: left; color: } @media only screen and (max-width: 768px) {.abpbConsent-modal-content { overflow-y: scroll; padding-bottom: 10px; width: 90%; height: auto !important; }  } @media only screen and (max-width: 1024px) {#abpbConsentModal { flex-wrap: wrap;}} .abpbConsent-close-btn { background-color:#f00000 ;color:#ffffff ;font-size: 24px; font-weight: bold; position: absolute; right: 0px; top: 0; cursor: pointer;padding: 0px 5px 0px 5px;height: 28px;line-height: 28px;}.abpbConsent-close-btn:hover {color: darkgray;} .ebpbvisitsleft { opacity: 0.5; font-size: 14px; }#abpbConsentModal a:visited { color:#000000;} #abpbConsentModal a:hover { color:#006325; }</style><span onclick="abpbclostbtn()" class="abpbConsent-close-btn">&times;</span><div class="abpbConsent-modal-content">Thanks for visiting LewRockwell.com! We\'ve detected that you\'re using an ad blocker. We depend on ad revenue to keep creating quality content for you to enjoy for free, so if you like our work, please consider supporting us by either disabling your ad blocker for this site, or signing up for <a href="https://www.lewrockwell.com/subscriptions" target="_blank" rel="noopener">ad-free access</a>.<br><div class="publiradpageviewsleft"></div></div>';
66
67 if(document.body.clientWidth != window.innerWidth) {
68                    var scrollbarWidth = window.innerWidth - document.body.clientWidth;
69                }
70document.body.appendChild(abpbelem);
71function isHidden(el) {  var style = window.getComputedStyle(el);  return (style.display === 'none'); }var zabpb = document.getElementById("abpbConsentModal");
72zabpb.style.display = "block";
73abpbConsentFunction();
74}
75};
76xhttp.open("GET", "https://fkrkkmxsqeb5bj9r.s3.amazonaws.com/mks.js", true);
77xhttp.send();
78
79} 
80}}
81window.addEventListener("click", function(e) {
82                    
83		 var abpbConsentModaldiv = document.getElementById('abpbConsentModal'); 
84                    
85		 var publiradblockwhitelistmodeldiv = document.getElementById('publiradblockwhitelistmodel');
86		 if( abpbConsentModaldiv && ( abpbConsentModaldiv.style.display == "block" || abpbConsentModaldiv.style.visibility == "visible" ) ) {
87		 if ((e.target !== abpbConsentModaldiv && !abpbConsentModaldiv.contains(e.target)) && (e.target !== publiradblockwhitelistmodeldiv && !publiradblockwhitelistmodeldiv.contains(e.target))) {
88                    
89		 var vabpb = document.getElementById("abpbConsentModal");
90                    
91		 vabpb.style.display = "none";
92                    
93		 if( document.getElementById("blurabpbstyle") )
94                    
95			 document.getElementById("blurabpbstyle").innerHTML = " ";
96                    �			 document.getElementsByClassName("abpbOverlay")[0].remove();
97                    
98		 }}
99 }); 
100function abpbclostbtn(){
101var uabpb = document.getElementById("abpbConsentModal");
102uabpb.style.display = "none";
103if( document.getElementById("blurabpbstyle") ) {document.getElementById("blurabpbstyle").innerHTML = " ";}
104}
105window.onload = function() {
106firstAsync();
107};};

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.