Web Development

How to suppress JavaScript errors

H

Create a JavaScript function called suppressJS()

function suppressJS(){return true;}

Then within the head tags add the following code

window.onerror=suppressJS;

Your complete code will look like this

<script type="text/javascript">
 
<!--
 
function suppressJS(){return true;}
 
window.onerror=suppressJS;
 
//-->
 
</script>

How to clear all cache in Joomla 3.6.x?

H

Joomla 3.6.x includes effective caching options. Caching can help speed up your website and increase performance drastically. It also reduces load on your hosting server. To clear all the cache in Joomla 3.6.x you have to execute the following steps: Log into your Joomla Administrator dashboard In the top menu, click on System->Clear Cache To clear all cache, click on the Delete All button All...

About Author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

Follow Me