From b9398fdfc26dc314bcebdbe52d0543742ca64f5c Mon Sep 17 00:00:00 2001
From: Green! <81369743+GreenyDEV@users.noreply.github.com>
Date: Tue, 7 Jun 2022 02:59:41 -0400
Subject: [PATCH] v7 and add copyright notice
---
app.json | 12 +-
ecosystem.config.js | 10 +-
package-lock.json | 329 +++++++++++------------
package.json | 42 +--
static/index.html | 8 +-
static/mobile/index.html | 6 +-
static/mobile/resources/deviceHandler.js | 1 -
static/mobile/resources/form.js | 5 +-
static/mobile/style/main.css | 5 +
static/mobile/style/master.css | 5 +
static/mobile/style/options.css | 5 +
static/mobile/sw.js | 3 +
static/options/index.html | 2 +
static/resources/deviceHandler.js | 5 +-
static/resources/form.js | 84 +++---
static/resources/options.js | 41 ++-
static/style/main.css | 5 +
static/style/master.css | 6 +-
static/style/options.css | 108 ++++----
static/sw.js | 5 +
20 files changed, 369 insertions(+), 318 deletions(-)
delete mode 100644 static/mobile/resources/deviceHandler.js
diff --git a/app.json b/app.json
index cf0ee2a..9f2e82a 100644
--- a/app.json
+++ b/app.json
@@ -1,7 +1,7 @@
{
- "name": "Nebula",
- "description": "Nebula is one of the biggest web proxies to date, with supports several hundred sites, it's stunning and clean with constant updates. We also feature our NoGG technique which prevents legalized spyware from accessing or viewing your private online history. Right now, we use the UltraViolet by TitaniumNetwork, but this coming June, we impliment our very first complete proxy: AERO",
- "repository": "https://github.com/NebulaServices/Nebula",
- "logo": "https://avatars.githubusercontent.com/u/86420004?v=4",
- "keywords": ["educational", "science", "math"]
-}
+ "name": "NebulaWEB",
+ "description": "Explore the web. Freely. ",
+ "repository": "https://github.com/NebulaServices/Nebula",
+ "logo": "https://avatars.githubusercontent.com/u/86420004?v=4",
+ "keywords": ["educational", "science", "math"]
+}
\ No newline at end of file
diff --git a/ecosystem.config.js b/ecosystem.config.js
index dcf5250..8e9f61c 100644
--- a/ecosystem.config.js
+++ b/ecosystem.config.js
@@ -1,6 +1,6 @@
module.exports = {
- apps : [{
- name : "Site",
- script : "proxysocks node app.js"
- }]
-}
+ apps: [{
+ name: "Site",
+ script: "proxysocks node app.js"
+ }]
+}
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index fba519a..1aee379 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,170 +1,169 @@
{
- "name": "Nebula ",
- "version": "5.1.5",
- "lockfileVersion": 2,
- "requires": true,
- "packages": {
- "": {
- "name": "Nebula ",
- "version": "5.1.5",
- "license": "ISC",
- "dependencies": {
- "bare-server-node": "github:tomphttp/bare-server-node",
- "node-static": "^0.7.11"
- }
- },
- "node_modules/bare-server-node": {
- "version": "0.0.1",
- "resolved": "git+ssh://git@github.com/tomphttp/bare-server-node.git#ebf421fd2a350c076e5aeea1fc8814da4f458853",
- "integrity": "sha512-1DZbjrvAw9rCudA4mx3soP9ck1bR4brLw/QwTT0ZIYZy78ySXRDBlTZst4RRPniYr/gjLcZoYh6TU2nNhtm+CQ==",
- "license": "GPL-3.0",
- "dependencies": {
- "commander": "^9.0.0",
- "fetch-headers": "^3.0.1"
- }
- },
- "node_modules/colors": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz",
- "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==",
- "engines": {
- "node": ">=0.1.90"
- }
- },
- "node_modules/commander": {
- "version": "9.1.0",
- "resolved": "https://registry.npmjs.org/commander/-/commander-9.1.0.tgz",
- "integrity": "sha512-i0/MaqBtdbnJ4XQs4Pmyb+oFQl+q0lsAmokVUH92SlSw4fkeAcG3bVon+Qt7hmtF+u3Het6o4VgrcY3qAoEB6w==",
- "engines": {
- "node": "^12.20.0 || >=14"
- }
- },
- "node_modules/fetch-headers": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/fetch-headers/-/fetch-headers-3.0.1.tgz",
- "integrity": "sha512-Kq+NyED/wLgT29St7aW47gAWg8EmmE5QmhwQ5RmPRULYLqpglA7Kc/ZnbqXu2vhH6mw1koikew2g94WiHLPmpA==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/jimmywarting"
+ "name": "nebulaweb",
+ "version": "7.0.4",
+ "lockfileVersion": 2,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "nebulaweb",
+ "version": "7.0.4",
+ "license": "Copyright Nebula Services. All Rights Reserved.",
+ "dependencies": {
+ "bare-server-node": "github:tomphttp/bare-server-node",
+ "node-static": "^0.7.11"
+ }
},
- {
- "type": "github",
- "url": "https://paypal.me/jimmywarting"
+ "node_modules/bare-server-node": {
+ "version": "0.0.1",
+ "resolved": "git+ssh://git@github.com/tomphttp/bare-server-node.git#ebf421fd2a350c076e5aeea1fc8814da4f458853",
+ "integrity": "sha512-1DZbjrvAw9rCudA4mx3soP9ck1bR4brLw/QwTT0ZIYZy78ySXRDBlTZst4RRPniYr/gjLcZoYh6TU2nNhtm+CQ==",
+ "license": "GPL-3.0",
+ "dependencies": {
+ "commander": "^9.0.0",
+ "fetch-headers": "^3.0.1"
+ }
+ },
+ "node_modules/colors": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz",
+ "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==",
+ "engines": {
+ "node": ">=0.1.90"
+ }
+ },
+ "node_modules/commander": {
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-9.1.0.tgz",
+ "integrity": "sha512-i0/MaqBtdbnJ4XQs4Pmyb+oFQl+q0lsAmokVUH92SlSw4fkeAcG3bVon+Qt7hmtF+u3Het6o4VgrcY3qAoEB6w==",
+ "engines": {
+ "node": "^12.20.0 || >=14"
+ }
+ },
+ "node_modules/fetch-headers": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/fetch-headers/-/fetch-headers-3.0.1.tgz",
+ "integrity": "sha512-Kq+NyED/wLgT29St7aW47gAWg8EmmE5QmhwQ5RmPRULYLqpglA7Kc/ZnbqXu2vhH6mw1koikew2g94WiHLPmpA==",
+ "funding": [{
+ "type": "github",
+ "url": "https://github.com/sponsors/jimmywarting"
+ },
+ {
+ "type": "github",
+ "url": "https://paypal.me/jimmywarting"
+ }
+ ],
+ "engines": {
+ "node": ">=12.20"
+ }
+ },
+ "node_modules/mime": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
+ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
+ "bin": {
+ "mime": "cli.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/minimist": {
+ "version": "0.0.10",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz",
+ "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8="
+ },
+ "node_modules/node-static": {
+ "version": "0.7.11",
+ "resolved": "https://registry.npmjs.org/node-static/-/node-static-0.7.11.tgz",
+ "integrity": "sha512-zfWC/gICcqb74D9ndyvxZWaI1jzcoHmf4UTHWQchBNuNMxdBLJMDiUgZ1tjGLEIe/BMhj2DxKD8HOuc2062pDQ==",
+ "dependencies": {
+ "colors": ">=0.6.0",
+ "mime": "^1.2.9",
+ "optimist": ">=0.3.4"
+ },
+ "bin": {
+ "static": "bin/cli.js"
+ },
+ "engines": {
+ "node": ">= 0.4.1"
+ }
+ },
+ "node_modules/optimist": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
+ "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",
+ "dependencies": {
+ "minimist": "~0.0.1",
+ "wordwrap": "~0.0.2"
+ }
+ },
+ "node_modules/wordwrap": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
+ "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=",
+ "engines": {
+ "node": ">=0.4.0"
+ }
}
- ],
- "engines": {
- "node": ">=12.20"
- }
},
- "node_modules/mime": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
- "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
- "bin": {
- "mime": "cli.js"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/minimist": {
- "version": "0.0.10",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz",
- "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8="
- },
- "node_modules/node-static": {
- "version": "0.7.11",
- "resolved": "https://registry.npmjs.org/node-static/-/node-static-0.7.11.tgz",
- "integrity": "sha512-zfWC/gICcqb74D9ndyvxZWaI1jzcoHmf4UTHWQchBNuNMxdBLJMDiUgZ1tjGLEIe/BMhj2DxKD8HOuc2062pDQ==",
- "dependencies": {
- "colors": ">=0.6.0",
- "mime": "^1.2.9",
- "optimist": ">=0.3.4"
- },
- "bin": {
- "static": "bin/cli.js"
- },
- "engines": {
- "node": ">= 0.4.1"
- }
- },
- "node_modules/optimist": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
- "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",
- "dependencies": {
- "minimist": "~0.0.1",
- "wordwrap": "~0.0.2"
- }
- },
- "node_modules/wordwrap": {
- "version": "0.0.3",
- "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
- "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=",
- "engines": {
- "node": ">=0.4.0"
- }
+ "dependencies": {
+ "bare-server-node": {
+ "version": "git+ssh://git@github.com/tomphttp/bare-server-node.git#ebf421fd2a350c076e5aeea1fc8814da4f458853",
+ "integrity": "sha512-1DZbjrvAw9rCudA4mx3soP9ck1bR4brLw/QwTT0ZIYZy78ySXRDBlTZst4RRPniYr/gjLcZoYh6TU2nNhtm+CQ==",
+ "from": "bare-server-node@github:tomphttp/bare-server-node",
+ "requires": {
+ "commander": "^9.0.0",
+ "fetch-headers": "^3.0.1"
+ }
+ },
+ "colors": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz",
+ "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA=="
+ },
+ "commander": {
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-9.1.0.tgz",
+ "integrity": "sha512-i0/MaqBtdbnJ4XQs4Pmyb+oFQl+q0lsAmokVUH92SlSw4fkeAcG3bVon+Qt7hmtF+u3Het6o4VgrcY3qAoEB6w=="
+ },
+ "fetch-headers": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/fetch-headers/-/fetch-headers-3.0.1.tgz",
+ "integrity": "sha512-Kq+NyED/wLgT29St7aW47gAWg8EmmE5QmhwQ5RmPRULYLqpglA7Kc/ZnbqXu2vhH6mw1koikew2g94WiHLPmpA=="
+ },
+ "mime": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
+ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="
+ },
+ "minimist": {
+ "version": "0.0.10",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz",
+ "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8="
+ },
+ "node-static": {
+ "version": "0.7.11",
+ "resolved": "https://registry.npmjs.org/node-static/-/node-static-0.7.11.tgz",
+ "integrity": "sha512-zfWC/gICcqb74D9ndyvxZWaI1jzcoHmf4UTHWQchBNuNMxdBLJMDiUgZ1tjGLEIe/BMhj2DxKD8HOuc2062pDQ==",
+ "requires": {
+ "colors": ">=0.6.0",
+ "mime": "^1.2.9",
+ "optimist": ">=0.3.4"
+ }
+ },
+ "optimist": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
+ "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",
+ "requires": {
+ "minimist": "~0.0.1",
+ "wordwrap": "~0.0.2"
+ }
+ },
+ "wordwrap": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
+ "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc="
+ }
}
- },
- "dependencies": {
- "bare-server-node": {
- "version": "git+ssh://git@github.com/tomphttp/bare-server-node.git#ebf421fd2a350c076e5aeea1fc8814da4f458853",
- "integrity": "sha512-1DZbjrvAw9rCudA4mx3soP9ck1bR4brLw/QwTT0ZIYZy78ySXRDBlTZst4RRPniYr/gjLcZoYh6TU2nNhtm+CQ==",
- "from": "bare-server-node@github:tomphttp/bare-server-node",
- "requires": {
- "commander": "^9.0.0",
- "fetch-headers": "^3.0.1"
- }
- },
- "colors": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz",
- "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA=="
- },
- "commander": {
- "version": "9.1.0",
- "resolved": "https://registry.npmjs.org/commander/-/commander-9.1.0.tgz",
- "integrity": "sha512-i0/MaqBtdbnJ4XQs4Pmyb+oFQl+q0lsAmokVUH92SlSw4fkeAcG3bVon+Qt7hmtF+u3Het6o4VgrcY3qAoEB6w=="
- },
- "fetch-headers": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/fetch-headers/-/fetch-headers-3.0.1.tgz",
- "integrity": "sha512-Kq+NyED/wLgT29St7aW47gAWg8EmmE5QmhwQ5RmPRULYLqpglA7Kc/ZnbqXu2vhH6mw1koikew2g94WiHLPmpA=="
- },
- "mime": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
- "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="
- },
- "minimist": {
- "version": "0.0.10",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz",
- "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8="
- },
- "node-static": {
- "version": "0.7.11",
- "resolved": "https://registry.npmjs.org/node-static/-/node-static-0.7.11.tgz",
- "integrity": "sha512-zfWC/gICcqb74D9ndyvxZWaI1jzcoHmf4UTHWQchBNuNMxdBLJMDiUgZ1tjGLEIe/BMhj2DxKD8HOuc2062pDQ==",
- "requires": {
- "colors": ">=0.6.0",
- "mime": "^1.2.9",
- "optimist": ">=0.3.4"
- }
- },
- "optimist": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
- "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",
- "requires": {
- "minimist": "~0.0.1",
- "wordwrap": "~0.0.2"
- }
- },
- "wordwrap": {
- "version": "0.0.3",
- "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
- "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc="
- }
- }
-}
+}
\ No newline at end of file
diff --git a/package.json b/package.json
index 954c8bb..5188bab 100644
--- a/package.json
+++ b/package.json
@@ -1,22 +1,22 @@
{
- "name": "Nebula ",
- "version": "5.1.5",
- "description": "Nebula is one of the biggest web proxies to date, with supports several hundred sites, it's stunning and clean with constant updates. We also feature our NoGG technique which prevents legalized spyware from accessing or viewing your private online history. Right now, we use the UltraViolet by TitaniumNetwork, but this coming June, we impliment our very first complete proxy: AERO",
- "type": "module",
- "main": "appe.js",
- "scripts": {
- "test": "test",
- "start": "proxysocks node index.js"
- },
- "keywords": [
- "educational",
- "math",
- "science"
- ],
- "author": "Nebula Services",
- "license": "ISC",
- "dependencies": {
- "bare-server-node": "github:tomphttp/bare-server-node",
- "node-static": "^0.7.11"
- }
-}
+ "name": "nebulaweb",
+ "version": "7.0.4",
+ "description": "Explore the web. Freely. ",
+ "type": "module",
+ "main": "app.js",
+ "scripts": {
+ "test": "test",
+ "start": "proxysocks node index.js"
+ },
+ "keywords": [
+ "educational",
+ "math",
+ "science"
+ ],
+ "author": "Nebula Services",
+ "license": "Copyright Nebula Services. All Rights Reserved.",
+ "dependencies": {
+ "bare-server-node": "github:tomphttp/bare-server-node",
+ "node-static": "^0.7.11"
+ }
+}
\ No newline at end of file
diff --git a/static/index.html b/static/index.html
index 8c792ed..1ebab2b 100644
--- a/static/index.html
+++ b/static/index.html
@@ -1,3 +1,5 @@
+
+
@@ -23,7 +25,7 @@
nebula
-
+
+
@@ -23,9 +25,9 @@
nebula
-
+
mobile
-
+
diff --git a/static/mobile/resources/deviceHandler.js b/static/mobile/resources/deviceHandler.js
deleted file mode 100644
index 0d0ec91..0000000
--- a/static/mobile/resources/deviceHandler.js
+++ /dev/null
@@ -1 +0,0 @@
-(function(a,b){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4)))window.location=b})(navigator.userAgent||navigator.vendor||window.opera,'/mobile');
\ No newline at end of file
diff --git a/static/mobile/resources/form.js b/static/mobile/resources/form.js
index 8069c4e..062be7a 100644
--- a/static/mobile/resources/form.js
+++ b/static/mobile/resources/form.js
@@ -1,3 +1,6 @@
+// Copyright Nebula Services 2021 - Present
+// All Rights Reserved
+
var option = localStorage.getItem('nogg');
var nogg = document.getElementById('nogg');
@@ -31,7 +34,7 @@ window.addEventListener('load', () => {
if (typeof navigator.serviceWorker === 'undefined')
alert('Your browser does not support service workers or you are in private browsing!');
- console.log("Your Browser does not support ServiceWorkers and responded Undefined.")
+ console.log("Your Browser does not support ServiceWorkers and responded Undefined.")
navigator.serviceWorker.register('./sw.js', {
scope: __uv$config.prefix
diff --git a/static/mobile/style/main.css b/static/mobile/style/main.css
index 4cb7e13..28bce30 100644
--- a/static/mobile/style/main.css
+++ b/static/mobile/style/main.css
@@ -1,3 +1,8 @@
+/*
+Copyright Nebula Services 2021 - Present
+All Rights Reserved
+*/
+
:root {
--background-primary: #191724;
--navbar-color: #26233a;
diff --git a/static/mobile/style/master.css b/static/mobile/style/master.css
index 8aef670..a69d22e 100644
--- a/static/mobile/style/master.css
+++ b/static/mobile/style/master.css
@@ -1,3 +1,8 @@
+/*
+Copyright Nebula Services 2021 - Present
+All Rights Reserved
+*/
+
@import url("https://fonts.googleapis.com/css2?family=Dongle&family=Roboto:wght@100&display=swap");
:root {
--background-primary: #191724;
diff --git a/static/mobile/style/options.css b/static/mobile/style/options.css
index 3ee17d2..bf19442 100644
--- a/static/mobile/style/options.css
+++ b/static/mobile/style/options.css
@@ -1,3 +1,8 @@
+/*
+Copyright Nebula Services 2021 - Present
+All Rights Reserved
+*/
+
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@300&display=swap");
:root {
--background-primary: #191724;
diff --git a/static/mobile/sw.js b/static/mobile/sw.js
index 89ac6a7..16e277e 100644
--- a/static/mobile/sw.js
+++ b/static/mobile/sw.js
@@ -1,3 +1,6 @@
+// Copyright Nebula Services 2021 - Present
+// All Rights Reserved
+
importScripts('./uv/uv.sw.js');
const sw = new UVServiceWorker();
diff --git a/static/options/index.html b/static/options/index.html
index 918f6f3..c7948a6 100644
--- a/static/options/index.html
+++ b/static/options/index.html
@@ -1,3 +1,5 @@
+
+
diff --git a/static/resources/deviceHandler.js b/static/resources/deviceHandler.js
index 0d0ec91..2fcd5d9 100644
--- a/static/resources/deviceHandler.js
+++ b/static/resources/deviceHandler.js
@@ -1 +1,4 @@
-(function(a,b){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4)))window.location=b})(navigator.userAgent||navigator.vendor||window.opera,'/mobile');
\ No newline at end of file
+// Copyright Nebula Services 2021 - Present
+// All Rights Reserved
+
+(function(a, b) { if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0, 4))) window.location = b })(navigator.userAgent || navigator.vendor || window.opera, '/mobile');
\ No newline at end of file
diff --git a/static/resources/form.js b/static/resources/form.js
index 5b84a09..1fd4a37 100644
--- a/static/resources/form.js
+++ b/static/resources/form.js
@@ -1,10 +1,13 @@
+// Copyright Nebula Services 2021 - Present
+// All Rights Reserved
+
var option = localStorage.getItem('nogg');
window.addEventListener('load', () => {
-
-
+
+
function isUrl(val = '') {
if (/^http(s?):\/\//.test(val) || val.includes('.') && val.substr(0, 1) !== ' ') return true;
return false;
@@ -31,47 +34,48 @@ window.addEventListener('load', () => {
if (!(url.startsWith('https://') || url.startsWith('http://'))) url = 'http://' + url;
const redirectTo = __uv$config.prefix + __uv$config.encodeUrl(url);
const option = localStorage.getItem('nogg');
- if (option === 'on') {
+ if (option === 'on') {
stealthEngine(redirectTo);
- } else location.href = redirectTo;
+ } else location.href = redirectTo;
});
});
-// NoGG Engine
-function stealthEngine(encodedURL){
- // The URL must be encoded ^
- let inFrame
-
- try {
- inFrame = window !== top
- } catch (e) {
- inFrame = true
- }
-
- if (!inFrame && !navigator.userAgent.includes("Firefox")) {
- const popup = open("about:blank", "_blank")
- if (!popup || popup.closed) {
- alert("Popups are disabled!")
- } else {
- const doc = popup.document
- const iframe = doc.createElement("iframe")
- const style = iframe.style
- const img = doc.createElement("link")
- const link = location.href
- img.rel = "icon"
- img.href = "https://ssl.gstatic.com/images/branding/product/1x/drive_2020q4_32dp.png"
- doc.title = "Google Drive"
-
- var currentLink = link.slice(0, link.length - 1);
+ // NoGG Engine
+ function stealthEngine(encodedURL) {
+ // The URL must be encoded ^
+ let inFrame
- iframe.src = currentLink + encodedURL
+ try {
+ inFrame = window !== top
+ } catch (e) {
+ inFrame = true
+ }
- style.position = "fixed"
- style.top = style.bottom = style.left = style.right = 0
- style.border = style.outline = "none"
- style.width = style.height = "100%"
-
- doc.body.appendChild(iframe)
- }
- }
-}});
\ No newline at end of file
+ if (!inFrame && !navigator.userAgent.includes("Firefox")) {
+ const popup = open("about:blank", "_blank")
+ if (!popup || popup.closed) {
+ alert("Popups are disabled!")
+ } else {
+ const doc = popup.document
+ const iframe = doc.createElement("iframe")
+ const style = iframe.style
+ const img = doc.createElement("link")
+ const link = location.href
+ img.rel = "icon"
+ img.href = "https://ssl.gstatic.com/images/branding/product/1x/drive_2020q4_32dp.png"
+ doc.title = "Google Drive"
+
+ var currentLink = link.slice(0, link.length - 1);
+
+ iframe.src = currentLink + encodedURL
+
+ style.position = "fixed"
+ style.top = style.bottom = style.left = style.right = 0
+ style.border = style.outline = "none"
+ style.width = style.height = "100%"
+
+ doc.body.appendChild(iframe)
+ }
+ }
+ }
+});
\ No newline at end of file
diff --git a/static/resources/options.js b/static/resources/options.js
index aca457f..2f76113 100644
--- a/static/resources/options.js
+++ b/static/resources/options.js
@@ -1,13 +1,16 @@
+// Copyright Nebula Services 2021 - Present
+// All Rights Reserved
// Set the option
var option = localStorage.getItem('nogg')
+
function toggleNoGG() {
if (option === 'on') {
-
+
option = 'off';
localStorage.setItem('nogg', 'off');
} else {
-
+
option = 'on';
localStorage.setItem('nogg', 'on');
}
@@ -16,37 +19,33 @@ console.log(localStorage.getItem('nogg'))
// Notification Banner
- function saveIc() {
- console.log("Checked")
- var notification = `
+function saveIc() {
+ console.log("Checked")
+ var notification = `
Success: Your settings have been saved!
`;
- document.getElementById('navbar').innerHTML = notification
- setTimeout(() => {
+ document.getElementById('navbar').innerHTML = notification
+ setTimeout(() => {
var NotificationOBJ = document.getElementById('notif')
-
- }, 2000);
- };
-
+
+ }, 2000);
+};
+
// Update the CheckBox to match the settings
window.onload = function() {
console.log("Current Settings: ")
console.log("NoGG = ", localStorage.getItem('nogg'))
-
+
if (localStorage.getItem('nogg') == 'on') {
setTimeout(() => {
- var item = document.getElementById("undefined");
- document.getElementById("undefined").checked = true;}, 600);
-
- }};
-
-
-
-
-
+ var item = document.getElementById("undefined");
+ document.getElementById("undefined").checked = true;
+ }, 600);
+ }
+};
\ No newline at end of file
diff --git a/static/style/main.css b/static/style/main.css
index 4cb7e13..28bce30 100644
--- a/static/style/main.css
+++ b/static/style/main.css
@@ -1,3 +1,8 @@
+/*
+Copyright Nebula Services 2021 - Present
+All Rights Reserved
+*/
+
:root {
--background-primary: #191724;
--navbar-color: #26233a;
diff --git a/static/style/master.css b/static/style/master.css
index 2e0b3dc..c890f02 100644
--- a/static/style/master.css
+++ b/static/style/master.css
@@ -1,3 +1,8 @@
+/*
+Copyright Nebula Services 2021 - Present
+All Rights Reserved
+*/
+
@import url("https://fonts.googleapis.com/css2?family=Dongle&family=Roboto:wght@100&display=swap");
:root {
--background-primary: #191724;
@@ -27,7 +32,6 @@ body {
padding: 0;
height: 100%;
cursor: url("../images/cur.gif"), url("../images/cursor.cur"), default;
-
}
body {
diff --git a/static/style/options.css b/static/style/options.css
index f04ddd0..0e07059 100644
--- a/static/style/options.css
+++ b/static/style/options.css
@@ -1,3 +1,8 @@
+/*
+Copyright Nebula Services 2021 - Present
+All Rights Reserved
+*/
+
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@300&display=swap");
:root {
--background-primary: #191724;
@@ -20,6 +25,8 @@
user-select: none;
overflow: hidden;
}
+
+
/*
body {
background-color: var(--background-primary);
@@ -115,10 +122,10 @@ li {
.setting-input {
display: none;
- }
- @import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300&display=swap');
+}
- .toogle-button {
+@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300&display=swap');
+.toogle-button {
font-weight: bold;
font-size: 10PX;
display: inline-block;
@@ -128,10 +135,9 @@ li {
border-radius: 30px;
position: relative;
cursor: pointer;
+}
- }
-
- .toogle-button::after {
+.toogle-button::after {
content: 'Off';
width: 40px;
height: 40px;
@@ -149,13 +155,13 @@ li {
transition: all .5s;
transform: 1s ease-in;
font-family: 'Mulish', sans-serif;
- }
-
- .setting-input:checked + .toogle-button::after {
+}
+
+.setting-input:checked+.toogle-button::after {
content: 'On';
background-color: #53b357;
transform: translateX(35px) rotate(360deg);
- }
+}
ul li {
float: left;
@@ -193,75 +199,74 @@ ul li {
opacity: 1;
}
}
-@import url('https://fonts.googleapis.com/css?family=Roboto:400,500&display=swap');
+@import url('https://fonts.googleapis.com/css?family=Roboto:400,500&display=swap');
.notification-container {
- position: fixed;
- top: 15px;
- right: 15px;
- width: 500px;
- max-width: calc(100% - 30px);
- font-family: 'Roboto', sans-serif;
+ position: fixed;
+ top: 15px;
+ right: 15px;
+ width: 500px;
+ max-width: calc(100% - 30px);
+ font-family: 'Roboto', sans-serif;
}
.notification {
- background-color: #fff;
- border-radius: 5px;
- box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
- color: #fff;
- font-size: 16px;
- padding: 15px 20px;
- line-height: 20px;
- margin-bottom: 15px;
- animation: grow 0.5s ease-in forwards;
+ background-color: #fff;
+ border-radius: 5px;
+ box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
+ color: #fff;
+ font-size: 16px;
+ padding: 15px 20px;
+ line-height: 20px;
+ margin-bottom: 15px;
+ animation: grow 0.5s ease-in forwards;
}
@keyframes grow {
- from {
- opacity: 0;
- transform: scale(0.8);
- }
- to {
- opacity: 1;
- transform: scale(1);
- }
+ from {
+ opacity: 0;
+ transform: scale(0.8);
+ }
+ to {
+ opacity: 1;
+ transform: scale(1);
+ }
}
.notification.hide {
- animation: shrink 0.3s ease-out forwards;
+ animation: shrink 0.3s ease-out forwards;
}
@keyframes shrink {
- to {
- opacity: 0;
- transform: scale(0.8);
- }
+ to {
+ opacity: 0;
+ transform: scale(0.8);
+ }
}
.notification strong {
- font-size: 12px;
- line-height: 20px;
- letter-spacing: 0.5px;
- text-transform: uppercase;
+ font-size: 12px;
+ line-height: 20px;
+ letter-spacing: 0.5px;
+ text-transform: uppercase;
}
.notification-info {
- background-color: #00cae3;
+ background-color: #00cae3;
}
.notification-success {
- background-color: #55b559;
+ background-color: #55b559;
}
.notification-warning {
- background-color: #ff9e0f;
+ background-color: #ff9e0f;
}
.notification-danger {
- background-color: #f55145;
+ background-color: #f55145;
}
-
@keyframes fade-in {
0% {
opacity: 0;
@@ -276,12 +281,14 @@ ul li {
position: fixed;
bottom: 0;
}
+
.bk-btn {
height: 52px;
width: 52px;
background-color: black;
border-radius: 50%;
}
+
.bk-btn .bk-btn-triangle {
position: relative;
top: 13px;
@@ -292,6 +299,7 @@ ul li {
border-bottom: 13px solid transparent;
border-right: 13px solid white;
}
+
.bk-btn .bk-btn-bar {
position: relative;
background-color: white;
@@ -309,7 +317,6 @@ ul li {
border: 2px solid rgb(121 103 221);
border-radius: 9px;
margin-top: 20px;
-
}
.name {
@@ -317,7 +324,6 @@ ul li {
font-size: 2vmax;
margin: 0;
font-family: var(--setting-name-font);
-
}
.description {
@@ -325,4 +331,4 @@ ul li {
margin: 0;
font-size: 17px;
font-family: var(--setting-desc-font);
-}
+}
\ No newline at end of file
diff --git a/static/sw.js b/static/sw.js
index 89ac6a7..933cc17 100644
--- a/static/sw.js
+++ b/static/sw.js
@@ -1,3 +1,8 @@
+/*
+Copyright Nebula Services 2021 - Present
+All Rights Reserved
+*/
+
importScripts('./uv/uv.sw.js');
const sw = new UVServiceWorker();