Javascript Code to Remove all Active Link in All Blog Post

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.
Javascript Code to Remove all Active Link

COMMENTS

Name

android,1,business,19,celebrity,4,cloud,25,coding,1,Education,60,Entertain,11,Finance,16,Gaming,8,healthy,9,insurance,1,ios,2,javascript,3,kpop,1,Lifestyle,27,linux,6,mac os,1,math,1,movie,4,music,5,News,3,parenting,6,phone,2,recipe,1,SEO,3,Sport,4,Tech,34,tips,2,windows,1,
ltr
item
enCek: Javascript Code to Remove all Active Link in All Blog Post
Javascript Code to Remove all Active Link in All Blog Post
Need to remove all active link in your blog post. This is Javascript code.
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmLAt7l9GyYPn3D0GPZK0h5KUnBYNqXw74L8IcW8lY7b0TC5S2JZsgZbGrUE9Pvd23PZ3SSioyzlu2jHcx0t8ziBEaJXxNUrt2NJFr2jrDo96tYiKLjq1t8XyiWdvUjbYKe-HJBbXuP9teiHfd-vq9N1YdwCVaeF54eaMURAA7lfb0jcA-vJefAFKdYVc/w320-h260/istockphoto-1309893470-612x612.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmLAt7l9GyYPn3D0GPZK0h5KUnBYNqXw74L8IcW8lY7b0TC5S2JZsgZbGrUE9Pvd23PZ3SSioyzlu2jHcx0t8ziBEaJXxNUrt2NJFr2jrDo96tYiKLjq1t8XyiWdvUjbYKe-HJBbXuP9teiHfd-vq9N1YdwCVaeF54eaMURAA7lfb0jcA-vJefAFKdYVc/s72-w320-c-h260/istockphoto-1309893470-612x612.jpg
enCek
https://en.cekrisna.com/2023/06/javascript-to-remove-all-link-in-whole-blogpost.html
https://en.cekrisna.com/
https://en.cekrisna.com/
https://en.cekrisna.com/2023/06/javascript-to-remove-all-link-in-whole-blogpost.html
true
7896735586237684417
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content