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

Can't take screenshots with shortcut after a min #2439

Open
mina0728 opened this issue Jul 3, 2024 · 7 comments
Open

Can't take screenshots with shortcut after a min #2439

mina0728 opened this issue Jul 3, 2024 · 7 comments
Labels
Bug Bug or required update after YouTube changes good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥

Comments

@mina0728
Copy link

mina0728 commented Jul 3, 2024

Bug Report:

  • **Description:Can't take screenshots with shortcut after a min

  • **Steps to reproduce this: It's fine initially after entering/refreshing the page for like a min or two, but it won't take screenshots with keyboard shortcut after that (the button shortcut is always good)

  • **Since when?: A couple days ago, probably 2 or 3 days?

  • **Browser:firefox 127.0.2

  • **Are any errors shown in the Browser-Console?:F12 does show this , but I'm not sure.

Reason: CORS request not HTTP
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSRequestNotHttp

  • **Does the bug not happen when you log out of YouTube? : I tried in incognito mode and the problem still exists.
@mina0728 mina0728 added Bug Bug or required update after YouTube changes good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥ labels Jul 3, 2024
@ImprovedTube
Copy link
Member

hi! and thanks @mina0728
since version 4.1007? - check 4.1070

@mina0728
Copy link
Author

mina0728 commented Jul 4, 2024

hi! and thanks @mina0728 since version 4.1007? - check 4.1070

I just downgraded it to 4.937(there's no 4.1070 in addon store), and it works smoothly now! So it must be the issue with 4.1007.

@raszpl
Copy link
Contributor

raszpl commented Jul 4, 2024

I think the bug is this #2166

https://github.com/code-charity/youtube/releases/tag/v4.1070 says it includes #2421 but also says it was "released this 3 weeks ago"? whats going on ? :)
There is no 4.1007 tag to compare differences directly.

@mina0728
Copy link
Author

mina0728 commented Jul 4, 2024

Update: It also stop working in 4.937. Guess the initial delusion caught me.

@raszpl
Copy link
Contributor

raszpl commented Jul 4, 2024

I think it was broken for a veeeery long time, people were just getting lucky or quickly assuming YT/browser went nuts and reloading. I just hope my fix didnt make it worse :)

@mina0728
Copy link
Author

mina0728 commented Jul 4, 2024

Correction : Turns out 4.937 is perfectly fine, it was auto-updated to 4.1007 without my knowledge yesterday lol,

I've turn update off.

@raszpl
Copy link
Contributor

raszpl commented Jul 5, 2024

Thats weird, 1007 predates my major patch to shortcuts.js :|
The only changes are to actual ImprovedTube.screenshot() itself, and if it works with a button it should work with shortcut

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug or required update after YouTube changes good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥
Projects
None yet
Development

No branches or pull requests

3 participants