Greasemonkey hack for CiteULike article removal
One crucial feature that CiteULike lacks is the ability to remove entries en masse; the only way to remove several entries is to go to each entry’s page, click on delete, and confirm the deletion– that’s about 3 clicks per removal. Imagine if you want to remove *all* of your entries!
That was the problem I encountered as I attempted to clear my account of all the papers not related to my research, so I decided it’d be worth the time to write a little Greasemonkey script to remove all the entries. Unfortunately, in addition to being very out of practice with Javascript and the DOM, I’ve never used Greasemonkey before, so I ended up writing a two-script hack. The first script loads the first entry on my CiteULike library page, and the second script deletes any entry once its page is loaded; together they eliminate entries one by one until none are left. Inelegant, but much more inefficient than doing it by hand.
Here’s the code for the two scripts– just remember to retask them to point to your citeulike account, and to DISABLE under Greasemonkey or delete them after you’re done.
// ==UserScript== // @name First citeulike article // @namespace http://tangentspace.net // @description Loads first citeulike article // @include http://www.citeulike.org/user/swiftset // ==/UserScript== articlelist = document.evaluate("//div[@class='list']", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null).snapshotItem(0); allarticles = document.evaluate("//a[@class='title']", articlelist, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); document.location.href = allarticles.snapshotItem(0).href;
// ==UserScript== // @name Delete Citeulike Article on load // @namespace http://tangentspace.net // @description deletes any citeulike article on load of the article info page // @include http://www.citeulike.org/user/swiftset/article/* // ==/UserScript== allhidden = document.evaluate("//input[@name='user_article_id']", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null); anelem = allhidden.snapshotItem(0); document.location.href="http://www.citeulike.org/delete?user_article_id=" +anelem.value+"&"+"from=%2fuser%2fswiftset";
Possibly relevant posts:
- Java Postscript interpreter! (12/22/2004)
- Code Highlighting Added (2/2/2005)
- SSH Key Authorization (9/30/2005)

, with starting point 


starting from this candidate point, using Newton’s method. Proceeding in this manner until you return close to the original point (another parameter determined how close that it), you get samples of the curve.
can be identified with a functional
. It can also be identified with a vector field.
such that
and
, then since the chain rule gives
, the one-form
is called the differential of the function
. A one-form
is called exact if there is some
.
. In physics, conservative forces (fields) are exact one-forms.
. The differential of a one-form is the two-form
. So, if
. One-forms such that
is a simple region, where
. Consequently, for closed forms,
Applying Stoke’s theorem to the illustration below gives that
if
at
, the center of the star, and define
for any point
in the domain, where
is a path from
and
, and
is connected, then
. The idea is that if
on
for
, then
on
, which is connected, so
on
, then the function
which takes the values of
on
on
on
.
and
is a smooth path in
and a collection of open subsets
of
into
. For any such choice of subdivision and open sets, if
, 
in
, there is a neighborhood
in which the form is exact. The preimages of these neighborhoods under
, of which a finite subcover can be chosen.
such that the image of each interval is contained in an