Page 1 of 1
[RESOLVED] v10: blocked items count badge color changed.
Posted: Wed Oct 24, 2018 5:53 pm
by fenix
Hello.
Some days ago,
NoScript has been updated to
v10.1.9.9 version. Additionaly, Firefox
v63.0, is out today with very amazing features - for example:
Enhanced Tracking Protection (ETP). (It's designed to improve privacy and protect Users. across the Web, from being tracked etc.)
But that's not the point.
However, there is one change for '
WebExtensions': they run in their own process on Linux. So, maybe there are more changes, which could change count badge color?
After mentioned update and Firefox restart, I've noticed that
NoScript count badge color for blocked items changed. Now it's a black number on a red background (see image below). As We know, it was a white number on a red background. I have no idea what could have had an impact on this.
NoScript last Development commits shows nothing about badge color [1].
What is the reason for such a sudden change? Thanks, best regards.
_____________________
[1]
https://noscript.net/getit#devel
Re: NoScript v10: blocked items count badge color changed.
Posted: Wed Oct 24, 2018 6:44 pm
by fenix
Hi.
I apologize for writing post by post, but there is some problem with
NoScript Count Badge screenshot displaying. I have no idea what happen. When I've created this thread, and preview my post to check if everything os okay, then Count Badge image was displayed. Now, there is only an empty space (near then end; between last paragraph and question about a reason for such a change etc.)
Anyway, here is a direct link to the
postimg.cc site (Count Badge image is on the upper left side; I hope that everyone could see this):
✗
https://postimg.cc/hzXDn8HM/093d7ee9
✗
https://i.postimg.cc/fLKJxB54/noscript-badger.png (direct link to the picture)
By the way: I've used "
Thumbnail for forums" link (see above 1.st link), in my post and picture was there! I have no idea what can be a reason...
barbaz: I would like to beg You about something. If You can make it work - I mean put a little screenshot of the Count Badge in first post, I will be very happy :- )
NOTE: that's very strange. When I'm preview this post and scroll down to see first post, there is a small Count Badge image/screenshot! How it's possible? Here is a direct link gathered from "
Show image option:
✗
https://postimg.cc/hzXDn8HM
Thanks.
Re: NoScript v10: blocked items count badge color changed.
Posted: Wed Oct 24, 2018 9:00 pm
by barbaz
This is a Firefox change.
Quoting MDN -
NoScript doesn't set the badge text color, and it sets the badge background color in only one place -
https://github.com/hackademix/noscript/ ... rd.js#L113
fenix wrote: there is some problem with NoScript Count Badge screenshot displaying. I have no idea what happen. When I've created this thread, and preview my post to check if everything os okay, then Count Badge image was displayed. Now, there is only an empty space (near then end; between last paragraph and question about a reason for such a change etc.)
The image displays fine for me. Check your adblocker?
Re: NoScript v10: blocked items count badge color changed.
Posted: Thu Oct 25, 2018 9:05 am
by fenix
Hi barbaz.
Thank You for an answer. Definitely, I should first check developer.mozilla.org docs site before asking a question here. Sorry. Anyway, if it's about image displaying, it seems that script blocking is the answer and/or allowing postimg.cc domain via uBlockOrigin also should work. (NoScript shows '…informaction.com domain only). But it's a testing computer so there is many possible solutions etc. Not important.
barbaz could You delete/remove my second post? I'm asking, because it's not needed, since Count Badger image display fine for You. Can You do that? (And please mark this thread as 'Solved', because I can not do this).
Thanks, best regards.
Re: NoScript v10: blocked items count badge color changed.
Posted: Thu Oct 25, 2018 9:52 am
by fenix
One more thing! (I apologize for writing post by post - I can't edit etc.)
So, it seems, that - for example - Privacy Badger or uBlock Origin authors set the badge text color via 'browserAction.setBadgeTextColor()', because I noticed (on my friend computer), that nothing changed in these two addons. I'm asking, because according to developer.mozilla.org docs statement - mentioned by You, barbaz - the badge text color will be changed to black or white if above API will be not used etc., right?
Thanks.
Re: [RESOLVED] v10: blocked items count badge color changed.
Posted: Thu Oct 25, 2018 3:29 pm
by barbaz
fenix wrote:So, it seems, that - for example - Privacy Badger or uBlock Origin authors set the badge text color via 'browserAction.setBadgeTextColor()', because I noticed (on my friend computer), that nothing changed in these two addons.
uBlock Origin doesn't use setBadgeTextColor. Probably Firefox just continued to use a white color for the text due to the dark badge background color.
I'm not familiar with Privacy Badger.