diff --git a/app/build.gradle b/app/build.gradle index b63da675..bada4cc6 100755 --- a/app/build.gradle +++ b/app/build.gradle @@ -98,7 +98,7 @@ dependencies { implementation "org.mozilla.components:browser-engine-gecko:75.0.0" implementation "org.mozilla.components:browser-icons:91.0.6" - implementation "org.mozilla.geckoview:geckoview: 97.0.20220202182137" + implementation "org.mozilla.geckoview:geckoview: 90.0.20210705185941" implementation "org.mozilla.components:concept-fetch:91.0.6" implementation "org.mozilla.components:concept-base:91.0.6" implementation "org.mozilla.components:support-utils:91.0.6" diff --git a/app/src/main/assets/Homepage/homepage-dark.html b/app/src/main/assets/Homepage/homepage-dark.html index d3807a42..8de70f62 100644 --- a/app/src/main/assets/Homepage/homepage-dark.html +++ b/app/src/main/assets/Homepage/homepage-dark.html @@ -5,14 +5,14 @@ - - - + + + + - @@ -32,16 +32,32 @@
-

- Images - Proton Mail - Bitcoin Market +

+ Mobile App + + Proton mail + Images

+ + + + + + + -
+ Genesis Search - +
@@ -77,6 +93,56 @@

+ + + + + + \ No newline at end of file diff --git a/app/src/main/assets/Homepage/homepage.html b/app/src/main/assets/Homepage/homepage.html index 6e1c8f56..3f819b2a 100644 --- a/app/src/main/assets/Homepage/homepage.html +++ b/app/src/main/assets/Homepage/homepage.html @@ -8,13 +8,13 @@ - - + - + + @@ -22,7 +22,6 @@ - Genesis Search Engine | Dark Web Based Search Engine @@ -32,6 +31,8 @@ + +
@@ -58,10 +59,10 @@ - +
- +
@@ -71,9 +72,8 @@ -
-
+
@@ -116,6 +116,7 @@

Linkedin

Instagram

Youtube

+




diff --git a/app/src/main/assets/Homepage/style/cs-footer-dark.css b/app/src/main/assets/Homepage/style/cs-footer-dark.css new file mode 100644 index 00000000..c4049b7f --- /dev/null +++ b/app/src/main/assets/Homepage/style/cs-footer-dark.css @@ -0,0 +1,120 @@ +/*footer-bar style*/ +.footer { + margin-top: 40vh; +} + +.footer__footer-bar{ + background-color:#1f1e25; + border-style: solid; + border-top-width: 0; + border-right-width: 0; + border-left-width: 0; + border-color:#131216; + border-bottom-width: 0; + width:100%; + padding-top:17px; + padding-bottom:17px; +} + +.footer__footer-bar--border-bottom { + border-bottom-width: 1px; +} + +.footer__footer-bar--text-bottom{ + color:#767676; + font-size: 13px; + text-align:left; +} + +.footer__footer-bar__footer-bar-bottom{ + background-color:#1f1e25; + border-bottom: 1px solid #131216; + width:100%; + padding-top:17px; + padding-bottom:17px; +} + +.footer__footer-bar-social{ + margin-left: 40px; + color: white; + font-size: 17px; + cursor: pointer; +} + +.footer__footer-bar-social:hover{ + color: #264d73; +} + +.footer__footer-bar-social--left{ + margin-left: 30px; +} + +.footer__footer-bar__footer-bar-mid{ + background-color:#1f1e25; + border-bottom: 1px solid #131216; + width:100%; + padding-top:17px; + padding-bottom:17px; +} + +.footer__catagories--general{ + padding: 15px 15px 14px; +} + +.footer__catagories--general:hover{ + text-decoration: none; + border-bottom: 4px solid white; + animation-name: footer__catagories--border-animate; + color: white; +} + +.footer__catagories--general:focus { + color: white; + text-decoration: none; + border-bottom: 4px solid white; +} + +.footer__catagories{ + cursor: pointer; + color:white; + font-size: 14px; +} + +.footer__catagories{ + cursor: pointer; + color:white; + font-size: 14px; + font-weight: 500; + font-family: arial,sans-serif; +} + +/*footer-bar events*/ + +.footer__catagories:hover{ +} + +.footer__catagories--main:hover{ + color: white; + text-decoration: none; + border-bottom: 4px solid white; +} + +.footer__catagories--main:focus { + color: white; + text-decoration: none; + border-bottom: 4px solid white; +} + +.footer__catagories--main{ + color: white; + margin-left: 15px; + padding: 15px 13px 14px; + font-size: 14px; + font-family: Arial, Helvetica, sans-serif; +} + +@media only screen and (max-width: 943px) { + .footer { + display: none; + } +} diff --git a/app/src/main/assets/Homepage/style/cs-home-header-blade-dark.css b/app/src/main/assets/Homepage/style/cs-home-header-blade-dark.css new file mode 100644 index 00000000..edd0698e --- /dev/null +++ b/app/src/main/assets/Homepage/style/cs-home-header-blade-dark.css @@ -0,0 +1,65 @@ +.home-header{ + text-align: right; + padding-top: 10px; + background: #18171c; + height: 50px; + border-bottom: 1px solid #0c0b0e; + +} + +.home-header__catagory{ + margin-right: 22px; + cursor: pointer; + font-size: 14px; + padding: 13px 7px 12px; + margin-top: 41px; + border-bottom: 4px solid #18171c; + font-weight: 700; +} + +.home-header__catagory--highlight{ + color:#1967d2; + margin-right: 10px; +} + +.home-header__catagory--normal{ + color: #999999; +} + +.home-header__catagory:hover{ + text-decoration: none; + animation-duration: 2s; + animation-name: home-header__catagory-hover-animate; + border-bottom: 4px solid #ffffff; + transition: border-bottom-color 0.25s ease-in-out; +} + + +/* General Styles*/ +.home-header__vertical-line { + border-left: 2px solid #000000; + height: 120px; + margin-right: 15px; +} + +/* Mobile Devices */ +@media only screen and (max-width: 943px) { + .home-header__catagory--image{ + display: none; + } + .home-header{ + display: none; + } +} + +/* Animations */ +@keyframes home-header__catagory-hover-animate { + 10% { + background: #18171c; + color: #336699; + } + 100% { + background: #18171c; + color: #336699; + } +} \ No newline at end of file diff --git a/app/src/main/assets/homepage/style/cs-home-header-blade.css b/app/src/main/assets/Homepage/style/cs-home-header-blade.css similarity index 100% rename from app/src/main/assets/homepage/style/cs-home-header-blade.css rename to app/src/main/assets/Homepage/style/cs-home-header-blade.css diff --git a/app/src/main/assets/Homepage/style/cs-homepage.css b/app/src/main/assets/Homepage/style/cs-homepage.css index efa25b9a..a746f7f7 100644 --- a/app/src/main/assets/Homepage/style/cs-homepage.css +++ b/app/src/main/assets/Homepage/style/cs-homepage.css @@ -267,6 +267,7 @@ height: 4px; background: orange; margin: 0 43% 20px; + margin-bottom: 25px; } .home__reference_links{ margin-top: 0 !important; @@ -285,3 +286,382 @@ height:auto; } } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +/*Search*/ + +.body_fadein { + opacity: 1; + transition-duration: 0.5s; + transition-property: opacity; +} + + +.hi_background{ + background-color : #1c1b21 !important; +} + +.clear_selection{ + moz-user-select: none; + -webkit-user-select: none; + -ms-user-select:none; + user-select:none; + -o-user-select:none; +} + +#hi_search_container { + margin-top:15vh; + margin-bottom: -25px; +} + +@media only screen and (max-width: 943px) { + #hi_search_container { + margin-top:9vh; + } +} + +.hi_logo_text{ + max-width: 450px; + width: 90%; + height: auto; + display: block; + margin-top: -20px; + margin-left: auto; + margin-right: auto; + margin-bottom: 10px; +} + +@media only screen and (max-width: 943px) { + .hp_logo_text { + max-width: 380px; + } +} + +.hi_logo_image{ + max-width: 150px; + width: 30%; + height: auto; + display: block; + margin-left: auto; + margin-right: auto; + margin-bottom: 00px; +} + +@media only screen and (max-width: 943px) { + .hi_logo_image { + max-width: 100px; + } +} + +.hi_search__logo{ + text-align: center; + color: lightblue; + margin-bottom: -17px; + font-style: normal; + font-variant: normal; + line-height: 26px; + font-family: helvetica, monospace; + font-weight:bold; +} + +.hi_search__search-box{ + border-radius: 6px !important; + align-self: center; + height:42px !important; + outline: none; + color:#cccccc !important; + border-color: #3c3946 !important; + width:91% !important; + max-width: 575px; + display:block; + font:16px arial,sans-serif; + color: black; + padding-left:22px; + margin: 0 auto 5px; + background: #474554 !important; + + box-shadow: 0 1px 1px 0 #535062; + -webkit-transition: .0s; + -moz-transition: .0s; + -o-transition: .0s; + transition: .0s; +} + +.hi_reference{ + align-self: center; + height:auto; + padding: 10px; + padding-bottom: 0px; + border-radius: 6px; + outline: none; + + border: 1px solid #e6e6e6; + box-shadow: 0 3px 3px 0 #d9d9d9; + width:91% !important; + max-width: 575px; + display:block; + font:16px arial,sans-serif; + color: #79a6d2; + margin: 0 auto 0px; + margin-top: -15px; + margin-bottom: 35px; + + -webkit-transition: .0s; + -moz-transition: .0s; + -o-transition: .0s; + transition: .0s; +} + +@media only screen and (max-width: 943px) { + .hi_search__search-box { + margin-top: 30px; + } +} + +.hi_search__search-box:hover { + box-shadow: 0 4px 4px -1.5px #1c1b21; + -webkit-transition: .07s linear 0s; + -moz-transition: .07s linear 0s; + -o-transition: .07s linear 0s; + transition: .07s linear 0s +} + +.hi_search__search-box:focus{ + box-shadow: 0 4px 4px -1.5px #1c1b21 !important; + -webkit-transition: .07s linear 0s !important;; + -moz-transition: .07s linear 0s !important;; + -o-transition: .07s linear 0s !important;; + transition: .07s linear 0s !important; +} + +/*footer-bar style*/ +.hi_search__logo{ + margin:0 auto; + display:block; + width: 90%; + max-width: 400px; + +} + +.hi_search__language-text{ + font-size: 14px; + text-align:center; + margin-top: 25px; + padding-top: 3px +} + +@media only screen and (max-width: 943px) { + .hi_search__language-text { + margin-top: 0px; + } +} + +.hi_search__language-name{ + color:#7173f8; +} + +.hi_search__search-button{ + margin-top: 12px; + background-color:#f2f2f2; + height: 35px; + width:110%; + text-align:center; + max-width: 130px; + border-width: 0; + color:#6c6c6c; + font-size: 14px; +} + +@media only screen and (max-width: 943px) { + .hi_search__search-button { + width: 0; + height: 0; + visibility: hidden; + } +} + +.hi_search__button-container{ + display:block; + text-align: center; + width: 100% !important; +} + +.hi_search__search-button--left-spacing{ + margin-left: 0 +} + +/* Homepage Search Buttons */ +.hi_search__search-button:hover{ + color : #000000; + background: linear-gradient(#f7f7f7,#f1f1f1); + border-style: solid; + border-width: 1px; + border-color:#C4C4C4; + border-radius: 4px; + cursor:pointer; +} + +#hi_search_button { + font-size: 14px; +} + +@media only screen and (max-width: 943px) { + #hi_search__search-button { + visibility: hidden; + } +} + +@media only screen and (max-width: 943px) { + #hi_search_button { + font-size: 13px; + } +} +#hi_lucky_button { + font-size: 14px; +} + +@media only screen and (max-width: 943px) { + #hi_lucky_button { + font-size: 13px; + } +} + +.hi_reference_website{ + cursor: pointer; +} + +.hi_container_size +{ + min-height: 100% !important; +} + +@media only screen and (max-width: 943px) { + .hi_container_size { + } +} + + +.hi_loader { + border: 4px solid #f3f3f3; + border-radius: 50%; + border-top: 4px solid ; + width: 30px; + float: left; + margin-top: 0px; + height: 30px; + -webkit-animation: spin 2s linear infinite; /* Safari */ + animation: spin 2s linear infinite; +} + +.hi_loader_item{ + height:10px; + border-width:0; + color:gray; + background-color:#e6e6e6; +} + +.hi_reference_body{ + margin-left: 0px; + line-height: 18px; + margin-top: 15px; + color: #999999; + font-size: 14px; +} + +.hi_reference_header{ + margin-left: 50px; + padding-left: 10px; + border-left: 5px solid #fcfcfc !important; + font-weight: bold; + font-size: 16px; + margin-top: 10px; + color: #8cb3d9; + padding-top:3px; + padding-bottom: 3px; +} + +.hi_image_container{ + width: 40px; + height: 40px; + border-radius: 100px; + float: left; + margin-top: -6.5px; + background-image: radial-gradient(#f0f0f0, #e6e6e6); + background-color: #f0f0f0; + display: flex; +} + +.hi_reference_image{ + max-width: 22px; /* Or whatever */ + max-height: 22px; /* Or whatever */ + margin: auto; /* Magic! */ + border-radius: 4px; + + float:left; + font-size: 20px; + color: #bfbfbf; + font-weight: bold; +} + +line-style +/* Safari */ +@-webkit-keyframes spin { + 0% { -webkit-transform: rotate(0deg); } + 100% { -webkit-transform: rotate(360deg); } +} + +@keyframes spin { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } +} + +.show { + opacity: 1; + transition: opacity 500ms; +} + +.hide { + opacity: 0; + transition: opacity 350ms; +} \ No newline at end of file diff --git a/app/src/main/assets/Homepage/style/cs-sidebar-blade-dark.css b/app/src/main/assets/Homepage/style/cs-sidebar-blade-dark.css new file mode 100644 index 00000000..bc8357d3 --- /dev/null +++ b/app/src/main/assets/Homepage/style/cs-sidebar-blade-dark.css @@ -0,0 +1,247 @@ +/* General */ +.sidebar__menu{ + display: none; + background:#18171c; + width: 100%; + height: 50px; + padding-top: 0.2em; + border-bottom: 1px solid #0c0b0e; +} +.sidebar_sidebar-header{ + float: right; + padding-top: 9px; +} +.sidebar__catagory{ + margin-right: 10px; + cursor: pointer; + font-size: 0.90em; + padding: 15px 10px 10px; + border-bottom: 4px solid #18171c; +} +.sidebar__catagory:hover{ + text-decoration: none; + animation-name: sidebar__catagory_animate_hover; + animation-duration: 2s; + border-bottom: 4px solid #e6e6e6; + transition: border-bottom-color 0.25s ease-in-out; + -webkit-animation-fill-mode: forwards; +} +@keyframes sidebar__catagory_animate_hover { + 10% { + background: #18171c; + color: #336699; + } + 100% { + background: #0c0b0e; + color: #336699; + } +} +.sidebar__catagory--general{ + color: #999999; + margin-right: 4px !important; +} +.sidebar__vertical-line { + border-left: 1px solid #000000; + height: 25px; + margin-bottom: -8px; + margin-right: 5px; +} +.sidebar__catagory--highlight{ + color: #00689D; + margin-right: 10px !important; + margin-top: 100px !important; +} +.sidebar__menu-icon { + padding: 8px; + padding-top: 2px; + padding-bottom: 2px; + border-radius: 4px; + + z-index: 100; + color: black; + font-size: 22px; + cursor: pointer; + float: left; + display: none; + margin-left: 11px !important; +} + +.sidebar__menu-icon:hover{ + border-radius: 5px; + animation-name: sidebar__menu-icon-hover; + background: #0c0b0e; + animation-duration: 3s; +} +@keyframes sidebar__menu-icon-hover { + 3% { + background: #24222a; + } + 14% { + background: #0c0b0e; + } +} +.sidebar__navigation{ + width: 100%; + text-align: center; +} + +.sidebar__navigation a{ + display: block; + padding: 15px 0; + color: #FFFFFF; +} + +.sidebar__navigation li:last-child a{ + border-bottom: none; +} +.sidebar__list { + padding-right: 35%; + width: 100%; + height: 100%; + position: fixed; + left: -100%; + top: 0; + overflow-x: hidden; + background: none; + overflow-y: auto; + text-align:justify; + transition: all .25s ease-in-out; + -webkit-transition: all .25s ease-in-out; + -moz-transition: all .25s ease-in-out; + -ms-transition: all .25s ease-in-out; + -o-transition: all .25s ease-in-out; +} +.sidebar__close{ + position: absolute; + width: 38%; + height: 100%; + right: 0; + color: white; + top: 0; + cursor: auto; + background: none; + border: none; +} +.sidebar__menu-container{ + background: #24222a; + padding-right: 10px; + min-height: 100%; + padding-bottom: 20px; + max-width: 270px; + width: 100%; + box-shadow: 0 8px 8px 0 #44404f; + scrollbar-width: none; + height: 150px; + overflow-y: scroll; +} +.sidebar__button{ + width: 10px; + height: 10px; + position: relative; + top:-52px; + left:92%; +} +.sidebar__list-logo{ + max-width: 190px; + width: 100%; + cursor: pointer; + margin-bottom: 40px; + margin-top: 50px; + margin-left: 10px; + pointer-events: none; +} +.sidebar__list-icon{ + width: 30px; + margin-right: 5px; + margin-left: 20px; + text-align: left; +} +.sidebar__list-info{ + text-decoration: none !important; + background: #18171c; + padding-left: 5px; + padding-top: 10px; + padding-bottom: 15px; + text-align: left; + display: inline-block; + line-height: 4px; + margin: 2px auto auto; + font-weight: bold; + font-size: 13.5px; + width: 85%; + font-family: Roboto,Helvetica Neue,Arial,sans-serif; + border-radius: 7px; +} +.sidebar__list-info--color{ + color: #9fc0df !important; +} + +.sidebar__line-divider{ + background: #18171c; + border: 0; + display: block; + width:auto; + height: 2px; + margin-left: 45px; + margin-right: 50px; +} +.sidebar__list-icon--padding{ + padding-left: 3px; +} + +/* ID Triggers */ + +#sidebar__menu-toggle { + display: none; +} + +#sidebar__menu-toggle:checked ~ .sidebar__list { + position: fixed; + left: 0; +} + +#sidebar__menu-toggle-mobile:hover ~ .sidebar__list { + position: fixed; + left: 0; +} + +#sidebar__menu-toggle:checked ~ .mainarea { + position: fixed; + left: 100%; +} +#sidebar__menu-toggle:checked ~ .sidebar__menu-icon { + position: fixed; +} + +#sidebar__menu-toggle-mobile { + display: none; +} + + +#sidebar__menu-toggle-mobile:checked ~ .mainarea { + position: fixed; + left: 100%; +} +#sidebar__menu-toggle-mobile:checked ~ .sidebar__menu-icon { + position: fixed; +} +.sidebar__list{ + display: none; + z-index: 100; +} + +/* Mobile View */ +@media only screen and (max-width: 943px) { + .sidebar__menu-icon{ + display: block; + margin-top: -41px; + margin-bottom: 7vh; + margin-right: 5px; + } + .sidebar__list{ + display: block; + } + .sidebar__menu{ + display: block; + } +} diff --git a/app/src/main/assets/homepage/style/cs-sidebar-blade.css b/app/src/main/assets/Homepage/style/cs-sidebar-blade.css similarity index 92% rename from app/src/main/assets/homepage/style/cs-sidebar-blade.css rename to app/src/main/assets/Homepage/style/cs-sidebar-blade.css index eb5e7be7..e2e2d280 100644 --- a/app/src/main/assets/homepage/style/cs-sidebar-blade.css +++ b/app/src/main/assets/Homepage/style/cs-sidebar-blade.css @@ -52,7 +52,11 @@ margin-top: 100px !important; } .sidebar__menu-icon { - padding: 8px 8px; + padding: 8px; + padding-top: 2px; + padding-bottom: 2px; + border-radius: 4px; + z-index: 100; color: black; font-size: 22px; @@ -229,7 +233,7 @@ @media only screen and (max-width: 943px) { .sidebar__menu-icon{ display: block; - margin-top: -43px; + margin-top: -41px; margin-bottom: 7vh; margin-right: 5px; } diff --git a/app/src/main/java/com/darkweb/genesissearchengine/appManager/bookmarkManager/bookmarkHome/bookmarkAdapter.java b/app/src/main/java/com/darkweb/genesissearchengine/appManager/bookmarkManager/bookmarkHome/bookmarkAdapter.java index c9da3365..85fb2f51 100644 --- a/app/src/main/java/com/darkweb/genesissearchengine/appManager/bookmarkManager/bookmarkHome/bookmarkAdapter.java +++ b/app/src/main/java/com/darkweb/genesissearchengine/appManager/bookmarkManager/bookmarkHome/bookmarkAdapter.java @@ -456,7 +456,7 @@ public class bookmarkAdapter extends RecyclerView.Adapter event.invokeObserver(Arrays.asList(5,mSessionID), enums.etype.progress_update)); } if(!isPageLoading){ mCurrentTitle = "loading"; @@ -433,7 +434,7 @@ geckoSession extends GeckoSession implements GeckoSession.MediaDelegate,GeckoSes } public void onProgressStart(){ - if(!getCurrentURL().equals("about:blank") && !getCurrentURL().contains("genesishiddentechnologies.com") && !wasPreviousErrorPage() && !getCurrentURL().startsWith(CONST_GENESIS_URL_CACHED) && !getCurrentURL().startsWith(CONST_GENESIS_URL_CACHED_DARK) && !getCurrentURL().startsWith(CONST_GENESIS_HELP_URL_CACHE) && !getCurrentURL().startsWith(CONST_GENESIS_HELP_URL_CACHE_DARK)){ + if(!getCurrentURL().equals("about:blank") && !getCurrentURL().contains("trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion") && !wasPreviousErrorPage() && !getCurrentURL().startsWith(CONST_GENESIS_URL_CACHED) && !getCurrentURL().startsWith(CONST_GENESIS_URL_CACHED_DARK) && !getCurrentURL().startsWith(CONST_GENESIS_HELP_URL_CACHE) && !getCurrentURL().startsWith(CONST_GENESIS_HELP_URL_CACHE_DARK)){ mContext.get().runOnUiThread(() -> event.invokeObserver(Arrays.asList(5,mSessionID), enums.etype.progress_update)); } } @@ -497,7 +498,7 @@ geckoSession extends GeckoSession implements GeckoSession.MediaDelegate,GeckoSes }catch (Exception ignored){} if(wasBackPressed && mPastURLVerify){ - if(var2.equals("https://genesishiddentechnologies.com") || var2.startsWith(CONST_GENESIS_URL_CACHED) || var2.startsWith(CONST_GENESIS_URL_CACHED_DARK)){ + if(var2.equals("https://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion") || var2.startsWith(CONST_GENESIS_URL_CACHED) || var2.startsWith(CONST_GENESIS_URL_CACHED_DARK)){ if(var2.startsWith(CONST_GENESIS_URL_CACHED_DARK) && (status.sTheme == enums.Theme.THEME_LIGHT || helperMethod.isDayMode(mContext.get()))){ isPageLoading = false; event.invokeObserver(null, enums.etype.M_CHANGE_HOME_THEME); @@ -553,7 +554,7 @@ geckoSession extends GeckoSession implements GeckoSession.MediaDelegate,GeckoSes event.invokeObserver(Arrays.asList(mCurrentURL,mSessionID,mCurrentTitle, mTheme), enums.etype.M_NEW_IDENTITY_MESSAGED); return GeckoResult.fromValue(AllowOrDeny.DENY); } - if(!var1.uri.startsWith(CONST_GENESIS_URL_CACHED) && !var1.uri.startsWith(CONST_GENESIS_URL_CACHED_DARK) && var1.uri.startsWith("https://genesishiddentechnologies.com") && !var1.uri.contains(constants.CONST_GENESIS_LOCAL_TIME_GET_KEY) && !var1.uri.contains(constants.CONST_GENESIS_LOCAL_TIME_GET_KEY)){ + if(!var1.uri.startsWith(CONST_GENESIS_URL_CACHED) && !var1.uri.startsWith(CONST_GENESIS_URL_CACHED_DARK) && var1.uri.startsWith("https://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion") && !var1.uri.contains(constants.CONST_GENESIS_LOCAL_TIME_GET_KEY) && !var1.uri.contains(constants.CONST_GENESIS_LOCAL_TIME_GET_KEY)){ String mVerificationURL = setGenesisVerificationToken(var1.uri); initURL(mVerificationURL); loadUri(mVerificationURL); @@ -563,11 +564,11 @@ geckoSession extends GeckoSession implements GeckoSession.MediaDelegate,GeckoSes event.invokeObserver(Arrays.asList(var1.uri,mSessionID), enums.etype.M_ON_MAIL); return GeckoResult.fromValue(AllowOrDeny.ALLOW); } - else if(var1.uri.contains("genesishiddentechnologies.com/advert__")){ + else if(var1.uri.contains("trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion/advert__")){ event.invokeObserver(Arrays.asList(var1.uri,mSessionID), enums.etype.on_playstore_load); return GeckoResult.fromValue(AllowOrDeny.DENY); } - else if(var1.uri.equals(constants.CONST_GENESIS_DOMAIN_URL_SLASHED) || var1.uri.startsWith("https://genesishiddentechnologies.com/?")){ + else if(var1.uri.equals(constants.CONST_GENESIS_DOMAIN_URL_SLASHED) || var1.uri.startsWith("https://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion/?")){ initURL(constants.CONST_GENESIS_DOMAIN_URL); event.invokeObserver(Arrays.asList(mCurrentURL,mSessionID,mCurrentTitle, false), enums.etype.M_LOAD_HOMEPAGE_GENESIS); return GeckoResult.fromValue(AllowOrDeny.DENY); @@ -602,7 +603,7 @@ geckoSession extends GeckoSession implements GeckoSession.MediaDelegate,GeckoSes event.invokeObserver(Arrays.asList(mCurrentURL,mSessionID,mCurrentTitle, m_current_url_id, mTheme, this), enums.etype.ON_UPDATE_SEARCH_BAR); - if(!mCurrentURL.contains("genesishiddentechnologies.com")){ + if(!mCurrentURL.contains("trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion")){ mProgress = 5; onProgressStart(); } @@ -693,7 +694,7 @@ geckoSession extends GeckoSession implements GeckoSession.MediaDelegate,GeckoSes public void onFirstContentfulPaint(@NonNull GeckoSession var1) { isFirstPaintExecuted = true; - if(mPreviousErrorPage || mCurrentURL.contains("genesishiddentechnologies.com") || mCurrentURL.startsWith(CONST_GENESIS_URL_CACHED) || mCurrentURL.startsWith(CONST_GENESIS_URL_CACHED_DARK) || mCurrentURL.startsWith(CONST_GENESIS_HELP_URL_CACHE) || mCurrentURL.toString().startsWith(CONST_GENESIS_HELP_URL_CACHE_DARK)){ + if(mPreviousErrorPage || mCurrentURL.contains("trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion") || mCurrentURL.startsWith(CONST_GENESIS_URL_CACHED) || mCurrentURL.startsWith(CONST_GENESIS_URL_CACHED_DARK) || mCurrentURL.startsWith(CONST_GENESIS_HELP_URL_CACHE) || mCurrentURL.toString().startsWith(CONST_GENESIS_HELP_URL_CACHE_DARK)){ event.invokeObserver(Arrays.asList(mCurrentURL,mSessionID,mCurrentTitle, false), enums.etype.M_ON_BANNER_UPDATE); }else { event.invokeObserver(Arrays.asList(mCurrentURL,mSessionID,mCurrentTitle, true), enums.etype.M_ON_BANNER_UPDATE); diff --git a/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/hintManager/hintAdapter.java b/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/hintManager/hintAdapter.java index 262fb5c8..acebb611 100644 --- a/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/hintManager/hintAdapter.java +++ b/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/hintManager/hintAdapter.java @@ -189,7 +189,7 @@ public class hintAdapter extends RecyclerView.Adapter { dataController.getInstance().invokeTab(dataEnums.eTabCommands.M_UPDATE_PIXEL, Arrays.asList(mGeckoClient.getSession().getSessionID(), mRenderedBitmap, null, mGeckoView, false)); - if(status.sSettingDefaultSearchEngine.startsWith("https://genesishiddentechnologies.com") || !status.sOpenURLInNewTab || mGeckoClient.getSession().getCurrentURL().equals("about:blank") || mGeckoClient.getSession().getCurrentURL().contains("genesishiddentechnologies.com") || mGeckoClient.wasPreviousErrorPage() || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_URL_CACHED) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_URL_CACHED_DARK) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_HELP_URL_CACHE) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_HELP_URL_CACHE_DARK)){ + if(status.sSettingDefaultSearchEngine.startsWith("https://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion") || !status.sOpenURLInNewTab || mGeckoClient.getSession().getCurrentURL().equals("about:blank") || mGeckoClient.getSession().getCurrentURL().contains("trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion") || mGeckoClient.wasPreviousErrorPage() || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_URL_CACHED) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_URL_CACHED_DARK) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_HELP_URL_CACHE) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_HELP_URL_CACHE_DARK)){ mHomeViewController.updateBannerAdvertStatus(false, (boolean)pluginController.getInstance().onAdsInvoke(null, pluginEnums.eAdManager.M_IS_ADVERT_LOADED)); } @@ -1219,7 +1219,7 @@ public class homeController extends AppCompatActivity implements ComponentCallba mGeckoClient.resetSession(); mHomeViewController.onUpdateSearchBar(helperMethod.getDomainName(mHomeModel.getSearchEngine()), false, false,false); - if(status.sSettingDefaultSearchEngine.startsWith("https://genesishiddentechnologies.com")){ + if(status.sSettingDefaultSearchEngine.startsWith("https://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion")){ mHomeViewController.progressBarReset(); }else { mHomeViewController.onProgressBarUpdate(5, true); @@ -1235,7 +1235,7 @@ public class homeController extends AppCompatActivity implements ComponentCallba } public void onNewTabBackground(boolean isKeyboardOpenedTemp, boolean isKeyboardOpened){ - if(status.sSettingDefaultSearchEngine.startsWith("https://genesishiddentechnologies.com") || !status.sOpenURLInNewTab || mGeckoClient.getSession().getCurrentURL().equals("about:blank") || mGeckoClient.getSession().getCurrentURL().contains("genesishiddentechnologies.com") || mGeckoClient.wasPreviousErrorPage() || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_URL_CACHED) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_URL_CACHED_DARK) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_HELP_URL_CACHE) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_HELP_URL_CACHE_DARK)){ + if(status.sSettingDefaultSearchEngine.startsWith("https://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion") || !status.sOpenURLInNewTab || mGeckoClient.getSession().getCurrentURL().equals("about:blank") || mGeckoClient.getSession().getCurrentURL().contains("trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion") || mGeckoClient.wasPreviousErrorPage() || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_URL_CACHED) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_URL_CACHED_DARK) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_HELP_URL_CACHE) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_HELP_URL_CACHE_DARK)){ mHomeViewController.updateBannerAdvertStatus(false, (boolean)pluginController.getInstance().onAdsInvoke(null, pluginEnums.eAdManager.M_IS_ADVERT_LOADED)); } @@ -1243,7 +1243,7 @@ public class homeController extends AppCompatActivity implements ComponentCallba mGeckoClient.resetSession(); mHomeViewController.onUpdateSearchBar(helperMethod.getDomainName(mHomeModel.getSearchEngine()), false, false,false); - if(status.sSettingDefaultSearchEngine.startsWith("https://genesishiddentechnologies.com")){ + if(status.sSettingDefaultSearchEngine.startsWith("https://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion")){ mHomeViewController.progressBarReset(); }else { mHomeViewController.onProgressBarUpdate(5, true); @@ -1264,7 +1264,7 @@ public class homeController extends AppCompatActivity implements ComponentCallba handler.postDelayed(() -> { onGetThumbnail(null, false); mHomeViewController.expandTopBar(false,mGeckoView.getMaxY()); - if(status.sSettingDefaultSearchEngine.startsWith("https://genesishiddentechnologies.com") || !status.sOpenURLInNewTab || mGeckoClient.getSession().getCurrentURL().equals("about:blank") || mGeckoClient.getSession().getCurrentURL().contains("genesishiddentechnologies.com") || mGeckoClient.wasPreviousErrorPage() || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_URL_CACHED) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_URL_CACHED_DARK) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_HELP_URL_CACHE) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_HELP_URL_CACHE_DARK)){ + if(status.sSettingDefaultSearchEngine.startsWith("https://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion") || !status.sOpenURLInNewTab || mGeckoClient.getSession().getCurrentURL().equals("about:blank") || mGeckoClient.getSession().getCurrentURL().contains("trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion") || mGeckoClient.wasPreviousErrorPage() || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_URL_CACHED) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_URL_CACHED_DARK) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_HELP_URL_CACHE) || mGeckoClient.getSession().getCurrentURL().startsWith(CONST_GENESIS_HELP_URL_CACHE_DARK)){ mHomeViewController.updateBannerAdvertStatus(false, (boolean)pluginController.getInstance().onAdsInvoke(null, pluginEnums.eAdManager.M_IS_ADVERT_LOADED)); } mHomeViewController.onNewTabAnimation(Collections.singletonList(url), M_INITIALIZE_TAB_LINK); @@ -2456,7 +2456,7 @@ public class homeController extends AppCompatActivity implements ComponentCallba mHomeViewController.onNewTabAnimation(Collections.singletonList(mGeckoClient.getSession()), M_CLOSE_TAB_BACK); } else if(e_type.equals(enums.etype.M_ADMOB_BANNER_RECHECK)){ - if(data.get(2).toString().startsWith(CONST_GENESIS_URL_CACHED) || data.get(2).toString().startsWith(CONST_GENESIS_URL_CACHED_DARK) || helperMethod.getHost(data.get(2).toString()).contains("genesishiddentechnologies.com") || data.get(2).toString().startsWith(CONST_GENESIS_HELP_URL_CACHE) || data.get(2).toString().startsWith(CONST_GENESIS_HELP_URL_CACHE_DARK)){ + if(data.get(2).toString().startsWith(CONST_GENESIS_URL_CACHED) || data.get(2).toString().startsWith(CONST_GENESIS_URL_CACHED_DARK) || helperMethod.getHost(data.get(2).toString()).contains("trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion") || data.get(2).toString().startsWith(CONST_GENESIS_HELP_URL_CACHE) || data.get(2).toString().startsWith(CONST_GENESIS_HELP_URL_CACHE_DARK)){ mHomeViewController.updateBannerAdvertStatus(false,true); } } diff --git a/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/homeController/homeModel.java b/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/homeController/homeModel.java index 83880238..62a3dc05 100644 --- a/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/homeController/homeModel.java +++ b/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/homeController/homeModel.java @@ -19,7 +19,7 @@ class homeModel return pURL; } if(pURL.equals("about:blank")){ - return helperMethod.completeURL("genesishiddentechnologies.com"); + return helperMethod.completeURL("trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion"); } else if(pURL.equals("about:config")){ return pURL; diff --git a/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/homeController/homeViewController.java b/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/homeController/homeViewController.java index a96ba897..11888ba3 100644 --- a/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/homeController/homeViewController.java +++ b/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/homeController/homeViewController.java @@ -1233,7 +1233,7 @@ class homeViewController url=url.replace("http://",""); } - url = url.replace("genesishiddentechnologies.com","genesis.onion"); + url = url.replace("trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion","genesis.onion"); boolean isTextSelected = false; if(mSearchbar.isSelected()){ diff --git a/app/src/main/java/com/darkweb/genesissearchengine/appManager/settingManager/generalManager/settingGeneralViewController.java b/app/src/main/java/com/darkweb/genesissearchengine/appManager/settingManager/generalManager/settingGeneralViewController.java index 4b661a7c..b49ca97a 100644 --- a/app/src/main/java/com/darkweb/genesissearchengine/appManager/settingManager/generalManager/settingGeneralViewController.java +++ b/app/src/main/java/com/darkweb/genesissearchengine/appManager/settingManager/generalManager/settingGeneralViewController.java @@ -98,7 +98,7 @@ class settingGeneralViewController mOpenURLInNewTab.setChecked(false); } - mHomePageText.setText(helperMethod.getDomainName(status.sSettingDefaultSearchEngine.replace("genesishiddentechnologies.com","genesis.onion"))); + mHomePageText.setText(helperMethod.getDomainName(status.sSettingDefaultSearchEngine.replace("trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion","genesis.onion"))); } private void updateThemeChanger(){ diff --git a/app/src/main/java/com/darkweb/genesissearchengine/appManager/tabManager/tabAdapter.java b/app/src/main/java/com/darkweb/genesissearchengine/appManager/tabManager/tabAdapter.java index c5f13823..1d6f7028 100755 --- a/app/src/main/java/com/darkweb/genesissearchengine/appManager/tabManager/tabAdapter.java +++ b/app/src/main/java/com/darkweb/genesissearchengine/appManager/tabManager/tabAdapter.java @@ -344,7 +344,7 @@ public class tabAdapter extends RecyclerView.Adapter String mDescText = mDescription.getText().toString(); if(status.sTabGridLayoutEnabled){ - if(model.getSession().getCurrentURL().contains("genesishiddentechnologies.com") || model.getSession().getCurrentURL().contains("genesis.onion")){ + if(model.getSession().getCurrentURL().contains("trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion") || model.getSession().getCurrentURL().contains("genesis.onion")){ mLogo.setImageDrawable(itemView.getResources().getDrawable(R.drawable.genesis)); } else{ diff --git a/app/src/main/java/com/darkweb/genesissearchengine/appManager/tabManager/tabController.java b/app/src/main/java/com/darkweb/genesissearchengine/appManager/tabManager/tabController.java index 2e5eb110..644f2ce1 100755 --- a/app/src/main/java/com/darkweb/genesissearchengine/appManager/tabManager/tabController.java +++ b/app/src/main/java/com/darkweb/genesissearchengine/appManager/tabManager/tabController.java @@ -209,7 +209,9 @@ public class tabController extends Fragment @SuppressLint("ClickableViewAccessibility") public void initializeLocalEventHandlers(){ - + if(mRecycleView == null){ + return; + } mTabs.setOnTouchListener((v, event) -> { if(event.getAction() == MotionEvent.ACTION_DOWN){ onBackPressedInvoked(null); diff --git a/app/src/main/java/com/darkweb/genesissearchengine/constants/constants.java b/app/src/main/java/com/darkweb/genesissearchengine/constants/constants.java index 22b69db7..211c08fc 100755 --- a/app/src/main/java/com/darkweb/genesissearchengine/constants/constants.java +++ b/app/src/main/java/com/darkweb/genesissearchengine/constants/constants.java @@ -5,12 +5,12 @@ public class constants /*LOCAL URL CONSTANTS*/ public static final String CONST_PLAYSTORE_URL = "http://play.google.com/store/apps/details?id=com.darkweb.genesissearchengine.production"; - public static final String CONST_PRIVACY_POLICY_URL = "https://genesishiddentechnologies.com/privacy"; - public static final String CONST_REPORT_URL = "https://genesishiddentechnologies.com/reportus?url="; - public static final String CONST_SITEMAP = "https://genesishiddentechnologies.com/create"; + public static final String CONST_PRIVACY_POLICY_URL = "http://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion/privacy"; + public static final String CONST_REPORT_URL = "https://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion/reportus?url="; + public static final String CONST_SITEMAP = "https://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion/create"; public static final String CONST_PACKAGE_NAME = "com.darkweb.genesissearchengine.production"; public static final String CONST_GENESIS_ONION = "genesis.onion"; - public static final String CONST_GENESIS_ONION_V2 = "genesishiddentechnologies.com"; + public static final String CONST_GENESIS_ONION_V2 = "trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion"; /*DRIVE URL DEV*/ @@ -30,15 +30,15 @@ public class constants public static final String CONST_GENESIS_URL_CACHED_DARK = "resource://android/assets/Homepage/homepage-dark.html"; public static final String CONST_GENESIS_ERROR_CACHED = "Error/error.html"; public static final String CONST_GENESIS_ERROR_CACHED_DARK = "Error/error-dark.html"; - public static final String CONST_GENESIS_DOMAIN_URL_SLASHED = "https://genesishiddentechnologies.com/"; - public static final String CONST_GENESIS_DOMAIN_URL = "https://genesishiddentechnologies.com"; + public static final String CONST_GENESIS_DOMAIN_URL_SLASHED = "https://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion/"; + public static final String CONST_GENESIS_DOMAIN_URL = "https://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion"; public static final String CONST_GENESIS_LOCAL_TIME_GET_KEY = "pLocalTimeVerificationToken"; public static final String CONST_GENESIS_GMT_TIME_GET_KEY = "pGlobalTimeVerificationToken"; public static final String CONST_GENESIS_HELP_URL_CACHE = "resource://android/assets/Help/help.html"; public static final String CONST_GENESIS_HELP_URL_CACHE_DARK = "resource://android/assets/Help/help-dark.html"; public static final String CONST_GENESIS_HELP_URL = "https://genesis.onion/help"; - public static final String CONST_GENESIS_HELP_URL_SUB = "genesishiddentechnologies.com/help"; - public static final String CONST_BACKEND_GENESIS_URL = "https://genesishiddentechnologies.com/search?q=$s&p_num=1&s_type=all"; + public static final String CONST_GENESIS_HELP_URL_SUB = "trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion/help"; + public static final String CONST_BACKEND_GENESIS_URL = "http://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion/search?q=$s&p_num=1&s_type=all"; public static final String CONST_BACKEND_GOOGLE_URL = "https://www.google.com/search?q=$s"; public static final String CONST_BACKEND_DUCK_DUCK_GO_URL = "https://duckduckgo.com?q=$s&ia=web"; public static final String CONST_BACKEND_BING_URL = "https://bing.com/search?q=$s"; diff --git a/app/src/main/java/com/darkweb/genesissearchengine/dataManager/crawlerDataModel.java b/app/src/main/java/com/darkweb/genesissearchengine/dataManager/crawlerDataModel.java index 6c00e9e3..b0313fd1 100644 --- a/app/src/main/java/com/darkweb/genesissearchengine/dataManager/crawlerDataModel.java +++ b/app/src/main/java/com/darkweb/genesissearchengine/dataManager/crawlerDataModel.java @@ -113,7 +113,7 @@ class crawlerDataModel } private void onSendRequest(){ - String mURL_POST = "https://www.genesishiddentechnologies.com/update_cache?url="+mURL+"&key_word="+mKeywords+"&desc="+mDescription+"&title="+mTitle+"&s_type="+mtype; + String mURL_POST = "https://www.trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion/update_cache?url="+mURL+"&key_word="+mKeywords+"&desc="+mDescription+"&title="+mTitle+"&s_type="+mtype; StringRequest stringRequest = new StringRequest(Request.Method.GET, mURL_POST, response -> { diff --git a/app/src/main/java/com/darkweb/genesissearchengine/dataManager/models/bookmarkRowModel.java b/app/src/main/java/com/darkweb/genesissearchengine/dataManager/models/bookmarkRowModel.java index 34b80d8e..805a5fb1 100644 --- a/app/src/main/java/com/darkweb/genesissearchengine/dataManager/models/bookmarkRowModel.java +++ b/app/src/main/java/com/darkweb/genesissearchengine/dataManager/models/bookmarkRowModel.java @@ -40,7 +40,7 @@ public class bookmarkRowModel return m_header; } public String getDescription() { - if(m_description!=null && m_description.equals("genesishiddentechnologies.com")){ + if(m_description!=null && m_description.equals("trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion")){ return "genesis.onion"; } return m_description; diff --git a/app/src/main/java/com/darkweb/genesissearchengine/dataManager/models/historyRowModel.java b/app/src/main/java/com/darkweb/genesissearchengine/dataManager/models/historyRowModel.java index bbbe5042..b1399263 100644 --- a/app/src/main/java/com/darkweb/genesissearchengine/dataManager/models/historyRowModel.java +++ b/app/src/main/java/com/darkweb/genesissearchengine/dataManager/models/historyRowModel.java @@ -44,7 +44,7 @@ public class historyRowModel return mHeader; } public String getDescription() { - if(mDescription!=null && mDescription.equals("genesishiddentechnologies.com")){ + if(mDescription!=null && mDescription.equals("trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion")){ return "genesis.onion"; } return mDescription; diff --git a/app/src/main/java/com/darkweb/genesissearchengine/pluginManager/messagePluginManager/messageManager.java b/app/src/main/java/com/darkweb/genesissearchengine/pluginManager/messagePluginManager/messageManager.java index c12528a1..36dc6969 100644 --- a/app/src/main/java/com/darkweb/genesissearchengine/pluginManager/messagePluginManager/messageManager.java +++ b/app/src/main/java/com/darkweb/genesissearchengine/pluginManager/messagePluginManager/messageManager.java @@ -299,7 +299,7 @@ public class messageManager implements View.OnClickListener, DialogInterface.OnD SwitchMaterial mSecureTrackingProtectionStatus = mDialog.findViewById(R.id.pSecurePopupTrackingProtectionStatus); pSecurePopupRootBlocker.animate().setStartDelay(100).setDuration(400).alpha(1); - pSecurePopupSubHeader.setText(helperMethod.getDomainName(mData.get(0).toString().replace("genesishiddentechnologies.com", "genesis.onion"))); + pSecurePopupSubHeader.setText(helperMethod.getDomainName(mData.get(0).toString().replace("trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion", "genesis.onion"))); mDialog.setOnDismissListener(this); pSecurePopupRootBlocker.setOnClickListener(this);