PageSourceSearch

https://staatstheater-hannover.de/media/scripts/page_blocked.js

js staatstheater-hannover.de collected 2026-09-24 09:43:01 UTC 739 bytes, 28 lines download raw bytes

1$(window).ready(function() {
2   
3    $('#blocked-page-login-button').on('click', function () {
4        var page = ENV.dynamic_page;
5        var username = $('input[name="username"]').val();
6        var password = $('input[name="password"]').val();
7     
8        $.cookie(page + '_user', username, {
9            expires : 14,
10            path    : '/'
11        });
12        
13        $.cookie(page + '_password', password, {
14            expires : 14,
15            path    : '/'
16        });
17                
18        window.location.reload();
19    });
20
21  
22    $('#blocked-page-username, #blocked-page-password').on('keypress',function(e) {
23        if(e.which == 13) {
24            $('#blocked-page-login-button').click()
25        }
26    });
27    
28});

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.