Return to Snippet

Revision: 66573
at May 28, 2014 00:31 by mountainash


Initial Code
$(function() {
		function diedesk() {

			if ($('.clickdesk-ultra').length > 0) {
				$('.clickdesk-ultra').remove();
				window.clearInterval(intervalID);
			}

		}

		var intervalID = window.setInterval(diedesk, 100);
	}
});

Initial URL
http://clickdesk.com

Initial Description
ClickDesk's website chat JavaScript API is very basic, it only allows for a few customisations, but no event control. And with a last of whitelist/blacklist URL restriction functionality on a large site their code is often in the template. I created the attached code to "hide" ClickDesk on a single URL.

Initial Title
Die ClickDesk Die!

Initial Tags
jquery

Initial Language
JavaScript