## Not signed in

Want to take part in these discussions? Sign in if you have an account, or apply for one below

## Site Tag Cloud

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

• CommentRowNumber1.
• CommentAuthorAndrew Stacey
• CommentTimeOct 14th 2009

It occured to me that it would be useful to have a bookmarklet so that when one is on an n-lab page, clicking on it takes you here and starts a new discussion in the 'latest changes' category with the name of the n-lab page automatically filled in as the discussion title and the first line of the input (surrounded by square brackets). I have no idea how to write these things, but they don't look hard. I'm happy to have a go, but if someone knows a little about javascript and could hack it together in seconds then that would be great.

In non-javascript terms, the code would be:

1. Look at URL of current page, extract last component, call this the "title".
2. Go to http://www.math.ntnu.no/~stacey/Vanilla/nForum/post.php
3. Select 'latest changes' category
4. Insert "title" as the discussion topic
5. Insert [[title]] as the first line of the content

For a bonus, I'd imagine this being activated when looking at the page just after editing it. So the person's name will be at the foot of the page. Grab that and put that as the last line of the content of the post on the n-forum.

• CommentRowNumber2.
• CommentAuthorUrs
• CommentTimeOct 14th 2009

Very good idea. I had been thinking of something like that but didn't dare to "request" it :-)

• CommentRowNumber3.
• CommentAuthorMike Shulman
• CommentTimeOct 14th 2009

That would be very cool, but I don't yet know how to write such things either, and I don't have time to learn right now. But good luck if you attempt it!

• CommentRowNumber4.
• CommentAuthorAndrew Stacey
• CommentTimeOct 14th 2009

Bother, I was hoping you'd know.

Anyone know where Mike Stay hangs out? He wrote the greasemonkey script for the n-cafe, didn't he? That was javascript, I think.

• CommentRowNumber5.
• CommentAuthorUrs
• CommentTimeOct 14th 2009
This comment is invalid XHTML+MathML+SVG; displaying source. <div> <blockquote> Anyone know where Mike Stay hangs out? </blockquote> <p>For his contact information see <a href="http://math.ucr.edu/~mike/">here</a>.</p> <p>I suppose you know that he's working at/for Google?</p> </div>