Facebook login screen... Ublock filter?

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: FranklinDM, Lootyhoof

f-117
Moon lover
Moon lover
Posts: 79
Joined: 2017-02-04, 20:41

Facebook login screen... Ublock filter?

Unread post by f-117 » 2024-10-06, 15:25

I am not a Facebook member. However, when I go to any Facebook page and try to view any gallery pics, I always get the "See more on Facebook.." login screen.
facebook.jpg
Does anyone know of a Ubo filter that will remove/block this annoying log-in screen on Facebook?

Thanks.
Scott

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5387
Joined: 2015-12-09, 15:45
Contact:

Re: Facebook login screen... Ublock filter?

Unread post by moonbat » 2024-10-07, 06:40

Use the eye dropper to create a rule, else ask on the uBO subreddit.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
Cassette
Lunatic
Lunatic
Posts: 404
Joined: 2015-05-08, 14:30
Location: Wichita, KS

Re: Facebook login screen... Ublock filter?

Unread post by Cassette » 2024-10-07, 11:28

This seems to work without breaking anything, but I haven't tested it extensively.

Code: Select all

www.facebook.com##div[role="dialog"]:not(:has(div[aria-label="Close"])):upward(4)

f-117
Moon lover
Moon lover
Posts: 79
Joined: 2017-02-04, 20:41

Re: Facebook login screen... Ublock filter?

Unread post by f-117 » 2024-10-08, 14:39

Cassette wrote:
2024-10-07, 11:28
This seems to work without breaking anything, but I haven't tested it extensively.

Code: Select all

www.facebook.com##div[role="dialog"]:not(:has(div[aria-label="Close"])):upward(4)
I just tried this code. Nothing. Back to the drawing board...

Thanks for any and all help.
Scott

User avatar
Cassette
Lunatic
Lunatic
Posts: 404
Joined: 2015-05-08, 14:30
Location: Wichita, KS

Re: Facebook login screen... Ublock filter?

Unread post by Cassette » 2024-10-08, 15:50

f-117 wrote:
2024-10-08, 14:39
I just tried this code. Nothing. Back to the drawing board...
I should probably have noted that this will not auto hide the first instance where there is a close button. I found that doing that makes the navigation arrows for the gallery stop working after a few pictures. This closes the second popup that doesn't allow you to close, but the navigation arrows continue to work. There is, though, an issue where the "Reaction" options don't show up. It's not a problem if you don't have an account, but if you do, could be an issue. There could be others, but a small change to the rule fixes that issue.

Code: Select all

www.facebook.com##div[role="dialog"]:not(:has(div[aria-label="Close"])):has(form):upward(4)

f-117
Moon lover
Moon lover
Posts: 79
Joined: 2017-02-04, 20:41

Re: Facebook login screen... Ublock filter?

Unread post by f-117 » 2024-10-08, 16:21

Cassette wrote:
2024-10-08, 15:50
f-117 wrote:
2024-10-08, 14:39
I just tried this code. Nothing. Back to the drawing board...
I should probably have noted that this will not auto hide the first instance where there is a close button. I found that doing that makes the navigation arrows for the gallery stop working after a few pictures. This closes the second popup that doesn't allow you to close, but the navigation arrows continue to work. There is, though, an issue where the "Reaction" options don't show up. It's not a problem if you don't have an account, but if you do, could be an issue. There could be others, but a small change to the rule fixes that issue.

Code: Select all

www.facebook.com##div[role="dialog"]:not(:has(div[aria-label="Close"])):has(form):upward(4)
Ok, This code worked on the gallery login screen (The one in my initial post). Thank you!
I just wish there was code that would remove the first instance of the log-in screen that you mentioned.....

When I try the "block element" picker it creates this code...
"www.facebook.com##.x4l50q0.x1egiwwb" ,and just greys-out the page.

Scott

Post Reply