John Sullivan wrote:
> Matthew Flaschen <[EMAIL PROTECTED]> writes:
> 
>> John Sullivan wrote:
>>> One thing I'd really like to do is make it easier for people to suggest 
>>> stories
>>> that would be good for the Vista NewsWatch section of the site.
>>>
>>> What do people think about the idea of having a Javascript bookmarklet that
>>> people could install? The vague idea is that when a user clicks on it while
>>> viewing a new story, it would send the link to us. This could be done either
>>> through the user's local mail setup, or maybe through the contact form on
>>> badvista.org.
>> I think I could set this up.
> 
> That'd be awesome, any luck?

Yeah, I wrote a bookmarklet to use the contact form.

javascript:var fullName=""; var emailAddress=""; var
subject=document.title; var url = escape(window.location.href); var
message="Check out \"" + subject + "\" (" + url + ")";
window.open("http://badvista.fsf.org/contact-info?sender_fullname="; +
fullName + "&sender_from_address=" + emailAddress + "&subject=" +
subject + "&message=" + message, "_blank"); void(0);

All you have to do is create a bookmark with that URL, then click it
when you want to use it.  By default, it will setup the contact form with:

blank name and email

title of the page for subject

"Check out "title" (URL)" in the message.

These can be easily tweaked.  For some reason, the script won't work for
certain weird URLs.

Matt Flaschen

_______________________________________________
Advocate mailing list
[email protected]
http://badvista.fsf.org/mailman/listinfo/advocate

Reply via email to