PageSourceSearch

https://www.last-origin.com/script/script.js

js last-origin.com collected 2026-09-24 09:20:47 UTC 1,542 bytes, 61 lines download raw bytes

1 $(document).ready(function(){
2
3    $('header').on("touch click", function(event){
4        event.stopPropagation();
5    });
6
7    $('.hamburger').on('click',function(){
8        $('header').addClass('on');
9        $('.hamburger').addClass('hide');
10        $('body,html').css({
11            height:"100%",
12            overflow:"hidden"
13        })
14    });
15
16    $('.closebtn').on('click',function(){
17        $('header').removeClass('on');
18        $('.hamburger').removeClass('hide');
19        $('body,html').css({
20            height:"",
21            overflow:""
22        })
23    });
24
25    // $('.layer_close').on('click',function(){
26    //     $('.layerpopup').css({
27    //        display: "none"
28    //     })
29    // });
30
31
32    $('.upbtn').on('click',function(e){
33        $('html,body').stop().animate({
34            scrollTop:0
35        },300)
36    })
37	// var video = document.getElementById('video');
38	// $(video).on("click touch",function(){
39	// 	 video.play();
40	// })
41	// video.addEventListener('touch',function(){ video.play(); alert("!")},false);
42
43    if(document.querySelectorAll('.btn_game_start').length > 0) {
44        popupAction(document.querySelector('.btn_game_start'), document.querySelector('[data-modal="modal_dmm"]'))
45    }
46
47})
48
49function popupAction(_target, _modal) {
50    var target = _target;
51    var modal = _modal;
52    
53    target.addEventListener('click', function(){
54        modal.classList.add('open');
55    });
56
57    modal.querySelector('.dim').addEventListener('click', function(){
58        modal.classList.remove('open');
59    });
60
61}

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.