PageSourceSearch

https://cannazen.de/wp-content/plugins/cannazen/assets/js/app/user-identification.js?ver=1.0.0

js cannazen.de collected 2026-10-08 08:20:49 UTC 873 bytes, 39 lines download raw bytes

1(function ($, win, doc) {
2  'use strict';
3
4  var ua = navigator.userAgent || 'unknown';
5  if (ua.indexOf('CannaZenApp/') === -1) {
6    // Not the CannaZen app, no further action needed
7    return;
8  }
9
10  var ajaxUrl = (win.CZ && CZ.ajaxUrl) || win.ajaxurl;
11  var nonce   = (win.CZ && CZ.nonce);
12  if (!ajaxUrl || !nonce) {
13    console.error('Missing ajaxUrl or nonce');
14    return;
15  }
16
17  $.ajax({
18    url: ajaxUrl,
19    method: 'POST',
20    dataType: 'json',
21    cache: false,
22    headers: { 'X-Requested-With': 'XMLHttpRequest' },
23    data: {
24      action: 'cz_user_id',
25      _ajax_nonce: nonce
26    },
27
28    success: function (res, status, xhr) {
29      if (!res || res.success !== true || !res.data) {
30        return;
31      }
32      var enc = res.data.encrypted_id;
33      if (enc) {
34        window.czUserIdEncrypted = enc;
35      }
36    }
37  });
38
39})(jQuery, window, document);

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.