PageSourceSearch

https://www.science-et-vie.com/wp-content/themes/reworldmedia/assets/javascripts/rw_datawall_nl.js?ver=5826

js science-et-vie.com collected 2026-09-24 08:44:01 UTC 1,277 bytes, 33 lines download raw bytes

1jQuery(document).ready(function() {
2	function bindEvent(element, eventName, eventHandler) {
3	    if (element.addEventListener) {
4	        element.addEventListener(eventName, eventHandler, false);
5	    }
6	}
7    // Parse the URL and get Param by name
8    function getParameterByName(name) {
9        name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
10        var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
11            results = regex.exec(location.search);
12        return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
13    }
14    //get the utm_source
15    var source = getParameterByName('utm_source');
16    //create cookie if user is coming from NL or Mail
17    if (source == "EMAIL" || source == "EMV") {
18        setCookie("nl_cookie", 1,365 * 60 * 24 );
19    }
20
21    bindEvent(window, "message", function(e) {
22        if (e.data == "sub_nl_cookie") {
23            setCookie("nl_cookie", 1,365 * 60 * 24 );
24        } else if (e.data == "close_sticky_footer") {
25            jQuery("#newsletter_bar, .newsletter-inscription-iframe").hide("slow");
26        }
27    });
28
29    var cookieValue = getCookie("nl_cookie");
30    if (!cookieValue) {
31        jQuery("#newsletter_bar, .newsletter-inscription-iframe").removeClass("hidden");
32    }
33});

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.