Skip to content

Space out news feed posts, show img/vid on hover by devinrhode2

Details

Authordevinrhode2

LicenseNo License

Categoryfacebook.com

Created

Updated

Code size757 B

Code checksum39e3bc60

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

img (images) and video tags are hidden with opacity of 0. Hovering over them for several seconds will then start slowing fading them in.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name       www.facebook.com
@version    20250502.00.42
@namespace  ?
==/UserStyle== */

@-moz-document url-prefix("https://www.facebook.com/") {
/* desktop */
h3[dir="auto"] ~ div > div {
    margin-top: 2000px;
}
/* mobile */
[data-tracking-duration-id] {
    margin-top: 200px;
}

/* desktop */
[aria-label~="stories"] {
    visibility: hidden !important;
}

/* mobile */
[data-is-h-scrollable="true"] {
    visibility: hidden;
    height: 700px !important;
}

/* both desktop/mobile */
video {
    opacity: 0;
    transition: opacity 20s cubic-bezier(0.29, 1.01, 1, -0.68) 3s;
}
img {
    opacity: 0;
    transition: opacity 20s cubic-bezier(0.29, 1.01, 1, -0.68) 3s;
}

video:hover {
    opacity: 1;
}
img:hover {
    opacity: 1;
}


}

Reviews

No reviews yet.