EZ4Software

Get all software for free

Sunday 31 March 2019

How to add Anti Javascript disabled in your blogs


Add the following code before </head>or&lt;/head&gt;&lt;!--<head/>--&gt;
<noscript><style type='text/css'>/* No Script */body,html{overflow:hidden}.noscript{background:#e74c3c;color:#fff;padding:8% 0 0 0;position:fixed;bottom:0;left:0;top:0;right:0;z-index:1000;height:auto;-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.noscript p{margin:0;text-align:center;padding:0 20px 10px 20px;margin:auto;font-size:3rem;line-height:1.5;font-family:monospace;max-width:1010px;text-transform:uppercase;font-weight:700}.noscript p span{color:#ffe88b;font-size:10rem;line-height:normal;font-weight:normal}</style></noscript>

Then add the following code just below <body> 
<noscript><div class='noscript'>  <p><span>&#9888;</span></p>  <p>Please Enable Javascript to view our site content</p>  <p>Thank you</p></div></noscript>
Click the Save theme button.

No comments:

Post a Comment