Need to remove all active link in your blog post. This is Javascript code.
For one time you may need to remove all active link in your blog post. Conditionally, your blog contains too many external link. So, you want to remove link in all page blog post. If you do that by editing each page. Your are in vain.
Now you can do that by put a javascript code. We will use remove function in Javascript.
[post_ads]
Code to remove link in a whole of blog/web
This is the javascript code you can use. But to see the code you have to share this page in your social media. Next click the link in your social media to revisit this page.
[lock]
[<script> //<![CDATA[/* Remove All Links Inside Posts by en.cekrisna.com */(function encekRemLinkPost(){if (document.querySelector('.post-body')){var a = document.querySelectorAll('.post-body a');for (var x = 0; x < a.length; x++){var b = a[x].text, c = a[x].parentNode, d = document.createElement('span'); d.innerHTML = b;a[x].remove();c.appendChild(d);}}})();//]]> </script>]
[/lock]
Now the problem is where i put that code?
[post_ads_2]
[ATID-566 Miu Shirami https://mixdrop.co/f/n0k8pnngak86ej]
Over all you need to place the code in javascript mode. For example, in your template html editor. Put this code before </body> tag.
Blogger user, can put this code in HTML box in your Layout page. But for safety and you will not be confused. Just put it above </body> tag in your blog template.
Now all of link in your blog post will remove. But You have to be carefull to use this function. Because, remember all of your link will remove.
COMMENTS