PageSourceSearch

https://www.andorralavella.ad/comu/sites/all/modules/flickr/flickr_colorbox.js?tltbo6

js andorralavella.ad collected 2026-10-02 07:43:24 UTC 650 bytes, 15 lines download raw bytes

1(function ($) {
2  Drupal.behaviors.addLinkToColorboxCurrent = {
3    attach: function(context, settings) {
4      var url = $("img[class='cboxPhoto']").attr('src');
5      var regex = new RegExp(/^https?:\/\/([a-z0-9-]+\.)*flickr\.com(\/.*)?$/);
6      if (url && url.match(regex)) {
7        var photo_id = url.split('/')[4];
8        var link = /^[^_]*/.exec(photo_id);
9        var linktext = Drupal.t('View on Flickr.');
10        var linktitle = Drupal.t('Opens in a new tab.');
11        $('#cboxCurrent').append(' <a href="https://flickr.com/photo.gne?id='+link+'" target="_blank" title="'+linktitle+'">'+linktext+'</a>');
12      }
13    }
14  };
15})(jQuery);

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.