/** * The list of cookies to keep */ (function () { /** * Ajouter ici le nom des cookies fonctionnels du site */
var itemsToKeep = ["euconsent-v2", "didomi_token", "PHPSESSID"];
/** * Returns cookie value */ var getCookieValue = function (cookieName) { var cookie = document.cookie.split(";").filter(function (cookieValue) { return cookieValue.indexOf(cookieName) !== -1; })[0];
if (cookie) { return cookie.split("=")[1]; } };
var deleteCookie = function (name, domain, path) { path = path || "/";
var cookie = [ name + "=", "expires=Thu, 01 Jan 1970 00:00:01 GMT", "path=" + path, ];
if (domain) { cookie.push("domain=" + domain); }
document.cookie = cookie.join(";"); };
/** * Check if all vendor and purposes are disabled */ var areAllVendorsAndPurposesDisabled = function () { var enabledEntities = []; var disabledEntities = []; var data = window.Didomi.getUserStatus();
data.vendors.consent.enabled.forEach(function (entity) { enabledEntities.push(entity); });
data.purposes.consent.enabled.forEach(function (entity) { enabledEntities.push(entity); });
data.vendors.consent.disabled.forEach(function (entity) { disabledEntities.push(entity); });
data.purposes.consent.disabled.forEach(function (entity) { disabledEntities.push(entity); });
/** * We check that we don't have any enabled entities * and that disabled entities are present */ return enabledEntities.length === 0 && disabledEntities.length > 0; };
var consentEventsCount = 0; var existingConsentString = getCookieValue("euconsent-v2");
window.didomiEventListeners = window.didomiEventListeners || []; window.didomiEventListeners.push({ event: "consent.changed", listener: function () {
/** * We catch consent update event in 2 cases: * -> 1. When user gives consent and updates it without the page reload (via `consentEventsCount` value) * -> 2. When user gives consent and updates it after the page reload (via `existingConsentString` value) */ var consentUpdate = consentEventsCount > 0 ? true : !!existingConsentString; if (consentUpdate && areAllVendorsAndPurposesDisabled()) { /** * Consent has been given previously and this is a consent update */ var cookiesToDelete = document.cookie .split(";") .map(function (cookie) { return cookie.split("=")[0].trim(); }) .filter(function (cookieName) { return itemsToKeep.indexOf(cookieName) === -1; });
/** * Delete cookies */
cookiesToDelete.forEach(function (cookieToDelete) { /* Delete from every possible domain (based on the current page domain) : */
var domains = ('.#' + document.location.host.replace('.', '#.#')).split('#');
while (domains.length) { var possibleDomain = domains.join(''); deleteCookie(cookieToDelete, possibleDomain); domains.shift(); } });
var localStorageItemsToDelete = Object.keys(window.localStorage).filter( function (localStorageItemName) { return itemsToKeep.indexOf(localStorageItemName) === -1; } );
/** * Delete local storage items */ localStorageItemsToDelete.forEach(function (localStorageItemName) { window.localStorage.removeItem(localStorageItemName) });
// Reload the page window.location.reload(); } consentEventsCount++; }, }); })();
if(window.hasOwnProperty('gtmId')){ var gtm = gtmId; }else{ var gtm = 'GTM-W5GD29L'; }
function ggaDevisHeader() { jQuery("#devisForm99").val('devis-header'); var iframe = document.getElementById('iframe_devis'); iframe.contentWindow.postMessage('formQuotation', window.location.origin); }
window.addEventListener('message', receiveMessage, false);
function receiveMessage(event) { if (event.data === 'closeModalDevis') { $('#modalDevisHeader').modal('hide'); }
if (event.data === 'closeModalCheckout') { $('#modalCheckoutHeader').modal('hide'); } }
jQuery('#btnPopupDevis').click(function(){ var url = "https://www.allodiagnostic.com/devis/?layout=iframe&modal=true&types=VL,AE,RAAT&location=header"; jQuery('#iframe_devis').prop('src', url); });
jQuery('#btnPopupCheckout').click(function() { var url = "https://www.allodiagnostic.com/commander/?layout=iframe&modal=true&types=VL,AE&location=header"; jQuery('#iframe_checkout').prop('src', url); });
Demande de devis gratuit
Prenez rendez-vous
Testez la validité de vos diagnostics
$(document).ready(function() {
var superficieFieldUpdaterInstance = new SuperficieFieldUpdater('#widget-home-checkout select[name="bien"]', '#widget-home-checkout select[name="superficie"]', {"2":{"1":"1 pi\u00e8ce","2":"1 Studio \/ T1","3":"T2","4":"T3","5":"T4","6":"T5","7":"T6","16":"+ de 6 pi\u00e8ces"},"1":{"8":"- de 40 m\u00b2","9":"40-80 m\u00b2","10":"80-120 m\u00b2","11":"120-160 m\u00b2","12":"160-200 m\u00b2","13":"200-240 m\u00b2","14":"240-280 m\u00b2","15":"+ de 280 m\u00b2"},"7":{"701":"- de 40 m\u00b2","702":"40-80 m\u00b2","703":"80-120 m\u00b2","704":"120-160 m\u00b2","705":"160-200 m\u00b2","706":"200-240 m\u00b2","707":"240-280 m\u00b2","708":"+ de 280 m\u00b2"},"8":{"801":"- de 40 m\u00b2","802":"40-80 m\u00b2","803":"80-120 m\u00b2","804":"120-160 m\u00b2","805":"160-200 m\u00b2","806":"200-240 m\u00b2","807":"240-280 m\u00b2","808":"+ de 280 m\u00b2"},"9":{"901":"- de 40 m\u00b2","902":"40-80 m\u00b2","903":"80-120 m\u00b2","904":"120-160 m\u00b2","905":"160-200 m\u00b2","906":"200-240 m\u00b2","907":"240-280 m\u00b2","908":"+ de 280 m\u00b2"},"10":{"1001":"- de 40 m\u00b2","1002":"40-80 m\u00b2","1003":"80-120 m\u00b2","1004":"120-160 m\u00b2","1005":"160-200 m\u00b2","1006":"200-240 m\u00b2","1007":"240-280 m\u00b2","1008":"+ de 280 m\u00b2"},"99":{"9901":"- de 40 m\u00b2","9902":"40-80 m\u00b2","9903":"80-120 m\u00b2","9904":"120-160 m\u00b2","9905":"160-200 m\u00b2","9906":"200-240 m\u00b2","9907":"240-280 m\u00b2","9908":"+ de 280 m\u00b2"}}); superficieFieldUpdaterInstance.init();
if($('#location').val() == 'Saisissez une ville ou un code postal'){ $('#location').val(''); }
$('#location').on('click', function (e) { $(this).val(''); }); $('#location').on('blur', function (e) { if($(this).val() == ''){ var val = $('#location_hidden').val(); valjson = $.parseJSON(val); $(this).val(valjson.ville + ' (' + valjson.code_postal + ')'); } });
$("input[name='type'], #select_bien").on('change', function () {
if($("#widget-home-checkout").data('formValidation').isValidField($(this))){ var now = new Date(); now.setTime(now.getTime() + 3600 * 1000); document.cookie = 'devis_' + $(this).attr('name') + '=' + $(this).val() + '; expires=' + now.toUTCString() + ';path=/'; }
});
});
angular.module('ngCheckout') .constant('HOST', 'https://www.allodiagnostic.com') .constant('IS_WIDGET', true) .constant('MODE', 'no-iframe') .constant('DOMAINE_PARENT', null) .constant('ORIGINE', 'AD') .constant('PRESTATION_TYPE', '') .constant('TYPES', 'VL,AE,RAAT') ;
Retrouvez-nous chez nos partenaires de confiance





Techniciens
formés et certifiés
Conseil et Suivi
personnalisé
Techniciens
partout en france
Plus de 15 ans
d’expérience
1ère place de marché du diagnostic en France
La marketplace allodiagnostic.com s’engage à vous proposer les meilleurs prix pour votre diagnostic immobilier.
Nous réalisons tous les diagnostics immobiliers obligatoires nécessaires pour votre habitation pour la location ou pour la vente : DPE (Diagnostic de Performance Énergétique), amiante, plomb, électricité, gaz, Loi Carrez, Loi Boutin et ERP (État des Risques et Pollutions).
Allodiagnostic, c'est aussi le premier réseau intégré de diagnostiqueurs immobiliers en France pouvant intervenir sur des missions tels que le diagnostic technique global, le diagnostic amiante avant démolition ou travaux… mais également les expertises liées à la rénovation énergétique des bâtiments à l'aide de nos thermiciens : étude thermique, audit énergétique.
Actualités

L’avenir du coliving : Prédictions sur l’évolution de cette tendance et son impact potentiel sur la société
Le coliving, une forme de vie commune choisie où des individus partagent des espaces de vie, gagne du terrain dans notre société moderne.
Lire la suite

Trouver une location de bureau sur Geolocaux !
Trouver le bureau idéal pour votre entreprise ou votre activité freelance n’est pas une mince affaire.
Lire la suite
Reportage
Découvrez l’une de nos expertises :
Le diagnostic de l’amiante

(function ($, undefined) {
/** * Evenement qui suopprime les modal du dom quand non visible */ $(document).ready(function () {
var modalFormDevis = $('#modalFormDevis'); var modalFormRappel = $('#modalFormRappel');
modalFormDevis .on('hidden.bs.modal', function () { $('#modalBodyDevis').html(''); document.cookie = 'submitModal=false; expires=Fri, 01 Jan 2000 00:0:00 UTC'; }); modalFormRappel .on('hidden.bs.modal', function () { $('#modalBodyRappel').html(''); });
});
/** * Evenement onclick sur les liens modal de devis pour afficher la modal */ $('.modal-devis').click(function () {
var trackInput = $("#devisForm99"); var track = trackInput.val();
if(track == ''){ track = 'devis-menu'; }
$.ajax({ type: "POST", url: "https://www.allodiagnostic.com/devis/index-ajax/", data: { track: track }, cache: false, success: function (msg) { $('#modalBodyDevis').html(msg); }, error: function () { $('#modalBodyDevis').html('Error!'); } }); trackInput.val(''); });
/** * Evenement onclick sur les liens modal de rappel pour afficher la modal */ $('.modal-rappel').click(function () { $.ajax({ type: "POST", url: "https://www.allodiagnostic.com/rappel/index-ajax/track/rappel-menu/", cache: false, success: function (msg) { $('#modalBodyRappel').html(msg); }, error: function () { $('#modalBodyRappel').html('Error!'); } }); });
})(jQuery);