To try the thousands of add-ons available here, download Mozilla Firefox, a fast, free way to surf the Web!
ĐóngChào mừng đến với tiện ích Firefox.
Choose from thousands of extra features and styles to make Firefox your own.
ĐóngMango
Giới thiệu về tôi
| Tên | Mango |
|---|---|
| Địa điểm | Alberta, Canada |
| Nghề nghiệp | Software developer |
| Người dùng kể từ | Tháng tư 30, 2012 |
| Số tiện ích được phát triển | 0 add-ons |
| Đánh giá trung bình của các tiện ích của nhà phát triển | Chưa được xếp hạng |
Đánh giá Của tôi
Spamness
Rated 4 out of 5 stars
I had to alter this extension slightly to allow it to work with the default X-Spam-Status header used by my cPanel server. I changed Spamness.parseHeader to:
Spamness.parseHeader = function(headerStr) {
var score = (score = headerStr.match(/(score|hits) ?= ?([-\d\.]+)/)) ? parseFloat(score[2]) : 0;
var required = (required = headerStr.match(/(required) ?= ?([-\d\.]+)/)) ? parseFloat(required[2]) : 0;
var tests = (tests = headerStr.match(/tests ?= ?(.*?[^, ])( |$)/)) ? tests[1].split(/,\s*/) : [];
return new Spamness.Header(score, required, tests);
};
Also, I changed the last line of Spamness.getHeaderName to:
return header.toLowerCase();
This allows Score Header to be case-insensitive. Before, it had to be in lower case.
Thanks to Ryan for this excellent extension. I have been testing new SpamAssassin configuration and it is very useful to be able to sort messages by spam score.
Để tạo ra bộ sưu tập của riêng mình, bạn phải có một tài khoản trên Tiện ích Mozilla.