wingman-jr-addon / wingman_jr

This is the official repository (https://github.com/wingman-jr-addon/wingman_jr) for the Wingman Jr. Firefox addon, which filters NSFW images in the browser fully client-side: https://addons.mozilla.org/en-US/firefox/addon/wingman-jr-filter/ Optional DNS-blocking using Cloudflare's 1.1.1.1 for families! Also, check out the blog!
https://wingman-jr.blogspot.com/
Other
35 stars 6 forks source link

Increase tolerance for hidden tabs problem on linux #191

Closed tomhense closed 1 year ago

tomhense commented 1 year ago

The hidden tabs problem still occurred for me on the latest version of the addon, I investigated it a bit more and found out that the highest difference I encountered in the bkApproxEq function for me was 0.0193 . So I increased the tolerance value from 0.01 to 0.02 and now it seems to work without any problems, although I don't know if this value will work for everyone.

Also I wanted to say I really appreciate the amount of effort you have put into this addon :)

wingman-jr-addon commented 1 year ago

Fixing in #192 - thanks @Codedotexe