I've been using NoScript for a long time, yet this is my first forum post here, in order to suggest a UI enhancement based on my experience, which I believe would benefit more than just myself:
The Whitelist is central to NoScript, yet its current view is not as useful/flexible as it can be. The following are the suggestions that I come up with:
1. Sort the whitelist by 2nd-level domain name
Since today specifying the 3rd-level subdomain in a whitelisting rule becomes important, esp due to cdn domains like cloudfront.net (it's risky to whitelist the whole cloudfront domain as a specific subdomain can be hosting bad scripts), now several rules with the same 2nd-level domain are scattered around, eg aaaaa.cloudfront.net and zzzzz.cloudfront.net are far apart. With 2nd-level-domain based sorting, all the cloudfront.net sites are placed together. Of course, this could be just an optional sorting/viewing mode, not necessarily the only mode.
2. Site grouping
Personally, due to the importance of NoScript, I think it's worthwhile to maintain the whitelist, to keep it as tight as possible. One UI enhancement I believe is to allow (manual) grouping of related rules, which overrides the default sorting suggested above. For instance, specify a Google group:
Code: Select all
Google
- google.com
- gstatic.com
- googleusercontent.com
- googleapis.com
Code: Select all
Dropbox
- dropbox.com
- dt8kf6553cww8.cloudfront.net
I feel the need to keep a brief note about a whitelisted site that I'm not familiar with (for example, for a specific cloudfront subdomain), and the note can show as a tooltip upon hovering.
4. Statistics
This is also essential for maintenance: log and display basic statistics, mainly "total hits" and "time of last hit", and provide corresponding sorting options, so that, if a site has very few hits, or the last hit dates from 2 years ago, then we can consider removing it in order to keep the whitelist lean.
5. Blacklist
I know that NoScript keeps an implicit blacklist, but I really feel it's important to have an equal UI for blacklist for maintenance purposes, and the same suggestions listed above apply to blacklists, esp annotation and statistics.
Side note: as a primitive thought, I even think it could be considered to put both whitelist and blacklist in one list, but with distinct visual style, eg color-code the blocked domains in red, and that allows site grouping to display both allowed and blocked domains for certain site in one place, for instance,
Disqus
- disqus.com
- referer.disqus.com
- a.disquscdn.com
That's all about the whitelist view enhancement that I can think of, and I hope for a discussion with the developers and everyone who are interested in whitelist/blacklist maintenance in NoScript.