commit e901cc1bf39780870cab8b0b30e882d28e405249 parent 4a4490923b49d98bff4f49f3c8d77ee8b3c7d54b Author: adam3smith <karcher@u.northwestern.edu> Date: Tue, 23 Apr 2013 18:20:45 -0600 add Zotero protocoll Diffstat:
| M | chrome/content/zotero/xpcom/attachments.js | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js @@ -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) {