Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Default placeholder background takes too long to display (FF ESR 38, Linux) #429

Closed
dev-random opened this issue Dec 7, 2015 · 5 comments
Labels

Comments

@dev-random
Copy link

When page contains too many blocked elements, my browser (Firefox ESR 38 on Linux) becomes extremely slow (each frame takes seconds to draw). It seems to be the result of combining linear-gradient and background-repeat in extensions.umatrix.placeholderBackground. Replacing the gradient with a data-uri-encoded png fixes the issue for me. Using -moz-repeated-linear-gradient instead of repeating the gradient with background-repeat works as well.

@Magister
Copy link

Magister commented Mar 9, 2016

This is very annoing - scrolling is very slow because of this...
@dev-random did you managed to fix that locally? Now Firefox wants signed addons, so modifying it is not an option...

@dev-random
Copy link
Author

@Magister

about:config

extensions.umatrix.placeholderBackground

url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAAAAACoWZBhAAAABGdBTUEAALGPC/xhBQAAAAJiS0dEAP+Hj8y/AAAAB3RJTUUH3wwIAAgyL/YaPAAAACJJREFUCFtjfMbOAAQ/gZiFnQPEBAEmGIMIJgtIL8QEgtoAIn4D/96X1KAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTUtMTItMDhUMDA6MDg6NTArMDM6MDAasuuJAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE1LTEyLTA4VDAwOjA4OjUwKzAzOjAwa+9TNQAAAABJRU5ErkJggg==") repeat scroll #fff

@Magister
Copy link

@dev-random Thanks a lot!

@ghost
Copy link

ghost commented Mar 11, 2016

@dev-random

I've been waiting a long time for this too.
Thank you.

@jfrankenau
Copy link

I would love to see @dev-random's solution merged.

@gorhill gorhill closed this as completed in 09cf683 Jun 5, 2016
Noxgrim pushed a commit to Noxgrim/uMatrix that referenced this issue Dec 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants