Unverified

Name

Content For Header

Language

HTML

Rating

Voted: 0 by 0 user(s)

Codevault

Public-Code

Scroll down to see more snippets from this codevault.

Wordpress Compatability

The author has indicated that this snippet is compatable up to wordpress version: 6.4

Code Snippet Plugin Sync

Free & Pro

Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.

Pro Only (Coming Soon)

You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.

History

Last modified:

23/08/2024

Important Note

This snippet has the following status:

Unverified

This snippet has not been verified, use with caution and at your own risk. See details provided by author in sidebar and click below to find out more.

Content For Header

 
                    
1<script async="async" src="/checkouts/internal/preloads.js?locale=en-VN"></script>
2<script async="async" src="https://shop.app/checkouts/internal/preloads.js?locale=en-VN&amp;shop_id=61370761471" crossorigin="anonymous"></script>
3<script id="shopify-features" type="application/json">{"accessToken":"2681504c5b44fbd3b916f91c295737d8","betas":["rich-media-storefront-analytics"],"domain":"hangukbox.com","predictiveSearch":true,"shopId":61370761471,"smart_payment_buttons_url":"https:\/\/hangukbox.com\/cdn\/shopifycloud\/payment-sheet\/assets\/latest\/spb.en.js","dynamic_checkout_cart_url":"https:\/\/hangukbox.com\/cdn\/shopifycloud\/payment-sheet\/assets\/latest\/dynamic-checkout-cart.en.js","locale":"en"}</script>
4<script>var Shopify = Shopify || {};
5Shopify.shop = "hangukbox.myshopify.com";
6Shopify.locale = "en";
7Shopify.currency = {"active":"USD","rate":"1.0"};
8Shopify.country = "VN";
9Shopify.theme = {"name":"Hangukbox page - lim","id":144291004671,"theme_store_id":null,"role":"main"};
10Shopify.theme.handle = "null";
11Shopify.theme.style = {"id":null,"handle":null};
12Shopify.cdnHost = "hangukbox.com/cdn";
13Shopify.routes = Shopify.routes || {};
14Shopify.routes.root = "/";</script>
15<script type="module">!function(o){(o.Shopify=o.Shopify||{}).modules=!0}(window);</script>
16<script>!function(o){function n(){var o=[];function n(){o.push(Array.prototype.slice.apply(arguments))}return n.q=o,n}var t=o.Shopify=o.Shopify||{};t.loadFeatures=n(),t.autoloadFeatures=n()}(window);</script>
17<script id="shop-js-features" type="application/json">{"compact":true}</script>
18<script id="shop-js-analytics" type="application/json">{"pageType":"index"}</script>
19<script>(function() {
20 function asyncLoad() {
21 var urls = ["https:\/\/my.parcelpanel.com\/assets\/admin\/custom\/js\/checkout.js?shop=hangukbox.myshopify.com","\/\/cdn.shopify.com\/proxy\/5199862021fb59fc02a6f8713bab26e90efdaac40fd3c45e0ce96a745b4384e1\/shopify-script-tags.s3.eu-west-1.amazonaws.com\/smartseo\/instantpage.js?shop=hangukbox.myshopify.com\u0026sp-cache-control=cHVibGljLCBtYXgtYWdlPTkwMA","https:\/\/admin.revenuehunt.com\/embed.js?shop=hangukbox.myshopify.com"];
22 for (var i = 0; i < urls.length; i++) {
23 var s = document.createElement('script');
24 s.type = 'text/javascript';
25 s.async = true;
26 s.src = urls[i];
27 var x = document.getElementsByTagName('script')[0];
28 x.parentNode.insertBefore(s, x);
29 }
30 };
31 if(window.attachEvent) {
32 window.attachEvent('onload', asyncLoad);
33 } else {
34 window.addEventListener('load', asyncLoad, false);
35 }
36})();</script>
37<script id="__st">var __st={"a":61370761471,"offset":32400,"reqid":"68d8641e-9436-48a5-bcb1-cd310982f90a-1724387734","pageurl":"hangukbox.com\/?_ab=0\u0026_fd=0\u0026_sc=1","t":"prospect","u":"9a4a45ec1570","p":"home"};</script>
38<script>window.ShopifyPaypalV4VisibilityTracking = true;</script>
39<script id="captcha-bootstrap">!function(){'use strict';const t='contact',e='account',n='new_comment',o=t=>t.map((([t,e])=>`form[action*='/${t}']:not([data-nocaptcha='true']) input[name='form_type'][value='${e}']`)).join(',');function c(t,e){try{const n=window.sessionStorage;for(const[o,c]of Object.entries(JSON.parse(n.getItem(e))))t.elements[o]&&(t.elements[o].value=c);n.removeItem(e)}catch{}}const r='form_type',s='cptcha';function a(t){t.dataset[s]=!0}((i,m,f,u,d,p,l)=>{if(0)return;let E=!1;const _=(t,e,n)=>{const o=i[f][u],c=o.bindForm,r='f06e6c50-85a8-45c8-87d0-21a2b65856fe',s={infoText:'Protected by hCaptcha',privacyText:'Privacy',termsText:'Terms'};if(c)return c(t,r,e,s).then(n);o.q.push([[t,r,e,s],n]),E||(m.body.append(Object.assign(m.createElement('script'),{id:'captcha-provider',async:!0,src:'https://cdn.shopify.com/shopifycloud/storefront-forms-hcaptcha/ce_storefront_forms_captcha_hcaptcha.v1.3.3.iife.js'})),E=!0)};i[f]=i[f]||{},i[f][u]=i[f][u]||{},i[f][u].q=[],i[f][d]=i[f][d]||{},i[f][d].protect=function(t,e){_(t,void 0,e),a(t)},Object.freeze(i[f][d]),function(i,m,f,u,d,p){const[l,E,_]=function(c,r,s){const a=r?[[t,t],['blogs',n],['comments',n],[t,'customer']]:[],i=c?[[e,'customer_login'],[e,'guest_login'],[e,'recover_customer_password'],[e,'create_customer']]:[],m=[...a,...i],f=o(m),u=o(a),d=s&&o(m.filter((([t,e])=>s.includes(e)))),p=t=>()=>t?[...document.querySelectorAll(t)].map((t=>t.form)):[];return[p(f),p(u),p(d)]}(!0,!0,['guest_login']),T=t=>{const e=t.target,n=e instanceof HTMLFormElement?e:e&&e.form;return n&&l().find((t=>n===t))};i.addEventListener('submit',(t=>{T(t)&&t.preventDefault()}));const h=(t,e)=>{t&&!t.dataset[s]&&(f(t,e.some((e=>e===t))),a(t))};for(const t of['focusin','change'])i.addEventListener(t,(t=>h(T(t),E())));const v=m.get('form_key'),g=m.get(r),y=v&&g;i.addEventListener('DOMContentLoaded',(()=>{const t=E();if(y)for(const e of t)e.elements[r].value===g&&c(e,v);[...new Set([..._(),...l().filter((t=>'true'===t.dataset.shopifyCaptcha))])].forEach((e=>h(e,t)))}))}(m,new URLSearchParams(i.location.search),_)})(window,document,'Shopify','ce_forms','captcha')}();</script>
40<script id="captcha-terms">!function(){'use strict';const e=/recaptcha|reCATPCHA|google|Googl/gi,t=o=>{let c=o.firstChild;for(;c;)c.nodeType===Node.TEXT_NODE?c.textContent=c.textContent.replace(e,'hCaptcha'):c.nodeType===Node.ELEMENT_NODE&&t(c),c=c.nextSibling};document.addEventListener('DOMContentLoaded',(()=>{(e=>{const o=document.querySelector('p[data-spam-detection-disclaimer]');if(o){for(const e of['terms','privacy']){const t=o.querySelector(`a[href*='https://policies.google.com/${e}']`);t&&(t.href=`https://hcaptcha.com/${e}`)}t(o)}})()}))}();</script>
41<script>document.addEventListener('DOMContentLoaded', function() {
42 const previewBarInjector = new Shopify.PreviewBarInjector({
43 targetNode: document.body,
44 iframeRoot: 'https://hangukbox.com',
45 iframeSrc: 'https://hangukbox.com/preview_bar',
46 previewToken: 'vqo2h3wlvzvgmi3u',
47 themeStoreId: '',
48 permanentDomain: 'hangukbox.myshopify.com',
49 });
50 previewBarInjector.init();
51});</script>
52<script integrity="sha256-n5Uet9jVOXPHGd4hH4B9Y6+BxkTluaaucmYaxAjUcvY=" data-source-attribution="shopify.loadfeatures" defer="defer" src="//hangukbox.com/cdn/shopifycloud/shopify/assets/storefront/load_feature-9f951eb7d8d53973c719de211f807d63af81c644e5b9a6ae72661ac408d472f6.js" crossorigin="anonymous"></script>
53<script integrity="sha256-HAs5a9TQVLlKuuHrahvWuke+s1UlxXohfHeoYv8G2D8=" data-source-attribution="shopify.dynamic-checkout" defer="defer" src="//hangukbox.com/cdn/shopifycloud/shopify/assets/storefront/features-1c0b396bd4d054b94abae1eb6a1bd6ba47beb35525c57a217c77a862ff06d83f.js" crossorigin="anonymous"></script>
54<script integrity="sha256-o0rXHoHYF8JV/pI5sd/RPjI3ywH41Ezq5yxQ3ds5iuM=" defer="defer" src="//hangukbox.com/cdn/shopifycloud/shopify/assets/storefront/bars/preview_bar_injector-a34ad71e81d817c255fe9239b1dfd13e3237cb01f8d44ceae72c50dddb398ae3.js" crossorigin="anonymous"></script>
55 
56 
57<script>window.performance && window.performance.mark && window.performance.mark('shopify.content_for_header.end');</script>

0

Related Snippets

Please see some snippets below related to this snippet..

Performance

Unverified

0

Remover Javascript sem uso

Added: 1 week ago

Last Updated: 1 week ago

Remove o JavaScript não utilizado

Performance

AI Verified

0

Enqueue Google Fonts

Added: 1 year ago

Last Updated: 1 year ago

This snippet adds Google Fonts to your WordPress site, giving you more options for font styling.

Performance

AI Verified

0

disable Eicons

Added: 2 years ago

Last Updated: 1 year ago

Other Snippets in this Codevault

These are some popular snippets from this users codevault..

Performance

Unverified

0

Content For Header

Added: 3 weeks ago

Last Updated: 3 weeks ago