diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..659a786 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,13 @@ +{ + // Launch Code for Edge Debugging + "version": "9.10.21", + "configurations": [ + { + "type": "pwa-msedge", + "request": "launch", + "name": "Launch Web-App", + "url": "file:///${workspaceFolder}/index.html", + "webRoot": "${workspaceFolder}" + } + ] +} \ No newline at end of file diff --git a/403.html b/403.html new file mode 100644 index 0000000..ce63e8e --- /dev/null +++ b/403.html @@ -0,0 +1,36 @@ + + + + morblox.us - 404 + + + + + + + + + + + + + + + + +
+ MORBLOX Logo +

It's MORBLOX time.

+
+
+

403 Unauthorized

+

Aw man, look at what you have done. You've made Luigi mad!

+

Why don't you go back a page for us before Luigi destroys us all.

+ Angry Luigi +
+ + + \ No newline at end of file diff --git a/404.html b/404.html new file mode 100644 index 0000000..c079e8b --- /dev/null +++ b/404.html @@ -0,0 +1,36 @@ + + + + morblox.us - 404 + + + + + + + + + + + + + + + + +
+ MORBLOX Logo +

It's MORBLOX time.

+
+
+

404 Page Not Found

+

Aw man, look at what you have done. You've made Luigi mad!

+

Why don't you go back a page for us before Luigi destroys us all.

+ Angry Luigi +
+ + + \ No newline at end of file diff --git a/404.js b/404.js new file mode 100644 index 0000000..823f22a --- /dev/null +++ b/404.js @@ -0,0 +1,16 @@ + +window.onload = function() { + var logo = document.getElementById("logo_signup") + var privacytext = document.getElementById("privacytext") + var username = localStorage.getItem("username"); + if (username == "") { + logo.innerHTML = "\"MORBLOX

It's MORBLOX time.

" + privacytext.innerHTML = "Privacy Policy Terms of Service" + } else if (username == null) { + logo.innerHTML = "\"MORBLOX

It's MORBLOX time.

" + privacytext.innerHTML = "Privacy Policy Terms of Service" + } else { + logo.innerHTML = "\"MORBLOX

It's MORBLOX time.

" + privacytext.innerHTML = "Privacy Policy Terms of Service" + } +}; \ No newline at end of file diff --git a/MORBLOXMobile.ico b/MORBLOXMobile.ico new file mode 100644 index 0000000..db4d1b2 Binary files /dev/null and b/MORBLOXMobile.ico differ diff --git a/MORBLOXSplash.png b/MORBLOXSplash.png index 406284d..1dcf59f 100644 Binary files a/MORBLOXSplash.png and b/MORBLOXSplash.png differ diff --git a/MORBLOXSplash_Large.png b/MORBLOXSplash_Large.png new file mode 100644 index 0000000..d59c6a6 Binary files /dev/null and b/MORBLOXSplash_Large.png differ diff --git a/OLD_animated.png b/OLD_animated.png new file mode 100644 index 0000000..b3134cf Binary files /dev/null and b/OLD_animated.png differ diff --git a/animated.png b/animated.png new file mode 100644 index 0000000..8d0a488 Binary files /dev/null and b/animated.png differ diff --git a/error.png b/error.png new file mode 100644 index 0000000..f7a287c Binary files /dev/null and b/error.png differ diff --git a/game/GameRBLX/PrivKey.pem b/game/GameRBLX/PrivKey.pem new file mode 100644 index 0000000..5e1a390 --- /dev/null +++ b/game/GameRBLX/PrivKey.pem @@ -0,0 +1,3 @@ +-----BEGIN RSA PRIVATE KEY----- +MIICXQIBAAKBgQDAWrd/TwGJULsVRo06rCpznNmW4zLJK6LwkfTvG3wURFFBj9E9zuaKAOzHVRrHsWKJhq2BxSUze7OClgzgzFLRQHhRQFKn/skLPrV85bFakoK/dnt9h/Jyn2cD2A8Za6q90O3h9FSy9mLvCN07g07IXtauYZfOXvqyqOn4rAeUJQIDAQABAoGBAISbxddZo0iERIW1XtXtLVMI9iUEutVfZPSO2xogi5j5RD97o5gF1H+dhZ8iN9UloDYJiAJn5G6qwCWtxnEPy6NO4lMDgFMQtlpIIW9mafZ7m+AueYJtgO5elLUnFbOA39OcvFUleL9ded42yuB2wfsGdKl85+mHvn8j4zTmT0+9AkEA3H7NBFhIVf3Vj6iLXwPmamhou8T8b+HSXop0krrP/jDw/wHbl0DEJbQv+ypYdoXJo8XS2Hs39z20pCEsUo2/NwJBAN9T5aWXmVnymbdNUCDMjjer2d6Ey9ARyFgB07xHSod+HWlSCES8pcWwZZrP/I4cf2CEiAInfgak0kNNWLOWnYMCQDJEoj7UVaFtHiwDM8r0m6o0pXPxY8+p/wjYrdzpxBNiWv74EHT6Kf2ih7HOJJ7Yv3Cb4AbEiKzQH4evnGgxsp8CQQDRPK+ad/DLn0p5vMvoDv7oFfCoVM8IAMEuA3g3nKutSnGP7bWlgQHnuB9Z7qf3FagZ69HqAspGu0HsoJkMmX61AkAO5wTd+rja0MP7rT5xNVYBALtdYLWowBov4NCN7BVDkd0JzeTjMtDerirvEDuzDBrbyFtKV5rZjZpuotFc+5/t +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/game/gameserver.php b/game/gameserver.php new file mode 100644 index 0000000..5460df8 --- /dev/null +++ b/game/gameserver.php @@ -0,0 +1,81 @@ + +game:Load('rbxasset://temp.rbxl') +local assetPropertyNames = {"Texture", "TextureId", "SoundId", "MeshId", "SkyboxUp", "SkyboxLf", "SkyboxBk", "SkyboxRt", "SkyboxFt", "SkyboxDn", "PantsTemplate", "ShirtTemplate", "Graphic", "Frame", "ImageLabel", "GuiMain", "Image", "LinkedSource", "AnimationId"} +local variations = {"http://www%.roblox%.com/asset/%?id=", "http://www%.roblox%.com/asset%?id=", "http://%.roblox%.com/asset/%?id=", "http://%.roblox%.com/asset%?id="} + +function GetDescendants(o) + local allObjects = {} + function FindChildren(Object) + for _,v in pairs(Object:GetChildren()) do + table.insert(allObjects,v) + FindChildren(v) + end + end + FindChildren(o) + return allObjects +end + +local replacedProperties = 0--Amount of properties changed + +for i, v in pairs(GetDescendants(game)) do + for _, property in pairs(assetPropertyNames) do + pcall(function() + if v[property] and not v:FindFirstChild(property) then --Check for property, make sure we're not getting a child instead of a property + assetText = string.lower(v[property]) + for _, variation in pairs(variations) do + v[property], matches = string.gsub(assetText, variation, "http://www%.morblox%.us/asset/%?id=") + if matches > 0 then + replacedProperties = replacedProperties + 1 + print("Replaced " .. property .. " asset link for " .. v.Name) + break + end + end + end + end) + end +end + +print("DONE! Replaced " .. replacedProperties .. " properties") +game:GetService("NetworkServer"):Start() +game:GetService("RunService"):Run() +game.Lighting.GlobalShadows = true +game.Players.PlayerAdded:connect(function(plr) +Player.Changed:connect(function(Property) +if (Property=="Character") and (Player.Character~=nil) then +local Character=Player.Character +local Humanoid=Character:FindFirstChild("Humanoid") +if (Humanoid~=nil) then +Humanoid.Died:connect(function() delay(RespawnTime,function() Player:LoadCharacter() LoadCharacterNew(newWaitForChild(Player,"Appearance"),Player.Character,Player.Backpack) end) end) +end +end +end) +end) +game.Players.PlayerAdded:connect(onJoined) +game:GetService("NetworkServer"):Start() +game:GetService("RunService"):Run() +game.Lighting.GlobalShadows = true +game.Players.PlayerAdded:connect(function(plr) +Player.Changed:connect(function(Property) +if (Property=="Character") and (Player.Character~=nil) then +local Character=Player.Character +local Humanoid=Character:FindFirstChild("Humanoid") +if (Humanoid~=nil) then +Humanoid.Died:connect(function() delay(RespawnTime,function() Player:LoadCharacter() LoadCharacterNew(newWaitForChild(Player,"Appearance"),Player.Character,Player.Backpack) end) end) +end +end +end) +end) +game.Players.PlayerAdded:connect(onJoined) + \ No newline at end of file diff --git a/gamepage.html b/gamepage.html new file mode 100644 index 0000000..0843bdd --- /dev/null +++ b/gamepage.html @@ -0,0 +1,78 @@ + + + + morblox.us - MORBLOX HQ + + + + + + + + + + + + + + + + +
+
+ Friends + Avatar + Transactions +
+
+ + +
+
+
+ +
+
+

OnlyTwentyCharacters's Place

+

By OnlyTwentyCharacters

+ +
+
+ +

This is a description for the place "OnlyTwentyCharacters's Place", made by "OnlyTwentyCharacters".

+ +
+

Visits: 0 | Created: 21/6/2022 | Last updated: 22/6/2022

+
+
+ + + \ No newline at end of file diff --git a/gameplaceholder.png b/gameplaceholder.png new file mode 100644 index 0000000..3e04d1e Binary files /dev/null and b/gameplaceholder.png differ diff --git a/games.html b/games.html index 2d23200..996c543 100644 --- a/games.html +++ b/games.html @@ -4,10 +4,11 @@ morblox.us - Games - - + + + @@ -16,33 +17,47 @@ - -
-
- Profile - Avatar - Settings + + -
- -
-

Games Page

- +
+
+ Friends + Avatar + Transactions +
+
+ +
+

Games

+
+ +
+
+ \ No newline at end of file diff --git a/home.html b/home.html index a328570..350fca3 100644 --- a/home.html +++ b/home.html @@ -4,48 +4,180 @@ morblox.us - Home - - + + + - + - -
-
- Profile - Avatar - Settings + -
- -
-

Hello, OnlyTwentyCharacters!

-
- +
- +
+ +
+ +
+

Hello, !

+ +
+
+

My Feed

+
    + + +
      +
      +
      +
      + Profile Image +
      +
      + game hater +

      "NOOOOOOOOOOOOOOOOOOOOOO"

      +

      June 22, 2022 12:41 AM

      +
      +
      +
      +
      + Profile Image +
      +
      + Thomas +

      "banning you...."

      +

      June 22, 2022 12:40 AM

      +
      +
      +
      +
      + Profile Image +
      +
      + game hater +

      "i hate games... so its bad!"

      +

      June 22, 2022 12:30 AM

      +
      +
      +
      +
      + Profile Image +
      +
      + Thomas +

      "Who likes the Games Page?"

      +

      June 22, 2022 12:05 AM

      +
      +
      +
      +
      + Profile Image +
      +
      + skeuomorphism hater +

      "noooooo"

      +

      June 21, 2022 04:42 AM

      +
      +
      +
      +
      + Profile Image +
      +
      + Thomas +

      "grrr im banning you"

      +

      June 21, 2022 04:29 AM

      +
      +
      +
      +
      + Profile Image +
      +
      + skeuomorphism hater +

      "i dont"

      +

      June 21, 2022 04:28 AM

      +
      +
      +
      +
      + Profile Image +
      +
      + Thomas +

      "Who likes my epic new CSS buttons? They're way more interesting than the default buttons."

      +

      June 21, 2022 04:27 AM

      +
      +
      +
      +
      + Profile Image +
      +
      + the night guard from five nights at freddy +

      "OH LAWD ITS 3 AM! FREDDY FAZBER IS AT MY DOOR PLEASE HELP!!!!"

      +

      June 21, 2022 03:19 AM

      +
      +
      +
      +
      + Profile Image +
      +
      + Thomas +

      "Why am I staying up so late making this."

      +

      June 21, 2022 12:30 AM

      +
      +
      +
      +
      +
      +

      Friends (0)

      +
        +
        +

        You don't have any friends yet!

        +
        +
          +

          Recently Played

          +
            +
            +

            You haven't played any games yet!

            +
            +
              +
              +
              + +
              + \ No newline at end of file diff --git a/home.js b/home.js new file mode 100644 index 0000000..5d30eff --- /dev/null +++ b/home.js @@ -0,0 +1,104 @@ +window.addEventListener('resize', function() { + var logo_full = document.getElementById("logo_full") + var logo_small = document.getElementById("logo_small") + var smallbtn = document.getElementById("smallbtn1") + var smallbtn0 = document.getElementById("smallbtn0") + var smallbtn2 = document.getElementById("smallbtn2") + var smallbtn3 = document.getElementById("smallbtn3") + var smallbtn1 = document.getElementById("smallbtn4") + var smallbtn5 = document.getElementById("smallbtn5") + var viewport_width = window.innerWidth; + if (viewport_width < 1000) { + logo_full.className = "invisible"; + logo_small.className = ""; + } else { + logo_small.className = "invisible"; + logo_full.className = ""; + } + if (viewport_width < 860) { + smallbtn.className = "invisible"; + smallbtn2.className = "invisible"; + smallbtn3.className = "invisible"; + } else { + smallbtn.className = "navbarbutton"; + smallbtn2.className = "navbarbutton"; + smallbtn3.className = "navbarbutton"; + } + if (viewport_width < 660) { + smallbtn0.className = "invisible"; + smallbtn1.className = "invisible"; + } else { + smallbtn0.className = "navbarbutton"; + smallbtn1.className = "navbarbutton"; + } + if (viewport_width < 510) { + smallbtn5.className = "invisible"; + } else { + smallbtn5.className = "navbarbutton"; + } +}); +window.onload = function() { + var username = localStorage.getItem("username"); + var usernamecontainer = document.getElementById("usernameframe") + if (username == null) { + usernamecontainer.innerHTML = `Not signed in.` + } else if (username == "") { + usernamecontainer.innerHTML = `Not signed in.` + } else { + usernamecontainer.innerHTML = `Hello, ${username}!` + } + var logo_full = document.getElementById("logo_full") + var logo_small = document.getElementById("logo_small") + var smallbtn = document.getElementById("smallbtn1") + var smallbtn0 = document.getElementById("smallbtn0") + var smallbtn2 = document.getElementById("smallbtn2") + var smallbtn3 = document.getElementById("smallbtn3") + var smallbtn1 = document.getElementById("smallbtn4") + var smallbtn5 = document.getElementById("smallbtn5") + var viewport_width = window.innerWidth; + if (viewport_width < 1000) { + logo_full.className = "invisible"; + logo_small.className = ""; + } else { + logo_small.className = "invisible"; + logo_full.className = ""; + } + if (viewport_width < 860) { + smallbtn.className = "invisible"; + smallbtn2.className = "invisible"; + smallbtn3.className = "invisible"; + } else { + smallbtn.className = "navbarbutton"; + smallbtn2.className = "navbarbutton"; + smallbtn3.className = "navbarbutton"; + } + if (viewport_width < 660) { + smallbtn0.className = "invisible"; + smallbtn1.className = "invisible"; + } else { + smallbtn0.className = "navbarbutton"; + smallbtn1.className = "navbarbutton"; + } + if (viewport_width < 510) { + smallbtn5.className = "invisible"; + } else { + smallbtn5.className = "navbarbutton"; + } + var username = localStorage.getItem("username"); + var navbarsignedincontainer = document.getElementById("navbarsignedincontainer"); + var navbarusername = document.getElementById("navbarusername"); + var navbarlogincontainer = document.getElementById("navbarlogincontainer"); + if (username == null) { + username = "" + navbarsignedincontainer.className = "invisible" + navbarlogincontainer.className = "" + } else if (username == "") { + username = "" + navbarsignedincontainer.className = "invisible" + navbarlogincontainer.className = "" + } else { + navbarsignedincontainer.className = "" + navbarlogincontainer.className = "invisible" + } + navbarusername.innerHTML = `Logged in as: ${username} Log out...`; +}; \ No newline at end of file diff --git a/index.html b/index.html index cbebd97..50f3a2f 100644 --- a/index.html +++ b/index.html @@ -1,49 +1,63 @@ - Free Games at morblox.us - + morblox.us - It's MORBLOX time. + - - + + + - + + - -
              - -
              - -
              -

              WELCOME TO MORBLOX!!!

              -

              MORBLOX is a new revival of ROBLOX.

              + +
              + MORBLOX Logo +

              It's MORBLOX time.

              - + + - \ No newline at end of file + \ No newline at end of file diff --git a/index.js b/index.js new file mode 100644 index 0000000..12df254 --- /dev/null +++ b/index.js @@ -0,0 +1,21 @@ +window.onload = function() { + var morblox = document.getElementById("morblox") + var usernamecontainer = document.getElementById("UsernameContainer"); + if (window.location.hostname == "morblox.us") { + morblox.className = "invisible"; + } else { + morblox.className = ""; + } + if (localStorage.getItem("username") == null) { + localStorage.setItem("username",""); + } + var username = localStorage.getItem("username"); + usernamecontainer.innerHTML = "Saved Username: " + username + document.getElementById('SaveButton').onclick = function() { + var usernameset = document.getElementById("UsernameSet").value; + var usernamecontainer = document.getElementById("UsernameContainer"); + localStorage.setItem("username",usernameset); + usernamecontainer.innerHTML = "Saved Username: " + usernameset + alert("Please click on the \"Home\" link or the \"Profile\" link in order to test Username features") + }; +}; \ No newline at end of file diff --git a/login.html b/login.html index 4615473..c9b8383 100644 --- a/login.html +++ b/login.html @@ -1,48 +1,42 @@ - morblox.us - Login - + morblox.us - Log In + - - + + + - + - -
              - -
              - -
              -

              nothing

              +
                +
                  +
                  + MORBLOX Logo +

                  It's MORBLOX time.

                  - + + \ No newline at end of file diff --git a/login.js b/login.js new file mode 100644 index 0000000..aa0de57 --- /dev/null +++ b/login.js @@ -0,0 +1,3 @@ +window.onload = function() { + +}; \ No newline at end of file diff --git a/logout.html b/logout.html new file mode 100644 index 0000000..3c3cb02 --- /dev/null +++ b/logout.html @@ -0,0 +1,39 @@ + + + + morblox.us - Log Out + + + + + + + + + + + + + + + +
                    +
                    + MORBLOX Logo +

                    It's MORBLOX time.

                    +
                    +
                      +
                      + +
                      +

                      Are you sure you want to log out?

                      +
                      + + +
                      +
                      +
                      + + \ No newline at end of file diff --git a/logout.js b/logout.js new file mode 100644 index 0000000..ca5a1cb --- /dev/null +++ b/logout.js @@ -0,0 +1,43 @@ + +window.onload = function() { + var btnyes = document.getElementById("yes") + var btnno = document.getElementById("no") + var ask = document.getElementById("ask") + var status = document.getElementById("status") + var logouttext = document.getElementById("loggingout") + var logo = document.getElementById("logo_signup") + var username = localStorage.getItem("username"); + status.className = "invisible" + ask.className = "" + if (username == "") { + logo.innerHTML = "\"MORBLOX

                      It's MORBLOX time.

                      " + } else if (username == null) { + logo.innerHTML = "\"MORBLOX

                      It's MORBLOX time.

                      " + } else { + logo.innerHTML = "\"MORBLOX

                      It's MORBLOX time.

                      " + } + btnyes.onclick = function() { + status.className = "" + ask.className = "invisible" + console.log("Clearing data...") + localStorage.setItem("username","") + console.log("Cleared data!") + logo.innerHTML = "\"MORBLOX

                      It's MORBLOX time.

                      " + logouttext.innerHTML = "Logged out successfully! Now, click this to go back to the main page." + } + btnno.onclick = function() { + var username = localStorage.getItem("username"); + status.className = "" + ask.className = "invisible" + if (username == "") { + logouttext.innerHTML = "Canceled logout. Click here to go back." + logo.innerHTML = "\"MORBLOX

                      It's MORBLOX time.

                      " + } else if (username == null) { + logouttext.innerHTML = "Canceled logout. Click here to go back." + logo.innerHTML = "\"MORBLOX

                      It's MORBLOX time.

                      " + } else { + logouttext.innerHTML = "Canceled logout. Click here to go back." + logo.innerHTML = "\"MORBLOX

                      It's MORBLOX time.

                      " + } + } +}; \ No newline at end of file diff --git a/main.css b/main.css index ee3cbcf..4e72d1c 100644 --- a/main.css +++ b/main.css @@ -1,8 +1,35 @@ +@keyframes animatedbackground { + from {background-position-x: 0px; animation-timing-function: linear;} + to {background-position-x: 2000px; animation-timing-function: linear;} +} +#LoadingGame { + top: 0%; + bottom: 0px; + left: 0px; + right: 0px; + margin: auto; + position: fixed; + padding-top: 10px; + padding-bottom: 10px; + padding-right: 10px; + padding-left: 10px; + border-radius: 3px; + border: 1px solid #3D414A; + width: max-content; + height: max-content; + text-align: center; + background: linear-gradient(rgba(209, 209, 209,0.7) 10%, rgba(88, 88, 88,0.7) 100%); +} +#closebuttondl {height: 15%;width: 15%;font-size: large;margin-left: 80%;} #alert { height: fit-content; margin: 0px; - padding-top: 1px; - padding-bottom: 1px; + position: fixed; + top: 72px; + padding-top: 2px; + padding-bottom: 2px; + padding-right: 5px; + padding-left: 5px; width: 100%; text-align: center; background: linear-gradient(#f07575 10%, #e13b3b 49%, #d22 50%, #de2323 100%); @@ -10,22 +37,135 @@ .navbar { height: 40px; margin: 0px; + padding-right: 5px; padding-left: 5px; padding-top: 2px; + position: fixed; + top: 0px; padding-bottom: 2px; color: white; line-height: normal; display: inline-flex; vertical-align: middle; width: 100%; - text-align: left; background: linear-gradient(#759CF0 10%, #3B72E1 49%, #2260DD 50%, #2362DE 100%); } -.navbarbuttoncontainer, .smallnavbarbuttoncontainer { +.navbarbuttoncontainer, .smallnavbarbuttoncontainer, .navbarlogincontainer { padding-left: 5px; display: table-cell; vertical-align: middle; } +#navbarlogincontainer, #navbarsignedincontainer { + position: relative; + padding-right: 10px; + margin-right: 3%; + margin-left: auto; + float: inline-end; + top: 11px; +} +#profilefriendscontainer p, #profilefriendscontainer a { + display: inline; +} +#profiletopcontainer { + margin-bottom: 30px; + display: block; + width: 100%; +} +.onlinestatus_website { + color: #2260DD; +} +.onlinestatus_ingame { + color: green; +} +.onlinestatus_offline { + color: black; +} +#yes, #no { + width: 50%; +} +#FeedBox { + width: 100%; + height: 22px; +} +#FeedButton { + width: 100%; + height: 22px; +} +#logo_signup, #logo-signup p { + margin: auto; + text-align: center; + width: 200px; +} +#feed, #profileleftcontainer { + text-align: center; + padding-left: 5px; + padding-right: 5px; + width: 50%; +} +.leftgamecontainer { + text-align: center; + padding-left: 5px; + padding-right: 5px; + width: inherit; +} +.rightgamecontainer { + text-align: right; + padding-left: 5px; + padding-right: 5px; +} +#gamethumbnail_large { + background-color: black; + background-position-x: center; + background-position-y: center; + background-image: url("gameplaceholder.png"); + background-size: contain; + border-width: 0px; + width: 100%; + background-repeat: no-repeat; + height: 100%; +} +.gamethumbnail_small { + background-color: black; + background-position-x: center; + background-position-y: center; + background-image: url("gameplaceholder.png"); + background-size: contain; + border-width: 0px; + width: 100%; + background-repeat: no-repeat; + height: 130px; +} +#gamesframe, #profilerightcontainer { + text-align: center; + padding-left: 5px; + padding-right: 5px; + width: 50%; +} +.FeedContainerBox { + border-radius: 1px; + text-align: left; + width: 100%; + vertical-align: top; + display: inline-flex; + border: 1px solid #000000; + border-width: 1px; +} +#btncontainer { + margin-left: 75%; +} +#loadingdlbutton { + margin-top: auto; + padding-top: 10px; + padding-bottom: 10px; + height: max-content; + font-size: x-large; +} +#downloadask { + margin-top: 10%; +} +#loadlogo { + width: 20%; +} .navbarbutton { position: relative; top: 10px; @@ -41,10 +181,13 @@ height: 25px; margin: 0px; padding-left: 5px; + padding-right: 5px; + position: fixed; + top: 43px; + padding-top: 2px; + padding-bottom: 2px; display: inline-table; - padding-top: 3px; vertical-align: middle; - padding-bottom: 3px; width: 100%; line-height: normal; color: rgb(255, 255, 255); @@ -52,41 +195,168 @@ text-align: left; background-color: black; } -.invisible { +.invisible, #invisible { display: none !important; } html { + margin: 0px; font-family: "Helvetica"; src: url('Helvetica.ttf') format('truetype'),; font-style: normal; - background-color: #4b4b4b; + background-color: #316bdf; color: white; + animation-name: animatedbackground; + animation-duration: 50s; + animation-iteration-count: infinite; + background-image: url(animated.png); + background-position: center 100%; + background-repeat: repeat-x; + background-attachment: fixed; } body { - margin-left: 10px; - margin-right: 10px; + margin-left: 0px; + margin-right: 0px; margin-top: 0px; + margin-bottom: 35px; + padding-bottom: 0px; +} +.content_special, #content_special { + display: inline-flex; + width: 100%; + flex-wrap: nowrap; + flex-direction: row; + align-content: center; + align-items: stretch; + justify-content: center; } .content { color: black; - min-height: 1000px; + max-width: 880px; + margin: auto; + margin-top: 105px; padding-left: 5px; padding-right: 5px; - margin-left: 1px; - margin-right: 0px; - margin-top: 0px; - background-color: white; + min-height: 300px; + background-color: rgba(255, 255, 255, 0.8); + padding-bottom: 5px; + padding-top: 5px; } -footer { +.content_signup { + color: black; + max-width: 500px; + margin: auto; + margin-top: 30px; + padding-left: 5px; + padding-right: 5px; + background-color: rgba(255, 255, 255, 0.8); + padding-bottom: 5px; + padding-top: 5px; +} +.content_signup input, .content_signup button { + width: 90%; +} +.content p a, .content a, .content_signup p a, .content_signup a, .content_special p a, .content_special a { + color: black +} +#footer { text-align: center; - background-color: rgb(179, 179, 179); - min-height: 400px; + max-width: 880px; + margin: auto; + padding-left: 5px; + padding-right: 5px; + padding-bottom: 5px; + padding-top: 5px; + background-color: rgba(172, 172, 172, 0.8); + min-height: fit-content; } -p,h1 { +button { + font-weight: 400; + text-align: center; + border-radius: 3px; + border: 1px solid #3D414A; + font-family: "Helvetica"; + color: #fff; +} +button.bluebutton { + background: linear-gradient(#759CF0 10%, #3B72E1 49%, #2260DD 50%, #2362DE 100%); +} +button:hover.bluebutton { + background: linear-gradient(#7ca1ef 10%, #4a7de4 49%, #396fdb 50%, #3168d6 100%); + cursor: pointer; +} +button:disabled.bluebutton { + background: linear-gradient(#759CF0 10%, #3B72E1 49%, #2260DD 50%, #2362DE 100%); + opacity: 0.5; + cursor: not-allowed; +} +button.greybutton { + background: linear-gradient(#cacbcc 10%, #99999a 49%, #747474 50%, #2d2d2d 100%); +} +button:hover.greybutton { + background: linear-gradient(#d1d8e6 10%, #b3b8c2 49%, #868a91 50%, #393b3e 100%); + cursor: pointer; +} +button:disabled.greybutton { + background: linear-gradient(#cacbcc 10%, #99999a 49%, #747474 50%, #2d2d2d 100%); + opacity: 0.5; + cursor: not-allowed; +} +button.redbutton { + background: linear-gradient(#e65a5a 10%, #e13535 49%, #d92c2c 50%, #df1818 100%); +} +button:hover.redbutton { + background: linear-gradient(#e56c6c 10%, #dd4e4e 49%, #d14343 50%, #da2e2e 100%); + cursor: pointer; +} +button:disabled.redbutton { + background: linear-gradient(#e65a5a 10%, #e13535 49%, #d92c2c 50%, #df1818 100%); + opacity: 0.5; + cursor: not-allowed; +} +button.greenbutton { + background: linear-gradient(#5acf77 10%, #3abc44 49%, #359c32 50%, #1a5c2e 100%); +} +button:hover.greenbutton { + background: linear-gradient(#75f094 10%, #39d746 49%, #21b71c 50%, #137a32 100%); + cursor: pointer; +} +button:disabled.greenbutton { + background: linear-gradient(#75f094 10%, #39d746 49%, #21b71c 50%, #137a32 100%); + opacity: 0.5; + cursor: not-allowed; +} +#footer_signup { + text-align: center; + max-width: 500px; + margin: auto; + padding-left: 5px; + padding-right: 5px; + padding-bottom: 5px; + padding-top: 5px; + background-color: rgba(172, 172, 172, 0.8); + min-height: fit-content; +} +#footer p, #footer a, #footer_signup p, #footer_signup a { + color: black; +} +p,h1,h2,h3,h4,h5,h6 { margin: 0px; } -a { +a, #navbarusername { color: white; text-decoration: none; font-weight: bolder; +} +.nonbolded { + font-weight: normal !important; +} +.logoutframe { + color: black; + max-width: fit-content; + margin: auto; + padding-left: 5px; + padding-right: 5px; + background-color: rgba(255, 255, 255, 0.3); + padding-bottom: 5px; + padding-top: 5px; } \ No newline at end of file diff --git a/main.js b/main.js index 1b82af0..fec6211 100644 --- a/main.js +++ b/main.js @@ -1,32 +1,95 @@ window.addEventListener('resize', function() { var logo_full = document.getElementById("logo_full") var logo_small = document.getElementById("logo_small") + var smallbtn = document.getElementById("smallbtn1") + var smallbtn0 = document.getElementById("smallbtn0") + var smallbtn2 = document.getElementById("smallbtn2") + var smallbtn3 = document.getElementById("smallbtn3") + var smallbtn1 = document.getElementById("smallbtn4") + var smallbtn5 = document.getElementById("smallbtn5") var viewport_width = window.innerWidth; - if (viewport_width < 700) { + if (viewport_width < 1000) { logo_full.className = "invisible"; logo_small.className = ""; } else { logo_small.className = "invisible"; logo_full.className = ""; } + if (viewport_width < 860) { + smallbtn.className = "invisible"; + smallbtn2.className = "invisible"; + smallbtn3.className = "invisible"; + } else { + smallbtn.className = "navbarbutton"; + smallbtn2.className = "navbarbutton"; + smallbtn3.className = "navbarbutton"; + } + if (viewport_width < 660) { + smallbtn0.className = "invisible"; + smallbtn1.className = "invisible"; + } else { + smallbtn0.className = "navbarbutton"; + smallbtn1.className = "navbarbutton"; + } + if (viewport_width < 510) { + smallbtn5.className = "invisible"; + } else { + smallbtn5.className = "navbarbutton"; + } }); window.onload = function() { - var alert = document.getElementById("alert") - var alerttext = document.getElementById("alerttext") - if (window.location.hostname == "") { - alerttext.innerHTML = "You are using this locally."; - alert.className = ""; - } else if (window.location.hostname == "thomasluigi07.github.io") { - alerttext.innerHTML = "You are using this on the github pages site."; - alert.className = ""; - } else if (window.location.hostname == "MORBLOX.com") { - alerttext.innerHTML = "You are using MORBLOX.com"; - alert.className = ""; - } else if (window.location.hostname == "morblox.us") { - alerttext.innerHTML = "You are using morblox.us"; - alert.className = ""; + var logo_full = document.getElementById("logo_full") + var logo_small = document.getElementById("logo_small") + var smallbtn = document.getElementById("smallbtn1") + var smallbtn0 = document.getElementById("smallbtn0") + var smallbtn2 = document.getElementById("smallbtn2") + var smallbtn3 = document.getElementById("smallbtn3") + var smallbtn1 = document.getElementById("smallbtn4") + var smallbtn5 = document.getElementById("smallbtn5") + var viewport_width = window.innerWidth; + if (viewport_width < 1000) { + logo_full.className = "invisible"; + logo_small.className = ""; } else { - alerttext.innerHTML = `You are using an unknown site (${window.location.hostname})`; - alert.className = ""; + logo_small.className = "invisible"; + logo_full.className = ""; } + if (viewport_width < 860) { + smallbtn.className = "invisible"; + smallbtn2.className = "invisible"; + smallbtn3.className = "invisible"; + } else { + smallbtn.className = "navbarbutton"; + smallbtn2.className = "navbarbutton"; + smallbtn3.className = "navbarbutton"; + } + if (viewport_width < 660) { + smallbtn0.className = "invisible"; + smallbtn1.className = "invisible"; + } else { + smallbtn0.className = "navbarbutton"; + smallbtn1.className = "navbarbutton"; + } + if (viewport_width < 510) { + smallbtn5.className = "invisible"; + } else { + smallbtn5.className = "navbarbutton"; + } + var username = localStorage.getItem("username"); + var navbarsignedincontainer = document.getElementById("navbarsignedincontainer"); + var navbarusername = document.getElementById("navbarusername"); + var navbarlogincontainer = document.getElementById("navbarlogincontainer"); + if (username == null) { + username = "" + navbarsignedincontainer.className = "invisible" + navbarlogincontainer.className = "" + } else if (username == "") { + username = "" + navbarsignedincontainer.className = "invisible" + navbarlogincontainer.className = "" + } else { + navbarsignedincontainer.className = "" + navbarlogincontainer.className = "invisible" + } + navbarusername.innerHTML = `Logged in as: ${username} Log out...`; }; \ No newline at end of file diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..e9ae3d4 --- /dev/null +++ b/manifest.json @@ -0,0 +1,7 @@ +{ + "name": "MORBLOX", + "lang": "en-US", + "start_url": "index.html", + "display": "standalone", + "version": "1.0.0" +} \ No newline at end of file diff --git a/placeholder.png b/placeholder.png new file mode 100644 index 0000000..fdf950d Binary files /dev/null and b/placeholder.png differ diff --git a/privacy.html b/privacy.html index 1426c2c..9e8c386 100644 --- a/privacy.html +++ b/privacy.html @@ -1,12 +1,13 @@ - Free Games at morblox.us - + morblox.us - Privacy Policy + - - + + + @@ -16,43 +17,53 @@ - -
                      + + +
                      + +

                      Privacy Policy

                      MORBLOX is committed to providing a silly ROBLOX revival and this policy outlines our ongoing obligations to you in respect of how we manage your Personal Information. We have adopted the Australian Privacy Principles (APPs) contained in the Privacy Act 1988 (Cth) (the Privacy Act). The NPPs govern the way in which we collect, use, disclose, store, secure and dispose of your Personal Information. A copy of the Australian Privacy Principles may be obtained from the website of The Office of the Australian Information Commissioner at www.aoic.gov.au

                      +

                      Req. Legal Disclaimer

                      +

                      MORBLOX is not associated, partnered or owned with Roblox Corp in any way.

                      +

                      How we store your passwords

                      +

                      As with every other site that uses passwords, we need a way to secure them, so no bad actors can read them. We use bcrypt to store your passwords securely.

                      What is Personal Information and why do we collect it?

                      -

                      Personal Information is information that identifies an individual. The Personal Information we collect include your username, age, email address(es) and gender. - We also store your Places, Decals, T-Shirts, Shirts, Pants, Audios, Friends and MORBUX until you delete it yourself, or we moderate it (see our Terms of Service). - This Personal Information is obtained from our website morblox.us. +

                      Personal Information is information that identifies an individual. The Personal Information we collect include your username, age and email address. + We also store your Places, Decals, T-Shirts, Shirts, Pants, Audios, Settings, Friends and MORBUX until you delete it yourself, or we moderate it (see our Terms of Service). + This Personal Information is obtained from our website morblox.us. We do not store your IP Address. We collect your Personal Information for the primary purpose of using the services. We may also use your Personal Information for secondary purposes closely related to the primary purpose, in circumstances where you would reasonably expect such use or disclosure. When we collect Personal Information, we will, where appropriate and where possible, explain to you why we are collecting the information and how we plan to use it.

                      What happens when your account gets terminated?

                      Within 3 months of being terminated, your account will be forever deleted. This includes all your stored data, and personal information. YOU CAN APPEAL YOUR TERMINATION.

                      What happens if your account is inactive for a long time?

                      -

                      After 1 year of inactivity, your account goes into a “disabled” state, where you can only change your Personal Information. You can either ask for it to be re-enabled or deleted. If it is inactive for another year after being disabled, it will be terminated, and then will lose all the stored data after the 3-month period of being terminated.

                      +

                      After 1 year of inactivity, your account goes into a "disabled" state, where you can only change your Personal Information. You can either ask for it to be re-enabled or deleted. If it is inactive for another year after being disabled, it will be terminated, and then will lose all the stored data after the 3-month period of being terminated.

                      Disclosure of Personal Information

                      Your Personal Information will only be disclosed when required by law and when you request for it. (See Access/Deletion of your Personal Information for more information.)

                      Security of Personal Information

                      @@ -64,9 +75,11 @@

                      This Policy can change from time to time and is available on our website. You will be notified of this change.

                      Privacy Policy Complaints and Enquiries

                      If you have any queries or complaints about our Privacy Policy, please contact us on our Discord.

                      +
                        -
                        -

                        Privacy Policy

                        -
                        + - \ No newline at end of file + diff --git a/privacy_signup.html b/privacy_signup.html new file mode 100644 index 0000000..e0b0f41 --- /dev/null +++ b/privacy_signup.html @@ -0,0 +1,62 @@ + + + + morblox.us - Privacy Policy + + + + + + + + + + + + + + + + +
                        + MORBLOX Logo +

                        It's MORBLOX time.

                        +
                        + + + + diff --git a/profile.html b/profile.html new file mode 100644 index 0000000..279b8af --- /dev/null +++ b/profile.html @@ -0,0 +1,86 @@ + + + + morblox.us - Profile + + + + + + + + + + + + + + + + + + +
                        +
                        +

                        OnlyTwentyCharacters

                        +

                        Website

                        +
                        +
                        +
                        +

                        "I'm new to MORBLOX!"

                        + profile image +

                        Hello!

                        +
                          +
                          +

                          Joined: 18/6/2022

                          +

                          (day/month/year)

                          +

                          Place Visits: 0

                          +
                          +
                            +

                            MORBLOX Badges

                            +

                            This user has not collected any MORBLOX badges yet!

                            +
                              +

                              Game Badges

                              +

                              This user has not collected any game badges yet!

                              +
                              +
                              +

                              Games

                              +

                              This user hasn't made any games yet!

                              +
                                +

                                Friends

                                +

                                This user hasn't made friends with anyone!

                                +
                                +
                                  +
                                  +
                                  + + + \ No newline at end of file diff --git a/profile.js b/profile.js new file mode 100644 index 0000000..741398f --- /dev/null +++ b/profile.js @@ -0,0 +1,111 @@ +window.addEventListener('resize', function() { + var logo_full = document.getElementById("logo_full") + var logo_small = document.getElementById("logo_small") + var smallbtn = document.getElementById("smallbtn1") + var smallbtn0 = document.getElementById("smallbtn0") + var smallbtn2 = document.getElementById("smallbtn2") + var smallbtn3 = document.getElementById("smallbtn3") + var smallbtn1 = document.getElementById("smallbtn4") + var smallbtn5 = document.getElementById("smallbtn5") + var viewport_width = window.innerWidth; + if (viewport_width < 1000) { + logo_full.className = "invisible"; + logo_small.className = ""; + } else { + logo_small.className = "invisible"; + logo_full.className = ""; + } + if (viewport_width < 860) { + smallbtn.className = "invisible"; + smallbtn2.className = "invisible"; + smallbtn3.className = "invisible"; + } else { + smallbtn.className = "navbarbutton"; + smallbtn2.className = "navbarbutton"; + smallbtn3.className = "navbarbutton"; + } + if (viewport_width < 660) { + smallbtn0.className = "invisible"; + smallbtn1.className = "invisible"; + } else { + smallbtn0.className = "navbarbutton"; + smallbtn1.className = "navbarbutton"; + } + if (viewport_width < 510) { + smallbtn5.className = "invisible"; + } else { + smallbtn5.className = "navbarbutton"; + } +}); +window.onload = function() { + var username = localStorage.getItem("username"); + var usernamecontainer = document.getElementById("usernameframe"); + var onlinestatus = document.getElementById("onlinestatus"); + if (username == null) { + usernamecontainer.innerHTML = 'OnlyTwentyCharacters' + onlinestatus.className = "onlinestatus_offline" + onlinestatus.innerHTML = "Offline" + } else if (username == "") { + usernamecontainer.innerHTML = 'OnlyTwentyCharacters' + onlinestatus.className = "onlinestatus_ingame" + onlinestatus.innerHTML = "In Game - OnlyTwentyCharacters's Place" + } else { + usernamecontainer.innerHTML = `${username}` + onlinestatus.className = "onlinestatus_website" + onlinestatus.innerHTML = "Website" + } + var logo_full = document.getElementById("logo_full") + var logo_small = document.getElementById("logo_small") + var smallbtn = document.getElementById("smallbtn1") + var smallbtn0 = document.getElementById("smallbtn0") + var smallbtn2 = document.getElementById("smallbtn2") + var smallbtn3 = document.getElementById("smallbtn3") + var smallbtn1 = document.getElementById("smallbtn4") + var smallbtn5 = document.getElementById("smallbtn5") + var viewport_width = window.innerWidth; + if (viewport_width < 1000) { + logo_full.className = "invisible"; + logo_small.className = ""; + } else { + logo_small.className = "invisible"; + logo_full.className = ""; + } + if (viewport_width < 860) { + smallbtn.className = "invisible"; + smallbtn2.className = "invisible"; + smallbtn3.className = "invisible"; + } else { + smallbtn.className = "navbarbutton"; + smallbtn2.className = "navbarbutton"; + smallbtn3.className = "navbarbutton"; + } + if (viewport_width < 660) { + smallbtn0.className = "invisible"; + smallbtn1.className = "invisible"; + } else { + smallbtn0.className = "navbarbutton"; + smallbtn1.className = "navbarbutton"; + } + if (viewport_width < 510) { + smallbtn5.className = "invisible"; + } else { + smallbtn5.className = "navbarbutton"; + } + var username = localStorage.getItem("username"); + var navbarsignedincontainer = document.getElementById("navbarsignedincontainer"); + var navbarusername = document.getElementById("navbarusername"); + var navbarlogincontainer = document.getElementById("navbarlogincontainer"); + if (username == null) { + username = "" + navbarsignedincontainer.className = "invisible" + navbarlogincontainer.className = "" + } else if (username == "") { + username = "" + navbarsignedincontainer.className = "invisible" + navbarlogincontainer.className = "" + } else { + navbarsignedincontainer.className = "" + navbarlogincontainer.className = "invisible" + } + navbarusername.innerHTML = `Logged in as: ${username} Log out...`; +}; \ No newline at end of file diff --git a/reviewpending.png b/reviewpending.png new file mode 100644 index 0000000..b78cf7a Binary files /dev/null and b/reviewpending.png differ diff --git a/settings.html b/settings.html new file mode 100644 index 0000000..9f5bb03 --- /dev/null +++ b/settings.html @@ -0,0 +1,85 @@ + + + + morblox.us - Settings + + + + + + + + + + + + + + + + + + +
                                  +

                                  Settings

                                  +
                                  +
                                  +

                                  Bio

                                  + + +
                                  +
                                  +

                                  Username: OnlyTwentyCharacters

                                  +

                                  E-Mail: t****@ex********.com

                                  +

                                  Date of Birth: 01/01/01

                                  +

                                  Password: ********

                                  +

                                  Date Display Preference: D/M/YY

                                  +

                                  Time Display Preference: 12 Hour

                                  +
                                  +
                                  +
                                  +

                                  Invite Keys

                                  +

                                  You can only create 1 invite every week.

                                  +

                                  You cannot invite until 29/6/22.

                                  +

                                  Invite History

                                  +

                                  9/10/21 - Invited a guy that got invited

                                  +

                                  16/10/21 - Invited a guy that got invited hater

                                  +

                                  22/6/22 - Invited OnlyTwentyMORBLOXers

                                  +
                                  +
                                  +

                                  DANGER ZONE

                                  +

                                  Thesse buttons can fully delete data. Use with caution!

                                  +

                                  +
                                  +
                                  + + + \ No newline at end of file diff --git a/signup.html b/signup.html index d7aeab8..92b5a9b 100644 --- a/signup.html +++ b/signup.html @@ -1,48 +1,61 @@ - morblox.us - Sign up - + morblox.us - Sign Up + - - + + + - + - -
                                  - -
                                  - -
                                  - +
                                    +
                                      +
                                      + MORBLOX Logo +

                                      It's MORBLOX time.

                                      - + + \ No newline at end of file diff --git a/signup.js b/signup.js new file mode 100644 index 0000000..d73caae --- /dev/null +++ b/signup.js @@ -0,0 +1,4 @@ + +window.onload = function() { + +}; \ No newline at end of file diff --git a/tos.html b/tos.html new file mode 100644 index 0000000..97d7367 --- /dev/null +++ b/tos.html @@ -0,0 +1,74 @@ + + + + morblox.us - Terms of Service + + + + + + + + + + + + + + + + + + +
                                      +

                                      Terms of Service

                                      +

                                      Welcome to MORBLOX! Before playing, you'll need to know the rules to make sure you know what you can and can't do here.

                                      +
                                        +

                                        Our Rules

                                        +
                                        At the end of every rule there is a "()" section containing what the punishment is for breaking that rule.
                                        +

                                        • Swearing is fine, but please do not say any racial or homophobic slurs. (Ban for few days, Termination)

                                        +

                                        • Do not upload NSFW/NSFL content to MORBLOX, or post links to that contents. (Termination)

                                        +

                                        • You must be over the age of 13 to play MORBLOX. (Termination)

                                        +

                                        • Don't mini-mod, or pretend to be a MORBLOX Developer or Administrator. (Warning, Ban for few days)

                                        +

                                        • Do not scam other users for their MORBUX. (Ban for few days, Termination)

                                        +

                                        • Do not harass other users. (Ban for few days, Termination)

                                        +

                                        • Do not make accounts for the purpose of breaking rules. (Termination)

                                        +

                                        • Exploiting is NOT allowed, unless you are testing it in your own game. (Termination)

                                        +

                                        • Do not ban evade. (Termination)

                                        +

                                        • Don't spam. (Warning, Ban for few days)

                                        +
                                          +

                                          Asset Moderation

                                          +

                                          If we believe that any of your assets is breaking the rules, we will remove or change that Asset as required, and then take action onto your MORBLOX account.

                                          +
                                            +
                                            + + + \ No newline at end of file diff --git a/tos_signup.html b/tos_signup.html new file mode 100644 index 0000000..28baeed --- /dev/null +++ b/tos_signup.html @@ -0,0 +1,51 @@ + + + + morblox.us - Terms of Service + + + + + + + + + + + + + + +
                                              +
                                                +
                                                + MORBLOX Logo +

                                                It's MORBLOX time.

                                                +
                                                + + + + \ No newline at end of file