ReVanced / revanced-patches

🧩 Patches for ReVanced
https://revanced.app
GNU General Public License v3.0
2.03k stars 239 forks source link

bug(YouTube): Remove viewer discretion dialog not working #2740

Open MarcaDian opened 5 months ago

MarcaDian commented 5 months ago

Bug description

In the settings enabled Remove viewer discretion dialog but dialog is showing.

Screenshot_2024-02-19-11-56-50-447_app revanced android youtube Screenshot_2024-02-19-11-56-30-677_app revanced android youtube

Error logs

No response

Solution

No response

Additional context

No response

Acknowledgements

LisoUseInAIKyrios commented 5 months ago

Try turning on version spoofing and use spoof target 18.09.39 and 18.20.39 and see if that fixes it.

Also try incognito mode and/or logging into a different YouTube account.

oSumAtrIX commented 5 months ago

The version is set to a very old one as well as an old patch is used. Update and don't spoof and try again. Reopen with all proper details if necessary

LisoUseInAIKyrios commented 5 months ago

I just tried myself with the latest dev release and the recommended YT version, and the viewer discretion dialog appears for me when it should not.

Spoofing to an older version does not fix it either.

MarcaDian commented 5 months ago

The version is set to a very old one as well as an old patch is used

Nope, patches version from this pull https://github.com/ReVanced/revanced-patches/pull/2737 , Youtube v19.04.37

oSumAtrIX commented 5 months ago

@LisoUseInAIKyrios I can't reproduce it on my end as I can't find any age restricted video.

@MarcaDian Test on the main branch

MarcaDian commented 5 months ago

Try turning on version spoofing and use spoof target 18.09.39 and 18.20.39 and see if that fixes it.

Nope, to 18.20.39 not working, discretion dialog appears

In incodnito mode it's the same

LisoUseInAIKyrios commented 5 months ago

@oSumAtrIX try searching for 1981 belgium grand prix. I found other videos by searching for youtube viewer discretion

The age restriction only shows once or twice for each video. After opening the same video multiple times it no longer shows the dialog for that video anymore (same behavior as stock YouTube).

cyberboh commented 5 months ago

Tested against YT 19.03.36 also doesn't work

Domiiniik commented 5 months ago

Same for me, tried on latest patches and latest recommended YT ver.