This script improves the guest browsing experience on the Facebook desktop site. It aims to remove common interruptions and add helpful features for users who are not logged in.
< 脚本 Facebook Login Wall Remover 的反馈
Thanks for the feedback! I forgot to mention in the script's description that it's for the desktop version only.
As for the login popup on the mobile site (the one that shows up when you first open the page), I did write a few simple AdGuard/uBlock Origin rules to hide it. However, it still doesn't fix the issue where the site blocks dynamic content loading. Basically, on the mobile version, you can only see about five posts on a page's feed before it stops.
Facebook Mobile Website Rules: (AdGuard | uBlock Origin)
! Login prompt modal
m.facebook.com##div[role="dialog"][aria-modal="true"]:has(a[href*="/login/"], a[href*="/reg/"]):upward(div.fixed-container)
! Top login toolbar
m.facebook.com##div.fixed-container.top:has([role="button"][aria-label*="Log In"i], a[href*="/login/"])
! Fix page scrolling / Prevent scroll lock
m.facebook.com##body:remove-class(prevent-scrolling)
m.facebook.com##html, body:style(overflow: auto !important; scroll-behavior: auto !important;)
Thank you, the script and the rules are really helpful, especially when I look for businesses and they only have a facebook page to consult
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
Works perfectly on desktop, on mobile it doesn't work (Firefox+Violentmonkey)