Last active
August 29, 2015 14:10
-
-
Save eeeschwartz/0847c2033951b27d3a75 to your computer and use it in GitHub Desktop.
Greasemonkey script to annotate pocket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name annotate | |
// @namespace annotate | |
// @include http://getpocket.com/a/read/* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js | |
// @require http://assets.annotateit.org/annotator/v1.2.5/annotator-full.min.js | |
// @resource UI_CSS http://assets.annotateit.org/annotator/v1.2.5/annotator.min.css | |
// @grant GM_addStyle | |
// @grant GM_getResourceText | |
// @run-at document-start | |
// ==/UserScript== | |
var jqUI_CssSrc = GM_getResourceText('UI_CSS'); | |
GM_addStyle(jqUI_CssSrc); | |
jQuery(function () { | |
$('body').annotator().annotator('setupPlugins', {}, { | |
Tags: false, | |
Filter: false | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment