PageSourceSearch

https://pagosonline.redsys.es/wp-content/plugins/divi-module-code-…SCopyToClipboardFeature/script.js?ver=1.4.5

js redsys.es collected 2026-10-01 08:50:59 UTC 1,272 bytes, 40 lines download raw bytes

1jQuery(
2    function ($) {
3
4        addCopyToClipboardButton();
5
6        function addCopyToClipboardButton() {
7            $('.dbcs-clipboard-button')
8                .click(function () {
9                    var $button = $(this);
10                    var code = $.map(
11                        $button.closest('.dbcs-clipboard-enabled').find('code .hljs-line'),
12                        function (element) {
13                            return $(element).text()
14                        })
15                        .join("\n");
16                    copyToClipboard(code);
17                    displayCopiedMessage($button);
18                });
19        }
20
21        function displayCopiedMessage($button) {
22            var copied = 'dbcs-copied-to-clipboard';
23            $button
24                .addClass(copied)
25                .delay(3000)
26                .queue(function (next) {
27                    $button.removeClass(copied);
28                    next();
29                });
30        }
31
32        function copyToClipboard(content) {
33            var $temp = $("<textarea>");
34            $("body").append($temp);
35            $temp.val(content).select();
36            document.execCommand("copy");
37            $temp.remove();
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.