PageSourceSearch

https://gdpr.eu/wp-content/themes/gdpr/js/vendor/scrPosition.js

js gdpr.eu collected 2026-09-24 06:23:22 UTC 396 bytes, 15 lines download raw bytes

1(function(j,d,w){
2  j.fn.scrPosition = function(callback){
3    var position;
4    var scrollPosition = j(this).scrollTop();
5    j(this).scroll(function(){
6      var scrollTop = j(this).scrollTop();
7      if(scrollPosition < scrollTop)
8        position = "up"
9      else
10        position = "down"
11      scrollPosition = scrollTop;
12      callback(position);
13    });
14  };
15})(jQuery,document,window);

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.