Wednesday, March 29, 2023

Disable Highlight Text On Blogger

posted on March 29, 2023

 Salam anyeonghaseyo mrsian sekalian🦚


Tonight I nak ajar u all tutorial untuk disable highlight text. Means tak bagi pengunjung untuk copy text you. Let's go!


Steps:↷

1. Log in to your Blogger

2. Kat Dashboard ➤ Layout

3. Click Add A Gadget ➤ HTML/JavaScript widget

4. Copy and paste code ini di bahagian Content sahaja⤵


<script type='text/javascript'>
if(typeof document.onselectstart!="undefined")
{document.onselectstart=new Function("return false");}
else{document.onmousedown=new Function("return false");
document.onmouseup=new Function("return false");}
</script>


5. Click SAVE then click 💾 di button right bottom. Done!

 

Step 4-5 rujuk gambar

 

Okay now cuba tengok jadi ke tidak. Tutorial ni tak boleh try time preview ya kena save dulu. Kalau tak jadi remove widget dulu and contact I nanti I help💅

 

📝✍️ Btw, I tak galakkan u all untuk disable highlight text sebab if u nak share apa-apa coding yang memerlukan copy paste nanti jadi renyah. Apapun selamat mencuba! Credit

 

0 bawangan:

Post a Comment

Feel free to drop your thoughts or ideas❤️

 

Please Read Disclaimer⚠️Template by Ipietoon