PageSourceSearch

https://www.openthenews.com/wp-content/plugins/newsprk-essential/assets/js/back_to_top.js?ver=7.1.2

js openthenews.com collected 2026-10-01 08:51:09 UTC 650 bytes, 27 lines download raw bytes

1(function($) {
2
3    "use strict";
4
5    jQuery(document).on('ready', function() {
6
7
8        jQuery(window).on('scroll', function (event) {
9
10            if (jQuery(this).scrollTop() > 500) {
11                jQuery('.newsprk-er-back-to-top').fadeIn(200)
12            } else {
13                jQuery('.newsprk-er-back-to-top').fadeOut(200)
14            }
15        });
16    
17        $(document).on("click", ".newsprk-er-back-to-top", function(e) {
18
19            e.preventDefault();
20            document.body.scrollTop = 0;
21            document.documentElement.scrollTop = 0;
22            return false;
23
24        });
25    });
26
27})(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.