PageSourceSearch

https://www.jcdecaux-cityscape.hk/modules/custom/jcdecaux_protected_pages_menu/js/protected_links.js?v=10.4.5

js jcdecaux-cityscape.hk collected 2026-09-29 09:00:32 UTC 655 bytes, 22 lines download raw bytes

1/**
2 * @file
3 */
4
5(function ($, Drupal, drupalSettings) {
6  'use strict';
7  Drupal.behaviors.protectedLinks = {
8    attach: function () {
9      $(once('protected-link', '.not-logged-in a.protected-url')).each(function () {
10        var $this = $(this);
11        var destination = $this.attr('href');
12        $this.attr('href', 'javascript:void(0);');
13        $this.click(function(e) {
14          e.preventDefault();
15          var $externalLoginLink = $('.header-widget .external-login');
16          $externalLoginLink.data('destination', destination);
17          $externalLoginLink.click();
18        });
19      });
20    }
21  };
22})(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.