Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The AB cloak disable doesn't work #735

Closed
Zzza38 opened this issue May 30, 2024 · 5 comments · Fixed by #740
Closed

The AB cloak disable doesn't work #735

Zzza38 opened this issue May 30, 2024 · 5 comments · Fixed by #740
Assignees
Labels
Bug Report Tell us about an issue you are having using the site.

Comments

@Zzza38
Copy link

Zzza38 commented May 30, 2024

When I turn off the auto AB, it doesn't disable.

It occurs because this line in s.js exists when DOMContent loaded:
LINE 40: localStorage.setItem("ab", true)
It also occurs because the function 'function popout()' in ta.js doesn't check for the local storage AB
How to fix:
Make a new line on line 196 in ta.js:
Put code: if (!localStorage.getItem("ab")) {return null}
And also, in s.js:
Line 40 + 41 should be replaced by: // localStorage.setItem("ab", true)
document.getElementById("ab-settings-switch").checked = localStorage.getItem("ab")

@Zzza38 Zzza38 added the Bug Report Tell us about an issue you are having using the site. label May 30, 2024
@IncognitoTGT
Copy link
Contributor

😭

Screenshot 2024-05-30 at 19 49 43

@IncognitoTGT IncognitoTGT closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2024
@IncognitoTGT IncognitoTGT reopened this May 30, 2024
@WatchGamingVideos
Copy link
Contributor

same for me lol

@Thundergamer579
Copy link

yeah its really not working

@IncognitoTGT
Copy link
Contributor

Just made a fix, also @Zzza38 idk how high are you but what you said is nowhere close to the actual fix 😭

@Zzza38
Copy link
Author

Zzza38 commented Jun 1, 2024

Sorry im not that good at coding, Im pretty new at it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Tell us about an issue you are having using the site.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants