public marks

PUBLIC MARKS from decembre with tags greasemonkey & reference

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

2009

Advanced Greasemonkeying — Yoan Blanc’s weblog

Jouant occasionnellement avec Greasemonkey, j’ai fait face a des problèmes récurrent liés à l’architecture de l’extention elle-même. * Comment réutiliser une bibliothèque déjà présente dans la page, * comment traiter un résultat XML * ou qu’est-ce qui fait que je n’arrive pas à mettre une Yahoo!/Google maps dynamiquement. Réutiliser une librairie(, fonction, variable) existante

UserScript Writing 101 – Manuel of Things to learn - Userscripts.org

The Order of Things to Learn Look to the "Resources" section for places to learn about these. 1. HTML. Hypertext Markup Language. Not the same "language" as JavaScript. This is a markup language, meaning it's a bunch of text that is meant to represent some type of structure, in this case, a web page. 2. XML. Extensible Markup Language. In case you didn't realize, HTML itself is a type of "XML". Learning XML is important because many popular websites (YouTube, Facebook, Last.fm) use XML to interact with data. Since you already know HTML by this point, understanding XML should be cake. 3. CSS. Cascading Style Sheets. This is the way HTML (should be) stylized. You'll want to learn this. 4. JavaScript. Learn all the basics: data types, functions, JavaScript's native functions like prompt, alert, etc. 5. The Greasemonkey Extras. Like I said, Greasmonkey == JavaScript, with a lot of extras. A specific page listing the API's can be found here.

Regular Expressions - Popular Tools, Utilities and Programming Languages That Support Regular Expressions - Specialized Tools and Utilities for Working with Regular Expressions - TutorialTools & LanguagesExamplesBooks & Reference

These tools and utilities have regular expressions as the core of their functionality. grep - The utility from the UNIX world that first made regular expressions popular PowerGREP - Next generation grep for Microsoft Windows RegexBuddy - Learn, create, understand, test, use and save regular expressions. RegexBuddy makes working with regular expressions easier than ever before. General Applications with Notable Support for Regular Expressions There are a lot of applications these days that support regular expressions in one way or another, enhancing certain part of their functionality. But certain applications stand out from the crowd by implementing a full-featured Perl-style regular expression flavor and allowing regular expressions to be used instead of literal search terms throughout the application. EditPad Pro - Convenient text editor with a powerful regex-based search and replace feature, as well as regex-based customizable syntax coloring.

2008

Flickr Code__US__Le blog code.flickr des Dévellopeurs de Flickr

by 5 others
Your one-stop shop for information, gossip and discussion with the Flickr developer community. Le blog code.flickr est disponible uniquement en anglais mais si vous êtes un développeur ayant déjà contribué sur le groupe Flickr Hacks et avez envie de partager un bout de votre expérience

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.

2005