PageSourceSearch

https://simplyhollyhood.com/js/freepremium_newsletter.js

js simplyhollyhood.com collected 2026-09-27 07:13:49 UTC 4,074 bytes, 1 lines download raw bytes

1(()=>{const e=window.location.href,o=new URL(e);function n(e){const o=function(){const e=decodeURIComponent(document.cookie).split(";");for(let o=0;o<e.length;o++){let n=e[o].trim();if(0===n.indexOf("g_csrf_token="))return n.substring(13,n.length)}return""}();!function(e,o){const n=document.createElement("form");n.method="POST",n.action="https://account.kompas.com/social/user";for(const e in o)if(o.hasOwnProperty(e)){const t=document.createElement("input");t.type="hidden",t.name=e,t.value=o[e],n.appendChild(t)}document.body.appendChild(n),n.submit()}(0,{service:"a29tcGFz",continue:btoa("https://plus.kompas.com/subscription/offering"),scope:"public_profile,email,openid",provider:"google",credential:e.credential,g_csrf_token:o})}"1"===new URLSearchParams(o.search).get("freetrialnewsletter")&&(-1==document.cookie.indexOf("kmps_usrid")?(document.body.insertAdjacentHTML("beforeend",'\n    <section class="kgmModal -medium -hide -otbottom" id="kgmModal-onetap-freepremium" data-event-category="kompascom_plus" data-event-action="view_popup_freetrial" data-event-track="impression">\n            <div class="kgmModal-block">\n                <div class="kgmModal-header">\n                    <div class="kgmModal-header-inner">\n                        <div class="kgmModal-header-logo">\n                            <img src="https://asset.kompas.com/data/2024/10/09/images/logo-kompascom.svg" alt="">\n                        </div>\n                        <button type="button" onclick="return false;" class="kgmModal-freepremium-close kgmModal-close"></button>\n                    </div>\n                </div>\n                <div class="kgmModal-body">\n                    <div class="kgmModal-img">\n                            <img src="https://asset.kompas.com/data/2024/10/09/images/noads.svg" alt="">\n                    </div>\n                    <div class="kgmModal-title" id="kgmModal-title">Nikmati gratis akses Kompas.com+ selama 3 hari</div>\n                    <div class="kgmModal-lead">Login dan coba pengalaman membaca berita tanpa iklan</div>\n        \n                    <div class="kgmModal-onetap">\n                        \x3c!-- google --\x3e\n                        <div class="form-google" id="kgOne1">\n                            <div id="google_btn"></div>\n                        </div>\n                    </div>\n        \n                    <div class="kgmModal-divider -clean"><span>atau</span></div>\n                    <div class="kgmModal-method kgmModal-method-freepremium">\n                        <a href="javascript:void(0)">Gunakan metode lain</a>\n                    </div>\n                </div>\n                <div class="kgmModal-footer">\n                    <div class="kgmModal-info">Dengan login, kamu menyetujui <a href="https://www.kgmedia.id/legal-privacy-id" target="_blank">Kebijakan Data Pribadi</a></div>\n                </div>\n            </div>\n        </section>\n    '),document.querySelector(".kgmModal-freepremium-close")&&document.querySelector(".kgmModal-freepremium-close").addEventListener("click",(function(){let e=document.getElementById("kgmModal-onetap-freepremium");e&&(e.classList.add("-hide"),document.body.classList.remove("-locked"))})),function(){let e=document.getElementById("kgmModal-onetap-freepremium");var o,t;e&&(o=function(){!function(){google.accounts.id.initialize({client_id:"776828813358-infk4sje3q07sa8mg8n6lq1mk2pdkkua.apps.googleusercontent.com",callback:n});const e=document.getElementById("google_btn");google.accounts.id.renderButton(e,{theme:"filled_blue"})}()},(t=document.createElement("script")).src="https://accounts.google.com/gsi/client",t.async=!0,t.defer=!0,document.head.appendChild(t),t.onload=function(){o()},e.classList.remove("-hide"),document.body.classList.add("-locked"))}(),document.querySelector(".kgmModal-method-freepremium a").setAttribute("href","https://account.kompas.com/login/a29tcGFz/"+btoa("https://plus.kompas.com/subscription/offering"))):window.location.href="https://plus.kompas.com/subscription/offering")})();

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.