PageSourceSearch

https://targiprotega.pl/static/mtpgroup/js/modules/newsletter.js

js targiprotega.pl collected 2026-09-30 09:43:05 UTC 818 bytes, 27 lines download raw bytes

1(function () {
2    var app = angular.module('newsletter', []);
3
4    app.controller("newsletterCtrl", function ()
5    {
6        this.add_email = function ()
7        {
8            var email = document.getElementsByClassName("newsletter__input")[0].value;
9            var url = document.getElementsByClassName("newsletter__button")[0].getAttribute('data-url');
10
11            document.getElementsByClassName("newsletter__button")[0].setAttribute('data-source', url + '&email=' + email);
12        };
13    });
14
15})();
16
17var show_error = function ()
18{
19    $("span.result").html(dictionary_items['undefined_error']);
20}
21
22var show_success = function (data)
23{
24    var key = (dictionary_items.hasOwnProperty(data) === true) ? data : 'undefined_error';
25
26    $("span.result").html(dictionary_items[key]);
27}

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.