-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
bug: product ads homepage. #818
bug: product ads homepage. #818
Comments
I'm also having this issue. Seems to be region specific. And just like the last time following these given instructions to capture the logcat isn't working out for me. And I forgot how I did it the last time. My system is only having the platform tools and nothing else. And grep isn't being recognised inside cmd. |
@ILoveOpenSourceApplications |
Does the command change? Do I have to use |
Replace grep with findstr and everything else should be the same. If you want all ReVanced logs then use: |
|
Did you run Need to install adb if you have not yet. |
adb logcat gives a long list from which I can seem to identify which is the one related to the issue. Though |
|
Do you have debugging enabled under If it's turned off then nothing will show up in the logs. |
Yes it is turned on. |
Try just To save the output to a file use |
Is |
It is not known to us, why? |
I'm trying to find the component which is causing this issue, but I only found some of them and couldn't find for everything. These are the ones I found: But still there are something things for which I can't identify the component name. |
This worked out for me. Though still going through the log to find which component caused the issue is still difficult. Also is it still |
You can use It's useful to clear the logs, reproduce the issue on the device, then logcat and save logs to a file. Then you have a short log file with only the entries that matter. |
I'm away from my laptop, but yes it appears it's now called "Unfiltered" |
Caught the components.
Hiding these will remove the ads for products. 1 does this, and 2 removes the product ads from the description. These ads are hidden when filtering using the above components, but these are some of their subcomponents. I am still posting here since I don't want to capture a logcat anytime soon. Please make any necessary changes with this information. |
Also, the command should be updated for all users, one for Android, one for Windows & one even for Mac, cause why not. Windows command: |
What do you mean by that?
The child components do not matter. Once the parent component is filtered, child components will not be added and instead an |
Have you confirmed the filter strings above don't cause any false positives? Use the app and check if it triggers anywhere, when the ad is not displayed. |
What if If the sub components hide the product ads, why not use those to be safer? The naming for each of those components appears to be specific to product advertising. |
I also assume this, but I also assume that if we filter "too late" at some child component, we can't hide the outer parent, and that might leave some residue such as padding, requires testing |
What happens if you only hide items 2-7? Does it look ok (with no extra padding or anything that looks weird)? |
I didn't copy and paste the entire log, just the part where the same component is being mentioned as filtered and unfiltered. |
07-02 21:45:35.837 23273 23273 D revanced: LithoFilterPatch: Unfiltered (ID: cell_divider.eml|cbdd9c74ef2c193): cell_divider.eml|cbdd9c74ef2c193|CellType| 07-02 22:01:46.018 23273 7376 D revanced: LithoFilterPatch: Unfiltered (ID: cell_divider.eml|cbdd9c74ef2c193): cell_divider.eml|cbdd9c74ef2c193|CellType| Yes, Hide Gray Separator is on. 07-02 21:45:35.819 23273 23273 D revanced: LithoFilterPatch: Unfiltered (ID: null): expandable_list.eml|5f1b983e288bdd5a|expandable_list_inner.eml|d7cdda763cce72e6|CellType|ContainerType|ContainerType|product_link_item.eml|448417c243cf4498|ContainerType|ContainerType|product_image.eml|38741c470283edaa|ContainerType|ContainerType| Why was this not added within the ad filter? 07-02 21:45:34.887 23273 23273 D revanced: LithoFilterPatch: Unfiltered (ID: products_in_video.eml|46339d899c0093e6): products_in_video.eml|46339d899c0093e6|ContainerType| Or even though it is added it's still getting through? |
Please use codeblocks |
Is it a separate software or code that I need to use? |
No, codeblocks
|
07-02 22:01:46.018 23273 7376 D revanced: LithoFilterPatch: Unfiltered (ID: cell_divider.eml|cbdd9c74ef2c193): cell_divider.eml|cbdd9c74ef2c193|CellType|
07-02 22:01:46.018 23273 7376 D revanced: LithoFilterPatch: Filtered (ID: cell_divider.eml|cbdd9c74ef2c193): cell_divider.eml|cbdd9c74ef2c193|CellType|
07-02 21:45:35.819 23273 23273 D revanced: LithoFilterPatch: Unfiltered (ID: null): expandable_list.eml|5f1b983e288bdd5a|expandable_list_inner.eml|d7cdda763cce72e6|CellType|ContainerType|ContainerType|product_link_item.eml|448417c243cf4498|ContainerType|ContainerType|product_image.eml|38741c470283edaa|ContainerType|ContainerType|
07-02 21:45:35.819 23273 23273 D revanced: LithoFilterPatch: Unfiltered (ID: null): expandable_list.eml|5f1b983e288bdd5a|expandable_list_inner.eml|d7cdda763cce72e6|CellType|ContainerType|ContainerType|product_link_item.eml|448417c243cf4498|ContainerType|ContainerType|product_image.eml|38741c470283edaa|ContainerType|ContainerType|
07-02 21:45:34.887 23273 23273 D revanced: LithoFilterPatch: Unfiltered (ID: products_in_video.eml|46339d899c0093e6): products_in_video.eml|46339d899c0093e6|ContainerType|
07-02 21:45:34.175 23273 7377 D revanced: LithoFilterPatch: Unfiltered (ID: null): offer_box_root.eml|a108848113b934da|CellType|offer_box.eml|c6ebe834d41a3ad5|ContainerType|ContainerType|ContainerType|TextType|
07-02 21:45:34.183 23273 7376 D revanced: LithoFilterPatch: Unfiltered (ID: product_details_unit.eml|669cf48a406254e1): product_details_unit.eml|669cf48a406254e1|product_details_unit.eml|669cf48a406254e1|CellType|
07-02 22:09:31.527 23273 7376 D revanced: LithoFilterPatch: Unfiltered (ID: null): offer_box_root.eml|a108848113b934da|CellType|offer_box.eml|c6ebe834d41a3ad5|ContainerType|ContainerType|ContainerType|ContainerType|ContainerType|ContainerType|
07-02 22:09:31.527 23273 7377 D revanced: LithoFilterPatch: Unfiltered (ID: null): product_offers_root.eml|1ecf652f2a88d581|CellType|product_offers.eml|47e0f5dc28ada639|ContainerType|ContainerType|ContainerType|ImageType| |
07-02 22:09:37.111 23273 7377 D revanced: LithoFilterPatch: Unfiltered (ID: null): related_video_with_context.eml|1a205c0e26a397a0|CellType|active_view_display_container.eml|6f7403a6245fcf5c|ContainerType|related_video_with_context_inner.eml|d27a948eb95cb1c0|ContainerType|expandable_metadata.eml|2b91a52e39469622|inline_expansion.eml|2b0292cabd32bd7b|ContainerType|inline_expander.eml|1e8593184dc2e505|ContainerType|ContainerType|ContainerType|styled_product_carousel.eml|d000f2ab6a7f2434|CellType|horizontal_shelf.eml|7714f450376ddfd5|ContainerType|CollectionType|styled_product_carousel_item.eml|b6f66b32211ec7c0|CellType|ContainerType|ContainerType|ImageType| |
So...what's going on here? |
07-02 23:01:05.847 16887 16887 D revanced: LithoFilterPatch: Unfiltered (ID: null): related_video_with_context.eml|18205c0e260397a0|CellType|active_view_display_container.eml|6f7403a6245fcf5c|ContainerType|related_video_with_context_inner.eml|d27a548eb95cb1c0|ContainerType|slimline_survey_wrapper.eml|1a8ae89b422a44a4|ContainerType|slimline_survey.eml|7cece179f10e692|ContainerType|ContainerType|smiley_button.eml|335fed2a4566b068|ImageType| While at it, I was able to capture that survey component which popped up randomly below some videos as well. |
Survey's are blocked but there is a blacklist filter that prevents it from working. |
Oh...so even if I add this component under custom filter you're saying that I may still see this survey? |
Custom filter bypass them |
So it'll work then |
Any idea why the hidden components are still showing up when capturing log? |
@ILoveOpenSourceApplications is this still an issue? Hidden components show up with "Filtered" tag if hidden. |
Yes
But some elements are not which can be seen in this comment. |
If it says unfiltered, then it wasn't filtered |
Is this still a problem? |
## [2.83.2](ReVanced/revanced-patches@v2.83.1...v2.83.2) (2022-10-19) ### Bug Fixes * **youtube/video-ads:** add back initial method to block ads ([ReVanced#818](ReVanced/revanced-patches#818)) ([8b02acd](ReVanced/revanced-patches@996fcb0))
Type
Error while patching
Bug description
I seeing ads for product on YouTube homepage.
Steps to reproduce
I use latest updated youtube revanced..
Relevant log output
I didn't found a way to give you a log.
Screenshots or videos
No response
Solution
No response
Additional context
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: