return-youtube-dislike
return-youtube-dislike copied to clipboard
(Bug): cors problem
Browser
Google Chrome
Browser Version
100.0.4896.127
Extension or Userscript?
Extension
Extension/Userscript Version
3.0.0.0
Video link where you see the problem
https://www.youtube.com/watch?v=uMVIL_aunqc
What happened?
Access to fetch at 'https://returnyoutubedislikeapi.com/votes?videoId=uMVIL_aunqc&likeCount=37970' from origin 'https://www.youtube.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
How to reproduce/recreate?
"C:\Program Files\Google\Chrome\Application\chrome.exe" --task-manager-show-extra-renderers --disable-backgrounding-occluded-windows --no-sandbox --flag-switches-begin --enable-gpu-rasterization --enable-nacl --enable-quic --enable-zero-copy --enable-features=PrivacySandboxSettings3:disable-dialog-for-testing/true,InterestGroupStorage,AdInterestGroupAPI,Fledge,FencedFrames --disable-smooth-scrolling --unsafely-treat-insecure-origin-as-secure --enable-features=PrivacySandboxSettings3:disable-dialog-for-testing/true,InterestGroupStorage,AdInterestGroupAPI,Fledge,FencedFrames,CanvasOopRasterization,ChromeLabs --disable-features=BackForwardCache,SidePanel,ThrottleDisplayNoneAndVisibilityHiddenCrossOriginIframes --flag-switches-end
What do you see when you open https://returnyoutubedislikeapi.com/votes?videoId=uMVIL_aunqc&likeCount=37970 in browser?
My guess that it's roskompozor issue.
{"id":"uMVIL_aunqc","dateCreated":"2022-04-09T19:59:44.286338Z","likes":37971,"dislikes":1588,"rating":4.839429712581208,"viewCount":2807116,"deleted":false}
Are you using extension or userscript?
Extension I have already said it in issue description.
My bad, I managed to miss it.
I'm a bit confused - I don't get CORS error, neither do most other users. Do you have any specific settings which could affect it?
The extension woudn't work for everyone if it was server configuration issue.
For some reason It gets stuck on cloudflare protection on microsoft edge.
Cloudflare Ray ID: 70275eaeba2bfa9c
Try again please?
Now it is ERR_CONNECTION_TIMED_OUT on https, but works with http
ср, 27 апр. 2022 г. в 15:04, Dmitrii Selivanov @.***>:
Try again please?
— Reply to this email directly, view it on GitHub https://github.com/Anarios/return-youtube-dislike/issues/573#issuecomment-1110918132, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACDJ4FGC6EIIGNTLCZPQQVDVHEULJANCNFSM5UOXG7QA . You are receiving this because you authored the thread.Message ID: @.***>
Are you on win7?
No, I am not. I am on 11
ср, 27 апр. 2022 г. в 15:11, Dmitrii Selivanov @.***>:
Are you on win7?
— Reply to this email directly, view it on GitHub https://github.com/Anarios/return-youtube-dislike/issues/573#issuecomment-1110925016, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACDJ4FGTMDRDJ4UQ55UQFVDVHEVH5ANCNFSM5UOXG7QA . You are receiving this because you authored the thread.Message ID: @.***>
Try once more, please?
It isn't working.
ср, 27 апр. 2022 г. в 15:17, Dmitrii Selivanov @.***>:
Try once more, please?
— Reply to this email directly, view it on GitHub https://github.com/Anarios/return-youtube-dislike/issues/573#issuecomment-1110930247, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACDJ4FAQETONYZ6WSG7NAHLVHEV6TANCNFSM5UOXG7QA . You are receiving this because you authored the thread.Message ID: @.***>
I tried disabling everything security-related in CF, not sure what's the cause for this issue.
It started working in chrome
--unsafely-treat-insecure-origin-as-secure
anything to do with this
It's supposed to be used with specified domain names
Currently there is no domains specified.