-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Does not work in touch.facebook.com #3
Comments
Hello dhananjaipai, Thank you for reaching out! I've looked into the matter, and found the fix is adding the domain Thank you for bringing this to our attention! I appreciate the feedback. Best regards, |
Hi riad-azz, Really appreciate the quick response! Thank you for your time in maintaining this add-on But it seems the fix might be a bit more complicated, since the posts Selector seems to be different for that domain. I just did a quick scan and many of the tamper monkey/grease monkey scripts also seem to fail when running touch.facebook.com in an emulated tab in the browser because of this dom selector difference I did not dig much deep, but atleast the m.facebook and touch.facebook domains seemed to have a similar dom structure for the divs. Best regards, |
I understand, so it essentially has a different structure for mobile devices, which isn't surprising given the need for responsiveness. The add-on was primarily designed for the desktop version, but I guess it's about time to add mobile support as well. I genuinely appreciate the feedback. However, I'm currently dealing with a heavy workload, so it may take me a bit of time to follow up on this but I will get to it as soon as I can. Have a great day! |
Sure. Just to give a couple more updates (for others who may be also facing the same issue) There is also a custom filter you can add to block suggested for you posts. Refer ublock docs to see how to use this. The problem however is that the DOM jumps randomly and the infinite scroll glitches with a large empty space at the bottom since the page height is now way smaller after hiding all the sponsored and suggested posts (and layout glitches even with only hiding sponsored posts) Not sure what the best workaround would be here since "hiding" the div causes layout issues. Perhaps a flag to keep the div in the DOM but overwrite/blackout the content would be useful since this will retain the page height and remove these skips during scroll and layout errors (which I am assuming is when the rules are revaluated and the DOM content changes randomly due to potential viewport/scroll based content rendering optimizations in the mobile sites by Facebook) |
Describe the bug
I use Firefox Beta for android with custom add-ons enabled and was hoping to use Facebook through the browser ad free since the mobile app is unusable these days.
I am able to install the extension but it does not seem to work on the domain.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Sponsored posts are hidden
Screenshots
-will edit and add if needed.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: