Unblocked Games.github May 2026

.repo-title display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;

// Favorites storage (localStorage) let favorites = new Set(); function loadFavorites() { const stored = localStorage.getItem("unblocked_favs"); if (stored) { try const arr = JSON.parse(stored); favorites = new Set(arr); catch(e) {} } } function saveFavorites() localStorage.setItem("unblocked_favs", JSON.stringify([...favorites])); unblocked games.github

.search-box background: #161b22; border: 1px solid #30363d; border-radius: 6px; padding: 0.5rem 1rem; width: 260px; color: #c9d1d9; font-size: 0.85rem; outline: none; transition: 0.2s; .repo-title display: flex

.tab.active color: #f0f6fc; background: #161b22; border-bottom: 2px solid #f78166; favorites = new Set(arr)

.tab padding: 0.6rem 1.2rem; font-size: 0.9rem; font-weight: 500; background: transparent; border: none; color: #8b949e; cursor: pointer; transition: 0.2s; border-radius: 6px 6px 0 0;

<!-- modal for fullscreen play --> <div id="gameModal" class="modal"> <div class="modal-content"> <div class="modal-header"> <h3 id="modalGameTitle">Game title</h3> <button class="close-modal" id="closeModalBtn">×</button> </div> <iframe id="gameIframe" class="game-frame" allow="fullscreen" sandbox="allow-same-origin allow-scripts allow-popups allow-forms allow-modals"></iframe> </div> </div>