diff --git a/public/resources/nebulamain.js b/public/resources/nebulamain.js index 38783a9..c1a5059 100644 --- a/public/resources/nebulamain.js +++ b/public/resources/nebulamain.js @@ -208,15 +208,15 @@ function log() { setTimeout( console.log.bind( console, - "%cWelcome To Nebula", - "background: #3F51B5;color:#FFF;padding:5px;border-radius: 5px;line-height: 26px; font-size:30px;" + "%cWelcome To Nebula!", + "background: #3F51B5;color:#FFF;padding:5px;border-radius: 5px;line-height: 26px; font-size:24px;" ) ); setTimeout( console.log.bind( console, - "%c If you are seeing this, Nebula's main script has succesfully loaded!", - "background: green;color:#FFF;padding:5px;border-radius: 5px;line-height: 26px; font-size:12px;" + "%cIf you are seeing this, Nebula's main script has succesfully loaded!", + "background: green;color:#FFF;padding:5px;border-radius: 5px;line-height: 26px; font-size:16px;" ) ); setTimeout( @@ -231,23 +231,26 @@ function log() { let browserName; let diagnosticDomain = window.location.href; if (userAgent.match(/chrome|chromium|crios/i)) { - browserName = "chrome"; + browserName = "Chrome"; } else if (userAgent.match(/firefox|fxios/i)) { - browserName = "firefox"; + browserName = "Firefox"; } else if (userAgent.match(/safari/i)) { - browserName = "safari"; + browserName = "Safari"; } else if (userAgent.match(/opr\//i)) { - browserName = "opera"; + browserName = "Opera"; } else if (userAgent.match(/edg/i)) { - browserName = "edge"; + browserName = "Edge"; } else { - browserName = "No browser detection"; + browserName = "Browser not detected!"; } - console.log.bind( - console, - `%cInformation: \n URL: ${diagnosticDomain} \n BrowserName: ${browserName} \n IsOnline: ${online} \n UA: ${userAgent}, `, - "background: gray;color:#FFF;padding:3px;border-radius: 0px; font-size:12px;" - ); + setTimeout( + console.log.bind( + console, + `%c Information: \n Online: ${online} \n URL: ${diagnosticDomain} \n Browser: ${browserName} \n UA: ${userAgent}`, + "background: gray;color:#FFF;padding:5px;line-height: 26px; font-size:14px;" + ) + ) + } log(); diff --git a/public/resources/options.js b/public/resources/options.js index 7c7715d..42a8a2d 100644 --- a/public/resources/options.js +++ b/public/resources/options.js @@ -8,9 +8,18 @@ function switchProxy() { localStorage.setItem("proxy", selectedOption); var storedChoice = localStorage.getItem("proxy"); - console.log(selectedOption); } +function setDefaultsIfUndefined() { + if (localStorage.ADVcloak == undefined) localStorage.setItem("ADVcloak", "off") + if (localStorage.nogg == undefined) localStorage.setItem("nogg", "off") + if (localStorage.ABtitle == undefined) localStorage.setItem("ABtitle", "") + if (localStorage.ABfaviconURL == undefined) localStorage.setItem("ABfaviconURL", "") + if (localStorage.theme == undefined) localStorage.setItem("theme", "dark") + if (localStorage.proxy == undefined) localStorage.setItem("proxy", "uv") +} +setDefaultsIfUndefined(); + function resetViews() { changeCSS("--background-primary", "#191724", true); changeCSS("--navbar-color", "#26233a", true); @@ -27,7 +36,6 @@ function resetViews() { return "All views reset"; } function saveIc() { - console.log("Checked"); var notification = `
@@ -66,8 +74,9 @@ function toggleNoGG() { localStorage.setItem("nogg", "on"); } } -var option2 = localStorage.getItem("ADVcloak"); +var option2 = localStorage.ADVcloak; function toggleClickoff() { + if (option2 == undefined) return console.error("ADVcloak key unset!") if (option2 === "on") { option2 = "off"; localStorage.setItem("ADVcloak", "off"); @@ -77,6 +86,10 @@ function toggleClickoff() { } } +function toggleSetting(localStorageKey, value) { + localStorage.setItem(localStorageKey, value); +} + window.onload = function () { if (localStorage.getItem("ABfaviconURL") === null) { } else if (localStorage.getItem("ABfaviconURL") == "") { diff --git a/public/style/privacy.css b/public/style/privacy.css new file mode 100644 index 0000000..f419b65 --- /dev/null +++ b/public/style/privacy.css @@ -0,0 +1,5 @@ +body { + color: white; + font-family: "Roboto"; + margin-left: 20px; +} \ No newline at end of file diff --git a/src/index.html b/src/index.html index 1b30922..b7270ed 100644 --- a/src/index.html +++ b/src/index.html @@ -1,25 +1,8 @@ - + Nebula - + @@ -49,10 +32,7 @@ - + @@ -97,7 +77,7 @@ diff --git a/src/options.html b/src/options.html index 1e50517..f785912 100644 --- a/src/options.html +++ b/src/options.html @@ -4,7 +4,7 @@ Nebula - + @@ -105,8 +105,8 @@

Proxy

Choose the proxy that fits your needs

- - @@ -118,8 +118,8 @@

Theme

Choose from our themes so your eyes don't hate us.

-
- diff --git a/src/privacy.html b/src/privacy.html index e1a5d7a..3784a42 100644 --- a/src/privacy.html +++ b/src/privacy.html @@ -1,16 +1,14 @@ - - - - - - + Nebula Privacy Policy + + - + + @@ -19,7 +17,7 @@ Your privacy is important to us. It is Nebula Services' policy to respect your privacy and comply with any applicable law and regulation regarding any personal information we may collect about you, including - across our website, https://nebula.bio, + across our website, https://nebulaproxy.io, and other sites we own and operate.

@@ -59,7 +57,7 @@

  • When you mention us on social media
  • -

    Children’s Privacy

    +

    Children's Privacy

    We do not aim any of our products or services directly at children under the age of 13, and we do not knowingly collect personal information about