nt1m / vivaldi-fox

An add-on that aims to add Vivaldi style toolbar colouring to the Firefox UI
https://addons.mozilla.org/en-US/firefox/addon/vivaldifox/
201 stars 21 forks source link

"Page header accent color" as color source flashes color on PDFs #108

Open nt1m opened 5 years ago

nt1m commented 5 years ago

Example: https://poll.qu.edu/images/polling/us/us12192018_ulfj59.pdf/

This is because "Page header accent color" continuously screenshots the 200 top pixels of a page and computes the dominant color which changes as the PDF loads.

I guess I could make sure it only computes the header color once, or take less pixels on top.

nt1m commented 5 years ago

Hmm, looks like scrolling through the PDF triggers {status: "complete"} tab updates every time...