Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Version 2.3.1
Browse files Browse the repository at this point in the history
Added a default background new apps and games changed encoding of url's and added more websites for tab cloaking.
  • Loading branch information
TheUnblockedHubOfficial committed Feb 5, 2024
1 parent 5a2df63 commit 9e554be
Show file tree
Hide file tree
Showing 30 changed files with 142 additions and 203 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "TheUnblockedHub",
"version": "2.3.0",
"version": "2.3.1",
"type": "module",
"engines": {
"npm": ">=7.0.0",
Expand Down
10 changes: 5 additions & 5 deletions static/apps.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@
<script src="./m/config.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/assets/styles/main.css?v=1" />
<link rel="stylesheet" href="/assets/styles/themes/default.css?v=1" />
<link rel="stylesheet" href="/assets/styles/themes/default.css?v=2" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" />
<script src="/assets/scripts/index.js?v=2"></script>
<script src="/assets/scripts/index.js?v=3"></script>
<script src="https://kit.fontawesome.com/1237c86ba0.js" crossorigin="anonymous"></script>
<script src="assets/scripts/apps.js?v=6"></script>
<script src="/assets/scripts/global.js?v=2"></script>
<script src="assets/scripts/apps.js?v=8"></script>
</head>

<body>
Expand Down Expand Up @@ -48,6 +47,7 @@
<option value="tool">Tools</option>
<option value="media">Media</option>
<option value="AI">AI</option>
<option value="emu">Emulator</option>
</select>
</div>
<div class="pinned-apps"></div>
Expand All @@ -65,7 +65,7 @@
gtag('js', new Date())
gtag('config', 'G-5DJ29NQ146')
</script>
<script src="/assets/scripts/global.js?v=2"></script>
<script src="/assets/scripts/global.js?v=5"></script>
</body>

</html>
Binary file added static/assets/media/favicon/edpuzzle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/media/favicon/linkit.ico
Binary file not shown.
Binary file added static/assets/media/icons/RodeoPromo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/media/icons/apps/xlogo.webp
Binary file not shown.
Binary file added static/assets/media/icons/apps/ytmusic.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/media/icons/banditrip.webp
Binary file not shown.
Binary file added static/assets/media/icons/bhas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/media/icons/csgoparkour.webp
Binary file not shown.
Binary file added static/assets/media/icons/lolshot.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/media/icons/mk48io.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/media/icons/temu.webp
Binary file not shown.
Binary file added static/assets/media/starblastio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 38 additions & 43 deletions static/assets/scripts/apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,20 +84,6 @@ document.addEventListener('DOMContentLoaded', () => {
categories: ['all', 'game'],
error: false,
},
{
name: 'Discord',
link: 'https://canary.discord.com',
image: '/assets/media/icons/apps/discord.jpg',
categories: ['all', 'social'],
},
{
name: 'Discord - Login',
link: 'https://canary.discord.com/login',
image: '/assets/media/icons/discord.jpg',
categories: ['all', 'social'],
blank: 'true',
error: false,
},
{
name: 'Donitz - itch.io',
link: 'https://donitz.itch.io/',
Expand Down Expand Up @@ -278,6 +264,12 @@ document.addEventListener('DOMContentLoaded', () => {
categories: ['all', 'social'],
error: false,
},
{
name: 'Temu',
link: 'https://temu.com',
image: '/assets/media/icons/temu.webp',
categories: ['all'],
},
{
name: 'Tiktok',
link: 'https://tiktok.com',
Expand All @@ -300,9 +292,9 @@ document.addEventListener('DOMContentLoaded', () => {
error: false,
},
{
name: 'Twitter',
name: 'X',
link: 'https://twitter.com',
image: '/assets/media/icons/apps/twitter.png',
image: '/assets/media/icons/apps/xlogo.webp',
categories: ['all', 'social', 'media'],
error: false,
},
Expand All @@ -327,6 +319,13 @@ document.addEventListener('DOMContentLoaded', () => {
categories: ['all', 'social', 'stream', 'media'],
error: false,
},
{
name: 'YouTube Music',
link: 'https://music.youtube.com',
image: '/assets/media/icons/apps/ytmusic.png',
categories: ['all', 'social', 'stream', 'media'],
error: false,
},
{
name: 'Whatsapp',
link: 'https://web.whatsapp.com/',
Expand Down Expand Up @@ -387,38 +386,34 @@ document.addEventListener('DOMContentLoaded', () => {

const link = document.createElement('a')

if (app.local) {
link.onclick = function () {
if (typeof app.say !== 'undefined') {
alert(app.say)
}
window.location.href = app.link
return false
function saveToLocal(path) {
sessionStorage.setItem('GoUrl', path)
}

function handleClick(app) {
if (typeof app.say !== 'undefined') {
alert(app.say)
}
} else if (app.blank) {
link.onclick = function () {
if (typeof app.say !== 'undefined') {
alert(app.say)
}

if (app.local) {
saveToLocal(app.link)
window.location.href = '&'
} else if (app.local2) {
saveToLocal(app.link)
window.location.href = app.link
} else if (app.blank) {
blank(app.link)
return false
}
} else if (app.now) {
link.onclick = function () {
if (typeof app.say !== 'undefined') {
alert(app.say)
}
} else if (app.now) {
now(app.link)
return false
}
} else {
link.onclick = function () {
if (typeof app.say !== 'undefined') {
alert(app.say)
}
} else {
go(app.link)
return false
}

return false
}

link.onclick = function () {
handleClick(app)
}

const image = document.createElement('img')
Expand Down
73 changes: 54 additions & 19 deletions static/assets/scripts/g.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,18 @@ document.addEventListener('DOMContentLoaded', () => {
image: '/assets/media/icons/1v1-lol.webp',
categories: ['all', '2P'],
},
{
name: 'LOL Shot',
link: 'https://Lolshot.io',
image: '/assets/media/icons/lolshot.jpg',
categories: ['all', '2P'],
},
{
name: 'Barry Has A Secret',
link: 'https://sandfella.itch.io/barry-has-a-secret',
image: '/assets/media/icons/bhas.png',
categories: ['all', 'emu'],
},
{
name: '10 Minutes Till Dawn',
link: 'https://www.crazygames.com/game/10-minutes-till-dawn',
Expand Down Expand Up @@ -219,6 +231,12 @@ document.addEventListener('DOMContentLoaded', () => {
image: '/assets/media/icons/ballmayhem.jpg',
categories: ['all'],
},
{
name: 'Bandit.RIP',
link: 'https://bandit.rip/',
image: '/assets/media/icons/banditrip.webp',
categories: ['all', '2P'],
},
{
name: 'Basket Random',
link: 'https://html5.gamedistribution.com/rvvASMiM/bf1268dccb5d43e7970bb3edaa54afc8/index.html',
Expand Down Expand Up @@ -459,7 +477,7 @@ document.addEventListener('DOMContentLoaded', () => {
},
{
name: 'Computer Clicker',
link: '/assets/DiBiaseProductions/ComputerClicker/index.html',
link: 'assets/DiBiaseProductions/ComputerClicker/index.html',
image: '/assets/media/icons/computerclicker.png',
categories: ['all', 'local'],
},
Expand All @@ -472,7 +490,7 @@ document.addEventListener('DOMContentLoaded', () => {
},
{
name: 'Controls',
link: '/assets/DiBiaseProductions/Controls/index.html',
link: 'assets/DiBiaseProductions/Controls/index.html',
image: '/assets/media/icons/controls.png',
categories: ['all', 'local'],
},
Expand All @@ -494,6 +512,12 @@ document.addEventListener('DOMContentLoaded', () => {
image: '/assets/media/icons/cryzen.png',
categories: ['all'],
},
{
name: 'CSGO Parkour',
link: 'https://yandex.com/games/app/203069?flags={%22adv_sticky_banner_disabled%22:true}',
image: '/assets/media/icons/csgoparkour.webp',
categories: ['all'],
},
{
name: 'Cubes 2048',
link: 'https://www.crazygames.com/game/cubes-2048-io',
Expand Down Expand Up @@ -786,6 +810,12 @@ document.addEventListener('DOMContentLoaded', () => {
image: '/assets/media/icons/FNAF2.webp',
categories: ['all'],
},
{
name: 'Rodeo Stampede',
link: 'https://poki.com/en/g/rodeo-stampede-savannah',
image: '/assets/media/icons/RodeoPromo.png',
categories: ['all'],
},
{
name: 'FNAF 3',
link: 'https://sussygamedeveloper.github.io/fnaf3/',
Expand Down Expand Up @@ -1134,18 +1164,11 @@ document.addEventListener('DOMContentLoaded', () => {
categories: ['all'],
},
{
name: 'Minecraft 1.5.2 (Eaglercraft)',
link: '/f/minecraft-15/index.html',
name: 'Eaglercraft 1.5.2 [Singleplayer]',
link: 'https://interstellar-assets.pages.dev/minecraft-15/',
image: '/assets/media/icons/mc.webp',
categories: ['all', '2P', 'emu'],
local: 'true',
},
{
name: 'Minecraft 1.8 (Eaglercraft)',
link: '/f/minecraft-18/index.html',
image: '/assets/media/icons/mc.webp',
categories: ['all', '2P', 'emu'],
local: 'true',
blank: 'true',
},
{
name: 'Mineenergy',
Expand All @@ -1159,6 +1182,12 @@ document.addEventListener('DOMContentLoaded', () => {
image: '/assets/media/icons/mc.webp',
categories: ['all', '2P'],
},
{
name: 'mk48.io',
link: 'https://mk48.io/',
image: '/assets/media/icons/mk48io.jpg',
categories: ['all', '2P'],
},
{
name: 'Mobs Inc',
link: 'https://overboy.itch.io/mobs-inc',
Expand Down Expand Up @@ -1715,6 +1744,12 @@ document.addEventListener('DOMContentLoaded', () => {
image: '/assets/media/icons/stack.png',
categories: ['all'],
},
{
name: 'Starblast',
link: 'https://starblast.io',
image: '/assets/media/icons/starblastio.png',
categories: ['all', '2P'],
},
{
name: 'Stickman Hook',
link: 'https://poki.com/en/g/stickman-hook?campaign=14726801018&adgroup=126978546909&extensionid=&targetid=kwd-571112182025&loc_interest_ms=&loc_physical_ms=1009839&mt=&gclid=CjwKCAjwzJq5BhBhEiwAUXM4dmw9FC8YNO6NMR-6MoMKI-qJXqOsIyU6hH8RthPwh8uh0E3e6jY6xxoCg-EQAvD_BwE',
Expand Down Expand Up @@ -2067,10 +2102,6 @@ document.addEventListener('DOMContentLoaded', () => {
},
]

function saveToLocal(path) {
localStorage.setItem('savedPaths', path)
}

appsList.sort((a, b) => a.name.localeCompare(b.name))

const nonPinnedApps = document.querySelector('.container-apps')
Expand Down Expand Up @@ -2107,17 +2138,21 @@ document.addEventListener('DOMContentLoaded', () => {

const link = document.createElement('a')

function saveToLocal(path) {
sessionStorage.setItem('GoUrl', path)
}

function handleClick(app) {
if (typeof app.say !== 'undefined') {
alert(app.say)
}

if (app.local) {
saveToLocal(app.link)
window.location.href = app.link
} else if (app.localW) {
window.location.href = '&'
} else if (app.local2) {
saveToLocal(app.link)
window.location.href = '/w'
window.location.href = app.link
} else if (app.blank) {
blank(app.link)
} else if (app.now) {
Expand Down
12 changes: 10 additions & 2 deletions static/assets/scripts/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,16 @@ document.addEventListener('DOMContentLoaded', function (event) {
name.textContent = 'Dashboard'
localStorage.setItem('name', 'Dashboard')
localStorage.setItem('icon', '/assets/media/favicon/canvas.png')
} else if (selectedValue === 'LinkIt') {
icon.setAttribute('href', '/assets/media/favicon/linkit.ico')
name.textContent = 'Test Taker'
localStorage.setItem('name', 'Test Taker')
localStorage.setItem('icon', '/assets/media/favicon/linkit.ico')
} else if (selectedValue === 'Edpuzzle') {
icon.setAttribute('href', '/assets/media/favicon/edpuzzle.png')
name.textContent = 'Edpuzzle'
localStorage.setItem('name', 'Edpuzzle')
localStorage.setItem('icon', '/assets/media/favicon/edpuzzle.png')
}

var themeid = localStorage.getItem('theme')
Expand Down Expand Up @@ -192,8 +202,6 @@ document.addEventListener('DOMContentLoaded', function () {
}
})

// Panic

document.addEventListener('DOMContentLoaded', function () {
var eventKey = localStorage.getItem('eventKey') || '`'
var panicLink = localStorage.getItem('panicLink') || 'https://classroom.google.com/'
Expand Down
2 changes: 1 addition & 1 deletion static/assets/scripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function processUrl(value, path) {
if (!isUrl(url)) url = 'https://www.google.com/search?q=' + url
else if (!(url.startsWith('https://') || url.startsWith('http://'))) url = 'https://' + url

sessionStorage.setItem('encodedUrl', __uv$config.encodeUrl(url))
sessionStorage.setItem('GoUrl', __uv$config.encodeUrl(url))

if (path) {
location.href = path
Expand Down
Binary file added static/assets/styles/full2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion static/assets/styles/themes/default.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:root {
--page: #1e1e1e;
--page: url('full2.png');
--background: rgba(255, 255, 255, 0.02);
--background-filter: blur(10px) brightness(80%);
--background-secondary: #4545459e;
Expand Down
Loading

0 comments on commit 9e554be

Please sign in to comment.