PageSourceSearch

https://retro-bowl-unbl0cked.github.io/assets/js/main.js

js retro-bowl-unbl0cked.github.io collected 2026-10-03 09:50:25 UTC 1,692 bytes, 49 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function() {
2    
3    
4    const playBtn = document.querySelector('.play-btn');
5    const gameCloak = document.querySelector('.game-cloak');
6    const gameIframe = document.querySelector('.game-iframe');
7
8    if(playBtn && gameCloak && gameIframe) {
9        playBtn.addEventListener('click', function() {
10			show_preroll();
11            
12            gameCloak.style.transition = 'opacity 0.5s';
13            gameCloak.style.opacity = '0';
14            
15            setTimeout(() => {
16                gameCloak.style.display = 'none';
17                
18                 
19                const encryptedUrl = gameIframe.getAttribute('data-enc-url');
20                
21                if(encryptedUrl) {
22                    try {
23                        
24                        const decodedUrl = atob(encryptedUrl);
25                        gameIframe.src = decodedUrl;
26                    } catch (e) {
27                        console.error("URL çözülemedi:", e);
28                    }
29                }
30            }, 500);
31        });
32    }
33
34    
35    const fsBtn = document.getElementById('btnFullscreen');
36    if(fsBtn && gameIframe) {
37        fsBtn.addEventListener('click', () => {
38            if (gameIframe.requestFullscreen) {
39                gameIframe.requestFullscreen();
40            } else if (gameIframe.mozRequestFullScreen) {
41                gameIframe.mozRequestFullScreen();
42            } else if (gameIframe.webkitRequestFullscreen) {
43                gameIframe.webkitRequestFullscreen();
44            } else if (gameIframe.msRequestFullscreen) {
45                gameIframe.msRequestFullscreen();
46            }
47        });
48    }
49});

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.