adminSettings Support? · uBlockOrigin/uBOL-home · Discussion #35 (original) (raw)
the little number that shows "blocked elements" still shows even on sites added to the allow list
How did you add to the allow list?
adminSettingsis not a property understood by uBOL, the extension is too different to try to mimic how uBO works admin setting-wise.The results might look the same because there is no cosmetic filtering being applied by default since it requires explicitly giving permissions to a site for cosmetic filtering to apply. The block count number on the badge shows that the site is not being allowlisted.
The proper way to allowlist through a policy in uBOL is detailed in the thread above, see #35 (reply in thread) -- it's through the
noFilteringadmin setting. This will exclude listed hostnames from being subjected to filtering, i.e. the same effect as setting a site's filtering mode to "no filtering" in the popup panel.
Thanks, I guess the issue here is the policy is different than uBO which is why I was running into issues and I am still seeing the number of elements being blocked.
I did manage to get it showing in Chrome by adjusting the previous string from 'adminSettings' to 'noFiltering' and messing with the JSON formatting. But I suspect the JSON needs to be further updated - we currently have sites formatted like this in one line:
[".autodesk.com/","https://www.fedex,com/\*",etc\]
But looking at the formatting above, each site will need to be placed in its own brackets/container, correct?
So for example we would need an entry for each site:
[".autodesk.com/"],
["https://www.fedex,com/\*"\],
I will play around with this to see if I can get it loaded correctly.