public marks

PUBLIC MARKS from decembre with tags userscript & comment

August 2010

JSMin (Online Javascript version of this Tool) - A filter which removes comments and unnecessary whitespace from JavaScript files

by 1 other
JSMin is a filter which removes comments and unnecessary whitespace from JavaScript files. It typically reduces filesize by half, resulting in faster downloads. It also encourages a more expressive programming style because it eliminates the download cost of clean, literate self-documentation.You can automate this process with a minimizing application which you can find here and an on-line javascript version here ______ You should note that while comments are useful for maintaining the code, they are a liability itself in Javascript since they will be transmitted along with the code to each and every page load, which can create substantial bandwidth penalties and increase the load time of your page for users. This doesn't mean you shouldn't comment your code, just that once your code is "finished" you should make a backup copy with the comments, then strip out all the comments in the file which is actually sent to the user.

October 2008

Flickr Group Promotion Tool – Userscripts.org

Adds a select box with pre written comments, inviting the photo owner and viewers to join your groups.

Flickr: Inline text editor - for photo comments, groups + help forum – Userscripts.org

Lets you easily re-edit or delete your flickr group, help forum and photo comments without leaving the current page you are on. Features Inline Edit : When you click the edit button of a comment under a photo, in a group or in the help forum a textarea is inserted where your post was, containing your post, enabling you to quickly edit and resubmit it without leaving the page you are on. Particularly useful for group admins. Search and Replace : Lets you search and replace text in your post. Inline Delete : The script changes the delete link below group or forum posts and photo comments, so that it deletes the post without leaving the current page, especially useful for group adminstrators. Updates 19th March 2008 : updated to work with latest version of GM 23rd May 2008 : updated to work with all international versions of the site :) 5th June 2008 : updated to work on photo comments