add Zotero protocoll

This commit is contained in:
adam3smith 2013-04-23 18:20:45 -06:00
parent 4a4490923b
commit e901cc1bf3

View File

@ -220,9 +220,10 @@ Zotero.Attachments = new function(){
Evernote (evernote://)
OneNote (onenote://)
Kindle (kindle://)
Logos (logosres:) */
Logos (logosres:)
Zotero (zotero://) */
var urlRe = /^((https?|evernote|onenote|brain|nv|mlo|kindle|x-devonthink-item|ftp):\/\/|logosres:)[^\s]*$/;
var urlRe = /^((https?|zotero|evernote|onenote|brain|nv|mlo|kindle|x-devonthink-item|ftp):\/\/|logosres:)[^\s]*$/;
var matches = urlRe.exec(url);
if (!matches) {