Greasy Fork is available in English.

annotation

在网页上添加注释,文字高亮。本脚本基于‘Annotation’--一个可以轻松在网页上添加注释的公开库。我仅仅将代码整合一下,使其成为一个类似add-one的用户脚本。//To easily annotate and highlight the contents on webpage.This userscript relays on 'Annotator'--an open-source JavaScript library to easily add annotation functionality to any webpage. I just integrated some code and make it a add-one like userscript.

< Feedback on annotation

Soru/yorum

§
Gönderildi: 07.07.2014

Minified

This seems to use a minified version of the annotator library ( https://github.com/okfn/annotator/ ) -- please use a fully expanded version, for ease of review.

cinimaSahip
§
Gönderildi: 09.07.2014
Düzenlendi: 09.07.2014

I can't find a fully version in their website or github , so.....

§
Gönderildi: 09.07.2014

Apparently Annotator is actually written in CoffeeScript, then compiled into Javascript. So what would be better was to @require the hosted copy (see http://docs.annotatorjs.org/en/latest/getting-started.html ) then monkey-patch whatever changes you need to do to make it work as a userscript. That way only the changes need to be stored on greasyfork, minimizing what needs to be reviewed.

Cevap paylaş

Yanıt göndermek için oturum açın.