PageSourceSearch

https://brunolibros.es/modal-newsletter/assets/js/demo.js

js brunolibros.es collected 2026-10-02 06:58:49 UTC 909 bytes, 22 lines download raw bytes

1//do not include in your production env
2//for demo purpose Only
3(function($) {
4    $(document).on("click", "#btn-suscripirse-newsletter", function(e) {
5        e.preventDefault();
6        //setCookie("newsletter", "activado", 30);
7        //window.location = "https://t1.email.oberonlibros.com/lp/OberonSuscriptionLP";
8        window.open("https://cloud.suscripcionesgrupoanaya.hablamosdelibros.es/suscripcion-brunotrade", '_blank');
9    });
10
11    $(document).on("click", "[data-modal-position]", function(e) {
12        e.preventDefault();
13        //removing previously added classes
14        $("#positionModal").removeAttr("class");
15        // adding back modal class and the selected position
16        $("#positionModal").addClass("modal fade " + $(this).attr('data-modal-position'));
17        //making the modal visible
18        $("#positionModal").modal("show");
19
20    })
21
22})(window.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.