PageSourceSearch

https://www.veolianorthamerica.com/profiles/custom/veolia_platform…/js/didomi_manage_link.js?v=1.x

js veolianorthamerica.com collected 2026-09-24 10:33:19 UTC 1,054 bytes, 29 lines download raw bytes

1(function ($, Drupal, drupalSettings) {
2
3  'use strict';
4
5  Drupal.behaviors.veoliaSiteEucookieToogleWithdraw = {
6    attach: function (context, settings) {
7      // Append Manage Cookie menu item to footer Menu.
8      $(once('veoliaSiteEucookieToogleWithdraw', '.footer-menu ul', context)).each(function () {
9        let MenuTite= drupalSettings.veolia_platform_didomi.menu_title;
10        let MenuPosition = drupalSettings.veolia_platform_didomi.menu_position;
11
12        if (MenuPosition >= 0) {
13          let item = '<li><a id="didomi-cookie-banner-link" href="javascript:void(0);">' + Drupal.t(MenuTite) + '</a></li>';
14          if (MenuPosition > 0 && MenuPosition <= $('li', this).length) {
15            $("li:nth-child(" + MenuPosition + ")", this).before(item);
16          }
17          else {
18            // Append as last item
19            $(this).append(item);
20          }
21        }
22
23        $('#didomi-cookie-banner-link').click(function () {
24          Didomi.preferences.show();
25        });
26      });
27    }
28  };
29})(jQuery, Drupal, drupalSettings);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.