Solved: no allow copy html

One of the main problems with not allowing copy HTML is that it can lead to security vulnerabilities. If someone can copy and paste HTML code into a web page, they can potentially exploit any vulnerabilities that are present in that code.

 code

In order to prevent someone from copying your HTML code, you can use a variety of methods. One is to use a JavaScript code snippet that will disable the right-click function on your website. Another is to use CSS to make it difficult for someone to select the code. You can also use HTML comments to hide your code from view.

Ways to estrict a website copy

There are a few ways to estrict website copy in HTML. One way is to use the tag. You can use the tag to specify the following information:

The name of the website

The title of the website

The description of the website

You can also use the and <description> tags to specify these same details.</p><div class="ab8f4ffd587b86c2525fac29f883fe03" data-index="3" style="float: none; margin:10px 0 10px 0; text-align:center;"> <!-- sourcetrail-3 --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-2740134681475878" data-ad-slot="1884133909" data-ad-format="auto" data-full-width-responsive="true"></ins> <script type="rocketlazyloadscript"> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> <h2>How do I disable copy in HTML</h2> <p> Editor</p> <p>To disable copy in HTML in an HTML editor, follow these steps:</p> <p>1. In the HTML editor, select the text you want to disable copy for.<br /> 2. On the Edit menu, click Disable Copy. The text will now be disabled from copying.</p> <div class="ab8f4ffd587b86c2525fac29f883fe03" data-index="4" style="float: none; margin:10px 0 10px 0; text-align:center;"> <!-- sourcetrail-4 --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-2740134681475878" data-ad-slot="2173846319" data-ad-format="auto" data-full-width-responsive="true"></ins> <script type="rocketlazyloadscript"> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> <div style="font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;"></div> </div> <p class="related-posts"></p> <p id="breadcrumbs"><span><span><a href="https://www.sourcetrail.com/">Home</a></span> » <span><a href="https://www.sourcetrail.com/html/">HTML</a></span> » <span class="breadcrumb_last" aria-current="page">Solved: no allow copy html</span></span></p><strong>Related posts:</strong> <ul class="lcp_catlist" id="lcp_instance_0"><li><a href="https://www.sourcetrail.com/html/_blank/">Solved: _blank in html</a></li><li><a href="https://www.sourcetrail.com/html/add-image-from-remote-source/">Solved: html add image from remote source</a></li><li><a href="https://www.sourcetrail.com/html/add-space/">Solved: add space in html</a></li><li><a href="https://www.sourcetrail.com/html/adding-a-favicon-in/">Solved: adding a favicon in html</a></li><li><a href="https://www.sourcetrail.com/html/align-text-right/">Solved: html align text right</a></li><li><a href="https://www.sourcetrail.com/html/auto-update-copyright-year/">Solved: auto update copyright year html</a></li><li><a href="https://www.sourcetrail.com/html/autoplay-not-work-iphone/">Solved: html autoplay not work iphone</a></li><li><a href="https://www.sourcetrail.com/html/autoredirect/">Solved: autoredirect html</a></li><li><a href="https://www.sourcetrail.com/html/background-image-fit-to-screen/">Solved: html background image fit to screen</a></li><li><a href="https://www.sourcetrail.com/html/base64-image-example/">Solved: base64 image html example</a></li><li><a href="https://www.sourcetrail.com/html/body-full-height/">Solved: html body full height</a></li><li><a href="https://www.sourcetrail.com/html/button-href/">Solved: button html href</a></li><li><a href="https://www.sourcetrail.com/html/center-button/">Solved: html center button</a></li><li><a href="https://www.sourcetrail.com/html/center-p/">Solved: center p html</a></li><li><a href="https://www.sourcetrail.com/html/center-youtube-video/">Solved: html center youtube video</a></li><li><a href="https://www.sourcetrail.com/html/change-player-speed/">Solved: html change player speed</a></li><li><a href="https://www.sourcetrail.com/html/change-viewport-to-smartphone-size/">Solved: html change viewport to smartphone size</a></li><li><a href="https://www.sourcetrail.com/html/character-tab/">Solved: html character tab</a></li><li><a href="https://www.sourcetrail.com/html/copyright-footer-html-code/">Solved: copyright footer html code</a></li><li><a href="https://www.sourcetrail.com/html/create-a-mailto-link-html/">Solved: create a mailto link html</a></li><li><a href="https://www.sourcetrail.com/html/dash-code/">Solved: html dash code</a></li><li><a href="https://www.sourcetrail.com/html/datalist/">Solved: datalist html</a></li><li><a href="https://www.sourcetrail.com/html/description-tag/">Solved: html description tag</a></li><li><a href="https://www.sourcetrail.com/html/difference-between-name-and-id/">Solved: difference between name and id html</a></li><li><a href="https://www.sourcetrail.com/html/disable-editing-textbox/">Solved: html disable editing textbox</a></li><li><a href="https://www.sourcetrail.com/html/disable-enter-submit/">Solved: html disable enter submit</a></li><li><a href="https://www.sourcetrail.com/html/disable-form-input-autocomplete-autofill/">Solved: disable html form input autocomplete autofill</a></li><li><a href="https://www.sourcetrail.com/html/disable-spell-check/">Solved: disable spell check html</a></li><li><a href="https://www.sourcetrail.com/html/dot-symbol/">Solved: html dot symbol</a></li><li><a href="https://www.sourcetrail.com/html/dropdown-in/">Solved: dropdown in html</a></li><li><a href="https://www.sourcetrail.com/html/email-links/">Solved: html email links</a></li><li><a href="https://www.sourcetrail.com/html/empty-character/">Solved: html empty character</a></li><li><a href="https://www.sourcetrail.com/html/entity-ampersand-and/">Solved: html entity ampersand and</a></li><li><a href="https://www.sourcetrail.com/html/entity-quote/">Solved: html entity quote</a></li><li><a href="https://www.sourcetrail.com/html/fa-fa-email/">Solved: fa fa email</a></li><li><a href="https://www.sourcetrail.com/html/facebook-meta-tags/">Solved: html facebook meta tags</a></li><li><a href="https://www.sourcetrail.com/html/fafa-login-icons-code/">Solved: fafa login icons html code</a></li><li><a href="https://www.sourcetrail.com/html/favicon-for-page/">Solved: favicon for html page</a></li><li><a href="https://www.sourcetrail.com/html/favicon-meta/">Solved: favicon meta</a></li><li><a href="https://www.sourcetrail.com/html/favicon-tag/">Solved: html favicon tag</a></li></ul><div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><picture itemprop="image"> <source type="image/webp" data-lazy-srcset="https://www.sourcetrail.com/wp-content/uploads/2022/06/sourcetrail_logo_blue.png.webp" srcset="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%3E%3C/svg%3E"/> <img src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%3E%3C/svg%3E" width="100" height="100" alt="C sourcetrail logo" itemprop="image" data-lazy-src="https://www.sourcetrail.com/wp-content/uploads/2022/06/sourcetrail_logo_blue.png"/> </picture> <noscript><picture itemprop="image"> <source type="image/webp" srcset="https://www.sourcetrail.com/wp-content/uploads/2022/06/sourcetrail_logo_blue.png.webp"/> <img src="https://www.sourcetrail.com/wp-content/uploads/2022/06/sourcetrail_logo_blue.png" width="100" height="100" alt="C sourcetrail logo" itemprop="image"/> </picture> </noscript></div><div class="saboxplugin-authorname"><a href="https://www.sourcetrail.com/author/html-sourcetrail/" class="vcard author" rel="author"><span class="fn">HTML SourceTrail</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>We know everything about HTML and HTML5. We solve all the doubts and problems of this markup language that is the basis of the WWW</p> </div></div><div class="clearfix"></div></div></div> </div> </article> <div class="comments-area"> <div id="comments"> <div id="respond" class="comment-respond"> <h3 id="reply-title" class="comment-reply-title">Leave a Comment <small><a rel="nofollow" id="cancel-comment-reply-link" href="/html/no-allow-copy/#respond" style="display:none;">Cancel reply</a></small></h3><form action="https://www.sourcetrail.com/wp-comments-post.php" method="post" id="commentform" class="comment-form" novalidate><p class="comment-form-comment"><label for="comment" class="screen-reader-text">Comment</label><textarea autocomplete="new-password" id="c08a1a06c7" name="c08a1a06c7" cols="45" rows="8" required></textarea><textarea id="comment" aria-label="hp-comment" aria-hidden="true" name="comment" autocomplete="new-password" style="padding:0 !important;clip:rect(1px, 1px, 1px, 1px) !important;position:absolute !important;white-space:nowrap !important;height:1px !important;width:1px !important;overflow:hidden !important;" tabindex="-1"></textarea><script type="rocketlazyloadscript" data-noptimize>document.getElementById("comment").setAttribute( "id", "a3c50920edaa7630a56b7d6a903b3949" );document.getElementById("c08a1a06c7").setAttribute( "id", "comment" );</script></p><label for="author" class="screen-reader-text">Name</label><input placeholder="Name *" id="author" name="author" type="text" value="" size="30" required /> <label for="email" class="screen-reader-text">Email</label><input placeholder="Email *" id="email" name="email" type="email" value="" size="30" required /> <label for="url" class="screen-reader-text">Website</label><input placeholder="Website" id="url" name="url" type="url" value="" size="30" /> <p class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes" /> <label for="wp-comment-cookies-consent">Save my name, email, and website in this browser for the next time I comment.</label></p> <p class="form-submit"><input name="submit" type="submit" id="submit" class="submit" value="Post Comment" /> <input type='hidden' name='comment_post_ID' value='911' id='comment_post_ID' /> <input type='hidden' name='comment_parent' id='comment_parent' value='0' /> </p></form> </div><!-- #respond --> </div><!-- #comments --> </div> </main> </div> </div> </div> <div class="site-footer footer-bar-active footer-bar-align-right"> <footer class="site-info" aria-label="Site" itemtype="https://schema.org/WPFooter" itemscope> <div class="inside-site-info grid-container grid-parent"> <div class="footer-bar"> <aside id="nav_menu-2" class="widget inner-padding widget_nav_menu"><div class="menu-footer-container"><ul id="menu-footer" class="menu"><li id="menu-item-318" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-318"><a rel="nofollow" href="https://www.sourcetrail.com/about-us/">About Us</a></li> <li id="menu-item-299" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-privacy-policy menu-item-299"><a rel="nofollow privacy-policy" href="https://www.sourcetrail.com/privacy-policy/">Privacy Policy</a></li> <li id="menu-item-130" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-130"><a rel="nofollow" href="https://www.sourcetrail.com/contact/">Contact</a></li> </ul></div></aside> </div> <div class="copyright-bar"> © 2022 Source Trail </div> </div> </footer> </div> <script id="abnSchemaJsonWebsite" type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"WebSite","name":"SourceTrail","url":"https:\/\/www.sourcetrail.com"}</script><script id="abnSchemaJsonNewsArticle" type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"NewsArticle","headline":"Solved: no allow copy html","description":"No Allow Copy HTML is a powerful SEO meta description tool that helps you to prevent your website from being copied and pasted without your permission.","datePublished":"2022-09-06 03:47:04","dateModified":"2023-09-11 02:22:36","wordCount":217,"articleSection":"HTML","mainEntityOfPage":{"@type":"WebPage","id":"https:\/\/www.sourcetrail.com\/html\/no-allow-copy\/","name":"Solved: no allow copy html","url":"https:\/\/www.sourcetrail.com\/html\/no-allow-copy\/","inLanguage":"es","datePublished":"2022-09-06 03:47:04","dateModified":"2023-09-11 02:22:36","description":"No Allow Copy HTML is a powerful SEO meta description tool that helps you to prevent your website from being copied and pasted without your permission.","speakable":{"@type":"SpeakableSpecification","xpath":["\/html\/head\/title","\/html\/head\/meta[@name='description']\/@content"]}},"articleBody":"One of the main problems with not allowing copy HTML is that it can lead to security vulnerabilities. If someone can copy and paste HTML code into a web page, they can potentially exploit any vulnerabilities that are present in that code. code\n\nIn order to prevent someone from copying your HTML code, you can use a variety of methods. One is to use a JavaScript code snippet that will disable the right-click function on your website. Another is to use CSS to make it difficult for someone to select the code. You can also use HTML comments to hide your code from view.Ways to estrict a website copy\n\nThere are a few ways to estrict website copy in HTML. One way is to use the tag. You can use the tag to specify the following information:\n\nThe name of the website\n\nThe title of the website\n\nThe description of the website\n\nYou can also use the and tags to specify these same details.How do I disable copy in HTML Editor\n\nTo disable copy in HTML in an HTML editor, follow these steps:\n\n1. In the HTML editor, select the text you want to disable copy for.\n2. On the Edit menu, click Disable Copy. The text will now be disabled from copying.","thumbnailUrl":"https:\/\/www.sourcetrail.com\/wp-content\/uploads\/2022\/09\/no-allow-copy-html.png","author":{"@type":"Person","name":"HTML SourceTrail","url":"https:\/\/www.sourcetrail.com\/author\/html-sourcetrail\/","jobTitle":"Editor","sameAs":[],"description":"We know everything about HTML and HTML5. We solve all the doubts and problems of this markup language that is the basis of the WWW"},"publisher":{"@type":"Organization","name":"SourceTrail","url":"https:\/\/www.sourcetrail.com","sameAs":[],"parentOrganization":"Actualidad Blog","logo":{"@type":"ImageObject","url":"https:\/\/www.sourcetrail.com\/wp-content\/uploads\/2022\/06\/sourcetrail_amp2.png","width":601,"height":61}},"publishingPrinciples":{"@type":"CreativeWork","url":"https:\/\/www.sourcetrail.com\/etica-editorial"},"copyrightHolder":{"@type":"Organization","name":"SourceTrail","url":"https:\/\/www.sourcetrail.com","logo":{"@type":"ImageObject","url":"https:\/\/www.sourcetrail.com\/wp-content\/uploads\/2022\/06\/sourcetrail_amp2.png","width":601,"height":61}},"image":{"@type":"ImageObject","url":"https:\/\/www.sourcetrail.com\/wp-content\/uploads\/2022\/09\/no-allow-copy-html.png","width":1200,"height":675}}</script> <script id="schemaJsonBreadcrumb" type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sourcetrail.com"},{"@type":"ListItem","position":2,"name":"","item":""},{"@type":"ListItem","position":3,"name":"Solved: no allow copy html"}]}</script><script type="rocketlazyloadscript" id="generate-a11y">!function(){"use strict";if("querySelector"in document&&"addEventListener"in window){var e=document.body;e.addEventListener("mousedown",function(){e.classList.add("using-mouse")}),e.addEventListener("keydown",function(){e.classList.remove("using-mouse")})}}();</script><script type="rocketlazyloadscript" data-rocket-src="https://www.sourcetrail.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shCore.js?ver=3.0.9b" id="syntaxhighlighter-core-js"></script> <script type="rocketlazyloadscript" data-rocket-src="https://www.sourcetrail.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushXml.js?ver=3.0.9b" id="syntaxhighlighter-brush-xml-js"></script> <script type="rocketlazyloadscript" data-rocket-type='text/javascript'>window.addEventListener('DOMContentLoaded', function() { (function(){ var corecss = document.createElement('link'); var themecss = document.createElement('link'); var corecssurl = "https://www.sourcetrail.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/styles/shCore.css?ver=3.0.9b"; if ( corecss.setAttribute ) { corecss.setAttribute( "rel", "stylesheet" ); corecss.setAttribute( "type", "text/css" ); corecss.setAttribute( "href", corecssurl ); } else { corecss.rel = "stylesheet"; corecss.href = corecssurl; } document.head.appendChild( corecss ); var themecssurl = "https://www.sourcetrail.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/styles/shThemeDefault.css?ver=3.0.9b"; if ( themecss.setAttribute ) { themecss.setAttribute( "rel", "stylesheet" ); themecss.setAttribute( "type", "text/css" ); themecss.setAttribute( "href", themecssurl ); } else { themecss.rel = "stylesheet"; themecss.href = themecssurl; } document.head.appendChild( themecss ); })(); SyntaxHighlighter.config.strings.expandSource = '+ expand source'; SyntaxHighlighter.config.strings.help = '?'; SyntaxHighlighter.config.strings.alert = 'SyntaxHighlighter\n\n'; SyntaxHighlighter.config.strings.noBrush = 'Can\'t find brush for: '; SyntaxHighlighter.config.strings.brushNotHtmlScript = 'Brush wasn\'t configured for html-script option: '; SyntaxHighlighter.defaults['pad-line-numbers'] = false; SyntaxHighlighter.defaults['toolbar'] = false; SyntaxHighlighter.all(); // Infinite scroll support if ( typeof( jQuery ) !== 'undefined' ) { jQuery( function( $ ) { $( document.body ).on( 'post-load', function() { SyntaxHighlighter.highlight(); } ); } ); } });</script> <script type="rocketlazyloadscript" data-rocket-src="https://www.sourcetrail.com/wp-content/plugins/gp-premium/menu-plus/functions/js/sticky.min.js?ver=2.4.0" id="generate-sticky-js" defer></script> <!--[if lte IE 11]> <script src="https://www.sourcetrail.com/wp-content/themes/generatepress/assets/js/classList.min.js?ver=3.4.0" id="generate-classlist-js"></script> <![endif]--> <script id="generate-menu-js-extra"> var generatepressMenu = {"toggleOpenedSubMenus":"1","openSubMenuLabel":"Open Sub-Menu","closeSubMenuLabel":"Close Sub-Menu"}; </script> <script type="rocketlazyloadscript" data-rocket-src="https://www.sourcetrail.com/wp-content/themes/generatepress/assets/js/menu.min.js?ver=3.4.0" id="generate-menu-js" defer></script> <script id="generate-navigation-search-js-extra"> var generatepressNavSearch = {"open":"Open Search Bar","close":"Close Search Bar"}; </script> <script type="rocketlazyloadscript" data-rocket-src="https://www.sourcetrail.com/wp-content/themes/generatepress/assets/js/navigation-search.min.js?ver=3.4.0" id="generate-navigation-search-js" defer></script> <script type="rocketlazyloadscript" data-rocket-src="https://www.sourcetrail.com/wp-includes/js/comment-reply.min.js?ver=6.5.2" id="comment-reply-js" async data-wp-strategy="async"></script> <script type="rocketlazyloadscript" data-rocket-src="https://www.google.com/recaptcha/api.js?render=6Lf6DUogAAAAAGJbvjNdA_vD3ytChzcC-bNU0xE9&ver=3.0" id="google-recaptcha-js"></script> <script type="rocketlazyloadscript" data-rocket-src="https://www.sourcetrail.com/wp-includes/js/dist/vendor/wp-polyfill-inert.min.js?ver=3.1.2" id="wp-polyfill-inert-js" defer></script> <script type="rocketlazyloadscript" data-rocket-src="https://www.sourcetrail.com/wp-includes/js/dist/vendor/regenerator-runtime.min.js?ver=0.14.0" id="regenerator-runtime-js" defer></script> <script type="rocketlazyloadscript" data-rocket-src="https://www.sourcetrail.com/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=3.15.0" id="wp-polyfill-js"></script> <script id="wpcf7-recaptcha-js-extra"> var wpcf7_recaptcha = {"sitekey":"6Lf6DUogAAAAAGJbvjNdA_vD3ytChzcC-bNU0xE9","actions":{"homepage":"homepage","contactform":"contactform"}}; </script> <script type="rocketlazyloadscript" data-minify="1" data-rocket-src="https://www.sourcetrail.com/wp-content/cache/min/1/wp-content/plugins/contact-form-7/modules/recaptcha/index.js?ver=1714031401" id="wpcf7-recaptcha-js" defer></script> <script>window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)</script><script data-no-minify="1" async src="https://www.sourcetrail.com/wp-content/plugins/wp-rocket/assets/js/lazyload/17.8.3/lazyload.min.js"></script><script>function lazyLoadThumb(e,alt,l){var t='<img data-lazy-src="https://i.ytimg.com/vi/ID/hqdefault.jpg" alt="" width="480" height="360"><noscript><img src="https://i.ytimg.com/vi/ID/hqdefault.jpg" alt="" width="480" height="360"></noscript>',a='<button class="play" aria-label="play Youtube video"></button>';if(l){t=t.replace('data-lazy-','');t=t.replace('loading="lazy"','');t=t.replace(/<noscript>.*?<\/noscript>/g,'');}t=t.replace('alt=""','alt="'+alt+'"');return t.replace("ID",e)+a}function lazyLoadYoutubeIframe(){var e=document.createElement("iframe"),t="ID?autoplay=1";t+=0===this.parentNode.dataset.query.length?"":"&"+this.parentNode.dataset.query;e.setAttribute("src",t.replace("ID",this.parentNode.dataset.src)),e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen","1"),e.setAttribute("allow","accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"),this.parentNode.parentNode.replaceChild(e,this.parentNode)}document.addEventListener("DOMContentLoaded",function(){var exclusions=[];var e,t,p,u,l,a=document.getElementsByClassName("rll-youtube-player");for(t=0;t<a.length;t++)(e=document.createElement("div")),(u='https://i.ytimg.com/vi/ID/hqdefault.jpg'),(u=u.replace('ID',a[t].dataset.id)),(l=exclusions.some(exclusion=>u.includes(exclusion))),e.setAttribute("data-id",a[t].dataset.id),e.setAttribute("data-query",a[t].dataset.query),e.setAttribute("data-src",a[t].dataset.src),(e.innerHTML=lazyLoadThumb(a[t].dataset.id,a[t].dataset.alt,l)),a[t].appendChild(e),(p=e.querySelector(".play")),(p.onclick=lazyLoadYoutubeIframe)});</script> </body> </html> <!-- This website is like a Rocket, isn't it? Performance optimized by WP Rocket. Learn more: https://wp-rocket.me -->