public marks

PUBLIC MARKS from decembre with tags tutorial & script

2017

JSON - What is JSON? An Introduction and Guide for Beginners

in this JSON tutorial and guide, I’m attempting to provide a fairly comprehensive discussion of JSON, its history, and its usefulness. I’ll close with a list of some practical JSON tools that might come in handy in future projects. JSON Defined JSON stands for JavaScript Object Notation and it’s a data format. That is, it’s a way to hold bits of information, similar to a database. Although JSON originated outside the ECMAScript specification, it is now closely related to JavaScript with the spec now including a JSON object and many developers incorporating it as a quasi-subset of the language.

2015

Upload 360 degree videos - YouTube Help

(via)
YouTube supports uploading and playback of 360 degree spherical videos on desktop Chrome. In order to upload a 360 degree video file, you'll need to modify the file with an app or script before uploading. __Create a 360-enabled file with an app__ __Download the 360 Video Metadata app for Mac or Windows __Un-zip the file, then open the 360 Video Metadata app. If you're on a Mac, you may need to right-click the app and then click "Open" __Select the video file __Click "Inject and save" __Enter a name for the file that will be created __Save the file. A new file will be created automatically in the same location as the original file __Upload the new file to YouTube __Wait for the 360 degree effect to process. This may take up to an hour.

2014

GM - MPIV (Mouseuver Popup Image Viewer) : Host Rules How-To

You can make MPIV work with more sites by adding your own host rules. You don't need to edit the source code for this. Instead, you paste the rule into MPIV's settings dialog which is accessible from your script manager's toolbar icon menu, e g. "User Script Commands" → "Set up Mouseover Popup Image Viewer" for Greasemonkey users.

JAVASCRIPT - Jscript - Named function expressions demystified

(via)
In a nutshell, named function expressions are useful for one thing only — descriptive function names in debuggers and profilers. Well, there is also a possibility of using function names for recursion, but you will soon see that this is often impractical nowadays. If you don’t care about debugging experience, you have nothing to worry about. Otherwise, read on to see some of the cross-browser glitches you would have to deal with and tips on how work around them.

2010

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.

2009

Customize your Web browsing experience with Greasemonkey | Programming and Development | TechRepublic.com

You can accomplish all of this via JavaScript.Scripts include metadata that provide details about the script, including target sites and sites that should never apply. The following metadata elements may be used: * Name: The name assigned to the script. It is displayed when the script is installed, as well as within the Manage Scripts window. * Namespace: The namespace used to distinguish scripts when more than one has the same name. (This is the same approach as used in programming languages like Java and C#.) * Description: A brief description of the script’s purpose. * Include: A list of URLs associated with the script (i.e., the URLs for running the script). The URLs may include wildcard characters (*). Multiple URLs appear on their own line. * Exclude: A list of URLs for which the scripts will never run. Multiple entries appear on their own line.

Forum iziSoftware: SOMMAIRE des Scripts

5 Juin 2009 à 11:51 Sommaire des Scripts 1-Affichage Centrage de pages autoresize http://forum.izisoftware.com/fr/forum_posts.asp?TID=10819 2-Défilement déroule change texte et image http://forum.izisoftware.com/fr/forum_posts.asp?TID=10821 3-Compteur visiteur date temps heure http://forum.izisoftware.com/fr/forum_posts.asp?TID=10823 4-Développer Créer bannière PopUp http://forum.izisoftware.com/fr/forum_posts.asp?TID=10824 5-Navigation ancre bouton page lien redirection http://forum.izisoftware.com/fr/forum_posts.asp?TID=10825 6-Livres d'or NewsLetter Météo statistiques http://forum.izisoftware.com/fr/forum_posts.asp?TID=10826 7-Cartographie Galeries Flash Multimédia Traduction http://forum.izisoftware.com/fr/forum_posts.asp?TID=10827

jQuery.info - Spip Plugin

by 16 others
Découvrir et utiliser jQuery, la librairie javascript du XXIIème siècle.

L'objet REGEXP - Les Expressions Régulières et JavaScript - ASP-PHP.net

Qu'est-ce que c'est encore que cette bête ?... En fait, un moyen simple, même si parfois obscur au premier abord, pour faire des recherches d'occurences dans une chaîne... Exemple : Pour vérifier la validité de structure d'une adresse email saisie dans un formulaire :

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.

PopTip - Greasemonkey Customisable - Add pop-up preview to any site - Flickr

Script Summary: Add pop-up preview to any site.(Script homepage).....Rules for popup action must be written in "SITEINFO" in proper format. Properties of SITEINFO url (required)(RegExp) : URL to which the rule is applied. targetElement (required)(XPath) : XPath which select "A" elements. When "mouseover" action occurs on them, linked pages (values of "href" attributes) will be fetched. popupElement (required) (XPath) : XPath which select elements in fetched pages. These elements will be appear in tooltips. disabled (optional) : If you want to disable a rule temporally, set "false". style (optional) : CSS attributes of tooltips. Please be careful to write in CamelCase! (border-width -> borderWidth) stripe (optional) : If you set "true", small icons will be appended to elements on which the action will occur.

Tutorial : Greasemonkey Recipe Book for Greasemonkey

Example Greasemonkey script below. The only things that need to be changed are bolded italic. In short, the XPath that identifies the top-level DIV, the XPath that identifies the DIV containing the content you want to display, and a list of XPath's that you want to remove.

Handling Keyboard Shortcuts in JavaScript

by 8 others
Despite the many JavaScript libraries that are available today, I cannot find one that makes it easy to add keyboard shortcuts(or accelerators) to your javascript app. This is because keyboard shortcuts where only used in JavaScript games - no serious web application used keyboard shortcuts to navigate around its interface. But Google apps like Google Reader and Gmail changed that. So, I have created a function to make adding shortcuts to your application much easier.

2008

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.

Firefox Web Developer Toolbar | Webmaster Tips

Web Developer Toolbar is one of the most useful tools you can have for web design. This is a short introduction that will show you some ways that you can use it when making web sites.

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.

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.

decembre's TAGS related to tag tutorial

aide +   application +   art +   article +   astuce +   best +   bib +   bibliotheque +   bibliotheque2.0 +   blog +   chercher +   code +   comment +   configuration +   configurer +   css +   delicious +   demo +   design +   dev +   disk +   disque +   documentation +   editer +   emule +   extension +   film +   firefox +   flickr +   FlickrSurf+ +   free +   Free:FreeBox +   Free:FreePhonie +   freeware +   ftp +   google +   greasemonkey +   groupe +   guide +   hack +   howto +   html +   idea +   idee +   illustration +   image +   information +   installer +   java +   javascript +   library2.0 +   lifehacker +   liste +   logiciel +   mobile +   mp3 +   music +   musique +   online +   opensource +   outil +   p2p +   partager +   photo +   photoshop +   player +   plugin +   programme +   publier +   rechercher +   reference +   reparer +   reseau +   ressource +   routeur +   sauvegarde +   script +   search +   service +   share +   sip +   site +   tag +   telephone +   tips +   tool +   tutoriel +   tv +   usb +   user +   utilitaire +   video +   voip +   web +   web2.0 +   webdesign +   webdev +   wifi +   xml +   xpath +