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

[brave] page freezes, but still works in private window #236

Open
1 task
ghost opened this issue Apr 4, 2024 · 8 comments
Open
1 task

[brave] page freezes, but still works in private window #236

ghost opened this issue Apr 4, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Apr 4, 2024

What happened?

age restricted videos no longer load in regular window but load in private window. this bug persists on latest brave release, brave beta and brave nightly. they all had same chromium version when i tested.

on this older version the script works as expected, i have downgraded for now https://github.com/brave/brave-browser/releases/tag/v1.65.89

tried fresh install with brave having no changes except the script. tried disabling shields, using tampermonkey instead of violentmonkey, deleting all site data before opening video, changing ip, nothing worked.

google chrome with same chromium version as brave didn't have this bug.

Platform

Userscript

Version

2.5.9

What browser are you on?

Brave

Browser version

Version 1.64.116 Chromium: 123.0.6312.105

Link to the video

https://www.youtube.com/watch?v=jdY89tENgmM

Screenshots or Videos

No response

About you

  • I am a developer and/or have knowledge in programming
@drunkwinter
Copy link
Collaborator

drunkwinter commented Apr 4, 2024

Confirmed. This is a bug in Brave.

Filed an issue here: brave/brave-browser#37341

Issue:

Calling the XMLHttpRequest send() method after calling open() with this specific URL /youtubei/v1/player freezes the tab.

Repro
const xmlhttp = new XMLHttpRequest();
xmlhttp.open('POST', '/youtubei/v1/player', false);
xmlhttp.send();

@ghost ghost changed the title stopped working on brave for linux but still works in private window stopped working on brave but still works in private window Apr 5, 2024
@drunkwinter
Copy link
Collaborator

Are you still able to reproduce this? After having reinstalled Brave I don't see the issue anymore.

@ghost
Copy link
Author

ghost commented Apr 6, 2024

yes, just tried fresh install of brave release on linux and windows, Version 1.64.116 Chromium: 123.0.6312.105
both the script and the snippet you provided still freeze the page
on private window everything works fine

if it started working for you on the same version maybe it has to do with this thing https://griffin.brave.com/ where they randomly enable some experimental flags for users when you relaunch/reinstall the browser

@drunkwinter
Copy link
Collaborator

Are you willing to provide feedback on the Brave issue above? They might ask you a few things.

The griffin thing you mentioned is interesting and might be related.

@Mis1ify
Copy link

Mis1ify commented Apr 12, 2024

I'm also experiencing this issue. Version Brave Browser 123.1.65.108 beta Linux.

@ghost
Copy link
Author

ghost commented Apr 12, 2024

as mentioned here you need to disable brave-ai-chat flag brave/brave-browser#37341 (comment)

since its a brave bug i think this issue can be closed

@drunkwinter drunkwinter mentioned this issue Apr 29, 2024
@drunkwinter drunkwinter changed the title stopped working on brave but still works in private window [brave] page freezes, but still works in private window May 1, 2024
@binnichtaktiv
Copy link

as mentioned here you need to disable brave-ai-chat flag brave/brave-browser#37341 (comment)

since its a brave bug i think this issue can be closed

I can confirm that this works. Thank you but is it possible to fix this so that we dont have to disable it?

@drunkwinter
Copy link
Collaborator

as mentioned here you need to disable brave-ai-chat flag brave/brave-browser#37341 (comment)
since its a brave bug i think this issue can be closed

I can confirm that this works. Thank you but is it possible to fix this so that we dont have to disable it?

As already mentioned this is a browser bug, specifically with Brave. And an issue already has been filed on their repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants