Replies

Sep 1, 2020 5 years ago
Solsticesprite
cleans up nicely
User Avatar

I need to block animation on Subeta, but I'm not good at programming markup languages. May I have some code to block animations on Subeta, please?

Sep 1, 2020 5 years ago
Elementary, my dear
Written
User Avatar

What kind of animation are you talking about? Gifs? Videos? Item images? Signature images?

The past is written, but the future is left for us to write. ~ Picard

Sep 1, 2020 5 years ago
Solsticesprite
cleans up nicely
User Avatar

I want to default block everything you mentioned. Is this possible or do I need separate bits of code for each, or approach it from my browser not allowing animations here?

Sep 1, 2020 5 years ago
Elementary, my dear
Written
User Avatar

Ah, I see.

I'm not sure there is a CSS way of doing this. Maybe with JavaScript, but you can't use JavaScript in the Custom CSS.

You can block individual images like this: img[src="IMGURLHERE"] {display: none;}

But obviously that would only be helpful for signature images you don't want to see at all, and not ones you just don't want to move.

I think it might be best to pursue this from the browser-level. This article mentions ways to do it for Chrome and Firefox, which might be a place to start.

But I don't know everything, so maybe someone else knows how to fix this with CSS. :)

The past is written, but the future is left for us to write. ~ Picard

Sep 1, 2020 5 years ago
Solsticesprite
cleans up nicely
User Avatar

thank you for your help! I will keep this open to see if there are other ideas.

[edit] I found an Extension for Google Chrome writen by Google called Animation Policy. Seems to only work on GIFs though.

Sep 1, 2020 5 years ago
Lypsyl
is a billionaire
User Avatar
Crotchety

you can use Custom CSS to turn off signatures .forum_signature {display:none!important;}

You should be able to turn off video/audio autoplay at a browser level.

Unfortunately, can't help for anything else. Most code is all or nothing, and turning off all images will make the site difficult to navigate.

Sep 2, 2020 5 years ago
Solsticesprite
cleans up nicely
User Avatar

that is useful because that's the main place I find them by surprise. Thank you!

I have added that into my CSS.

Sep 2, 2020 5 years ago
Elementary, my dear
Written
User Avatar

If you only want to block images in signatures but not text, you should probably use this instead:

.forum_signature img {display:none!important;}

The past is written, but the future is left for us to write. ~ Picard

Please log in to reply to this topic.