knoa.jp 發表對 Linkification 的評論
評分: 4 / 5 顆星
@Morisatos
Here you are !! ;-D
Multibyte(Japanese) support version is here.
http://knoa.jp/up/linkification.1.3.8.mb.xpi
# It detect urls/mails by white characters list. (by black list in the original.)
# It uses pretty simple regex, but may be better in general browsing.
# I rerwite Firefox support version for 10.*. :-)
test case:
http://knoa.jp/up/linkification.txt
http://yellow5.us/firefox/testcases.txt
評分: 4 / 5 顆星
@Morisatos Thanks again.
I just add "@" to white list of URL characters pattern.
Multibyte(Japanese) support version is here.
http://knoa.jp/up/linkification.1.3.8.mb.xpi
# It detect urls/mails by white characters list. (by black list in the original.)
# It uses pretty simple regex, but may be better in general browsing.
# I rerwite Firefox support version for 10.*. :-)
test case:
http://knoa.jp/up/linkification.txt
評分: 4 / 5 顆星
I wrote below past day, but deleted by webmaster(?).
Is modifying xpi files not allowed ? How can I learn rule ? What's the defference with other uploaders ?
**
@Morisatos Thanks!!
Multibyte(Japanese) support version is here.
http://knoa.jp/up/linkification.1.3.8.mb.xpi
# It detect urls/mails by white characters list. (by black list in the original.)
# It uses pretty simple regex, but may be better in general browsing.
# I rerwite Firefox support version for 10.*. :-)
test case:
http://knoa.jp/up/linkification.txt
評分: 4 / 5 顆星
This is a worse sample of mail/url detector by white list.
You can edit "\chrome\linkification\content\linkification\linkification.js".
// var sURLPath = sURLPathChars + '*' + sEndChars;
var sURLPath = '[0-9a-z\\.\\-\\_\\/\\~\\%\\+\\?\\=\\&\\#\\*\\:\\;\\,]+[0-9a-z\\-\\_\\/\\~\\%\\+\\?\\=\\&\\#\\*\\:\\;\\,]';
// var sRegExpEmail = '(' + sUserNamePasswordChars + '+@' + '(?:(?:(?:' + sAllSubDomain + '\\.)+' + sTopLevelDomains + ')|(?:' + sIPAddress + '))(?:' + sGetStringChars + '+' + sEndChars + ')?)';
var sRegExpEmail = '([0-9a-z\\.\\-\\_\\+]+@[0-9a-z\\.\\-]+[a-z])';
test case:
http://knoa.jp/up/linkification.txt
評分: 4 / 5 顆星
@Ral of July 23, 2011
Yes. It seems to detect email by blacklist of separator like spaces or quotes("). But It can't detect in Japanese or some other language sentences by blacklist. It should detect email by whitelist regex like [a-zA-Z\.\_\-]@..., I think.
評分: 4 / 5 顆星
It sometimes be confused by multibyte characters in Japanese sentences.
Test case: http://knoa.jp/up/linkification.txt
**reply @Ral of July 23, 2011**
Yes. It seems to detect email by blacklist of separator like spaces or quotes("). But It can't detect in Japanese or some other language sentences by blacklist. It should detect email by whitelist regex like [a-zA-Z\.\_\-]@..., I think.
評分: 4 / 5 顆星
It sometimes be confused by multibyte characters in Japanese sentences.
Test case: http://knoa.jp/up/linkification.txt
請選擇一個原因:
如果您要新增自己的收藏集,你必須先申請一個 Mozilla 附加元件的帳號。