public marks

PUBLIC MARKS from decembre with tags howto & greasemonkey

2010

Use Greasemonkey Scripts In Google Chrome - But, there are some limitations as well (as with Opera — which also supports some greasemonkey scripts) - Chrome does not support @exclude, @require, @resource, unsafeWindow, or any of the special GM_* APIs.

Well, here is how to run userscripts in chrome : * Add this flag to Google Chrome launcher : --enable-user-scripts - Now, create a folder in your user data directory. Name it as User Scripts. - Save your all GM scripts in this folder. - If you want to import all userscripts from Firefox — you need to do it manually. We have shown you the way to backup your Greasemonkey scripts. Just navigate to your GM script folder in Firefox data directory as describe in this post. Now, you can copy and paste every script’s file manuallyAnd, you are done! Restart the chrome — and visit any related site. It is quite possible that your favorite GM Script will do the magic. - Important fact : Chrome supports “Early Injection” – the ability to run scripts very early in the page’s lifecycle. In Firefox, userscripts run after page load. But in chrome, you can set it to run before page load. For this, you need to add an extra line in scripts meta data section : // @run-at document-start

unsafeWindow - Injecting JS functions into the page from a Greasemonkey script on Chrome - Stack Overflow

I have a Greasemonkey script that works just fine in Firefox and Opera. I struggle with getting it to work in Chrome, however. The problem is injecting a function into the page that can be invoked by code from the page. Here's what I'm doing so far: First, I get a helper reference to the unsafeWindow for Firefox. This allows me to have the same code for FF and Opera (and Chrome, I thought).

User Script Compiler - Easily convert Greasemonkey scripts into Firefox extensions

First, you'll need to track down your installed scripts. They're in your Firefox profile, under the "gm_scripts" sub-folder. Or, if you'd prefer, you can skip the search and download any script from the online script repository. Next, you need to change the file extension from .js (Javascript) to .txt (plain text). After you've changed the extension, double-click the file to view the code. Copy and paste the code into the User Script Compiler and hit "Generate." Voila! Your new Firefox extension (.xpi) is complete. To install in Firefox, simply drag the new extension onto the Firefox interface and follow the prompts.

2008

GM Script: Flickr Buddy Icon Reply v4.0 on Flickr - Photo Sharing!

I have updated the script to use image button links. I know that the images are not everyone's cup of tea and you can choose v3.2. Just testing someone's suggestion. All feedbacks and different image button designs welcome!!! to install or update this script, click on this link, GM Script: Flickr Buddy Icon Reply

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

Flickr: Discussing Flickr linked @reply (GM script) in Flickr Hacks

Adds a little (reply) button beneath the buddy icon of the author of every post/comment in a Flickr photo/photoset/group/forum discussion. Clicking (reply) inserts into your reply HTML-code that displays the commenter's username and links back to the comment being replied to. The script works in group discussions, help fora, and in photo and photoset comments i.e. everywhere :) — it even works when the reply-box is on another page! The @reply template may be customized via the script-commands menu (Tools ▶ Greasemonkey ▶ Script Commands)… so whether the scripts inserts @user, user, user:, @user, @user, or possibly even @user, is up to you. The template may even contain HTML code, e.g. to style the username in italics. Inside the reply-box, the formatted @reply is inserted at the cursor’s position. However, if any text inside the reply-box is selected, the template is ignored, and instead, clicking on (reply) makes that selected text link to the post/comment you’re replying to.

Link highlighter script__Short tutorial to build a script

This short tutorial assumes that you have already downloaded and installed the Greasemonkey Firefox add-on. Below follows a very simple JavaScript program, which highlights links to your site, to get you started. I use this script a lot for SEO (Search Engine Optimization) purposes to find my site on a result page in Google, or to find a link to my site, which according to the access_log of my web site should be there.

Automate Adding Bookmarks to del.icio.us :: the How-To Geek ne marche pas avec Delicious 2.0 extension

Greasemonkey comes to the rescue with the Install scriptdel.icio.us autotag user script, but the problem is that you can't edit the bookmarks by clicking on the del.icio.us tag button, because that script always immediately submits the form, and also duplicates the tags. I've created an upgrade to the script that fixes those problems. Just like the first script, it will automatically add the popular and recommended tags:

Running scripts as soon as possible - UserJS.org

Running scripts as soon as possible Written on 2005-11-12Assuming the file name ends with .js (not .user.js), Opera will run User JavaScripts before the first script on the page is processed. This is done to allow you to set any user JavaScript events that you want, before any scripts are encountered. If the page has no scripts of its own, then user scripts are run immediately before the load event is about to fire. Note: if the page has no scripts of its own, then your script will always run after the page has loaded - there is nothing you can do about that.

GREASEMONKEY - Flickr Commented On – Userscripts.org

This adds and small icon over any picture that shows you if you have already commented it, just like the favorite icon works. Very useful when you do lots of comments ;)

GM Script: Flickr Backlink Comment Reply - Discussing GM Script: Flickr Backlink Comment Reply in Flickr Hacks

Greasemonkey script that inserts those (reply) links under every buddy icon in the comments list to do exactly what is explained in the screenshot. Works in photo as well as in group discussions.

XPath Tutorial

by 2 others
XPath is a language for finding information in an XML document. XPath is used to navigate through elements and attributes in an XML document.

2007

FLICKR - OLD - USERSCRIPT - Flickr Backlink Comment Reply

Greasemonkey script that inserts those (reply) links under every buddy icon in the comments list to do exactly what is explained in the screenshot. Works in photo as well as in group discussions.

Blogger del.icio.us publishing and post categorizing helper – Userscripts.org

This script adds tagging support to Blogger blogs. It features a Tags: field on the post edit page and invisibly appends a chunk of tags to the posts you tag, which ends up a

Hack Attack: Become a Gmail master - Lifehacker

by 1 other
Today I've got a rundown of the methods and add-ons I use to make Gmail more powerful. By the time you're done with this article you'll be a bona fide Gmail power user, too. Quick look at what to expect

FlickrCommentTools________Flickr: Flickr Hacks

comment tools script with smilies to it. FlickrCommentTools.user.js

Sync your Greasemonkey scripts across computers ___Hack Attack:

by 3 others
Greasemonkey is by far my favorite Firefox extension. It's the first extension I install on a new installation of Firefox, followed quickly by a slew of my favorite Greasemonkey scripts. The only problem that I've had with Greasemonkey in the past is that

Easy Photo Post in Comment by mortimer : Flickr Hacks

This script will remember the 15 last photos [2] you have visited and display their thumbnail over every comment box on Flickr. You can select the size you want to post and then click on the thumbnail of the photo of interest to insert the obscure voOdOo

Flickr Discussion Images______dopiaza.org: Greasemonkey script:

Flickr Discussion Images, that allows you to view all the images in a Flickr group discussion thread—it's perfect for browsing through threads in groups like Utata where the pictures often are the thread. It adds three links underneath the main post, wh

2006

Flickrati and Flickrati Lite: _______GM Scripts: Flickr Hacks

Two simple GM scripts that allow you to check who's linking (meaning the Technorati cosmos) to any photo. Flickrati Lite userscripts.org/scripts/show/6227 This adds a 'Cosmos' button to the photo toolbar. 'Nuff said.