• File: UrlType.js
  • Full Path: /var/www/crm_set/assets/plugins/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/UrlType.js
  • Date Modified: 09/21/2026 4:19 AM
  • File size: 474 bytes
  • MIME-type: text/plain
  • Charset: utf-8
/**
 * UrlType.js
 *
 * Released under LGPL License.
 * Copyright (c) 1999-2016 Ephox Corp. All rights reserved
 *
 * License: http://www.tinymce.com/license
 * Contributing: http://www.tinymce.com/contributing
 */

define('tinymce/inlite/core/UrlType', [
], function () {
	var isDomainLike = function (href) {
		return /^www\.|\.(com|org|edu|gov|uk|net|ca|de|jp|fr|au|us|ru|ch|it|nl|se|no|es|mil)$/i.test(href.trim());
	};

	return {
		isDomainLike: isDomainLike
	};
});