Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

NikitK/ Amending the Github page for Binary Bot #3805

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: bot page not shows
  • Loading branch information
NikitK-deriv committed Jan 26, 2023
commit 43a71d167b9cef2d26753150656d9325b9d8b469
8 changes: 4 additions & 4 deletions src/botPage/view/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ view.initPromise.then(() => {
});

if (!isBinaryDomain) {
const separator = document.getElementsByClassName('dbot-banner__separator');
const logo = document.getElementById('logo');
separator[0].remove();
logo.remove();
// eslint-disable-next-line no-unused-expressions
document.getElementsByClassName('dbot-banner__separator')[0]?.remove();
// eslint-disable-next-line no-unused-expressions
document.getElementById('logo')?.remove();
}
12 changes: 6 additions & 6 deletions src/indexPage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ const loginCheck = () => {
loginCheck();

if (!isBinaryDomain) {
const puzzle = document.getElementsByClassName('half-width bottom-image puzzle-logo');
const separator = document.getElementsByClassName('dbot-banner__separator');
const banner = document.getElementsByClassName('half-width top-image');
puzzle[0].remove();
separator[0].remove();
banner[0].remove();
// eslint-disable-next-line no-unused-expressions
document.getElementsByClassName('half-width bottom-image puzzle-logo')[0]?.remove();
// eslint-disable-next-line no-unused-expressions
document.getElementsByClassName('dbot-banner__separator')[0]?.remove();
// eslint-disable-next-line no-unused-expressions
document.getElementsByClassName('half-width top-image')[0]?.remove();
}
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy