PageSourceSearch

https://hoteldekoningshof.nl/wp-content/plugins/whatsapp-for-wordpress/assets/js/whatsapp-button.js?ver=3.8.2

js hoteldekoningshof.nl collected 2026-10-04 22:11:34 UTC 1,253 bytes, 40 lines download raw bytes

1(function () {
2  njtWhatsApp.ready(function () {
3    const init = function () {
4      document.querySelectorAll(".nta_wa_button").forEach(function (element) {
5        if (element._isWaButton) return
6        const info = JSON.parse(element.getAttribute('data-info'))
7        const accountId = element.getAttribute('data-id')
8        njtWhatsApp.createButton(element, {
9          ...info,
10          info: {...info.info, accountId},
11          timezone: njt_wa_global.timezone,
12          i18n: njt_wa_global.i18n,
13          urlSettings: njt_wa_global.urlSettings,
14        });
15      });
16    };
17    init();
18
19    if (window.jQuery) {
20      // Support Riode Theme
21      if (typeof(Riode) !== 'undefined' && typeof(jQuery) !== 'undefined') {
22        Riode.$window.on('riode_load', function(){ init() })
23        jQuery(document).ajaxComplete((e, xhs, req) => {
24          try {
25            if (req.data.indexOf('riode_quickview') > -1) { init() }
26          } catch (e) {
27            console.log("error")
28          }
29        })
30      }
31
32      // Support Porto Theme 	
33      jQuery(document).ajaxComplete((e, xhs, req) => {
34        try {
35          if (req.data.indexOf('action=porto_lazyload_menu') > -1) { init() }
36        } catch (e) {}
37      })
38    }
39  });
40})();

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.