Removing Live Chat on mobile devices

Choose where you want your Live Chat to be

We’ve made it super easy to do this, so even if you’re not an expert, it will make sense!

We get it – not every business wants live chat to appear on mobile devices. If you’re one of them, keep reading and follow our simple steps:

To remove Live Chat on mobile devices, you need to wrap your Moneypenny code in a JavaScript “if” statement which should be checking if the visitor is on a mobile browser:

(!navigator.userAgent.match(/(iPhone|iPod|iPad|BlackBerry|Android|IEMobile)/)) {


This is how the code would look on your website:

(function() {
if (!navigator.userAgent.match(/(iPhone|iPod|iPad|BlackBerry|Android|IEMobile)/)) {
var se = document.createElement('script'); se.type = 'text/javascript'; se.async = true;
se.src = '//';
var done = false;
se.onload = se.onreadystatechange = function() {
if (!done&&(!this.readyState||this.readyState==='loaded'||this.readyState==='complete')) {
done = true;
// Place your Moneypenny JS API code below */
// Moneypenny.allowChatSound(true); // Example JS API: Enable sounds for Visitors. */
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(se, s);

Please note that the widget id will have to be updated to replace „xxxx-xxxxx-xxxx-xxxxx‟.

For any technical support, feel free to give us a call on 866.202.0005. Our experts have tons of experience and knowledge and are here to help you with whatever you need.