public marks

PUBLIC MARKS from decembre with tags code & script

2017

GREASEMONKEY (v.4 - webextention) - FIR 57 - Greasespot: Greasemonkey 4 For Script Authors

What? The Greasespot Wiki will be updated to explain Greasemonkey 4 in detail. Until then, here's a quick summary. First, there is only an embedded editor. Browser Extensions have no access to the file system, so you can no longer author user scripts in your familiar text editor. There is only one object provided to user scripts now, named GM. It has several properties. One of them is info – the equivalent of the old GM_info. There are also several methods of this object: getResourceUrl, deleteValue/getValue/listValues/setValue, xmlHttpRequest. To use these methods you still need @grant, and use the new name, e.g.: // @grant GM.setValue The new form has a dot, where the old form has an underscore. You may specify both @grants, if you'd like to be compatible with Greasemonkey 4 and other user script engines at the same time. As of today, there is no support for: GM_log (use console.log), GM_addStyle, GM_registerMenuCommand, nor GM_getResourceText.

FIR - jQuery - Getting Started | Select2 - The jQuery replacement for select boxes

The jQuery replacement for select boxes Forums GitHub IRC Chat Select2 gives you a customizable select box with support for searching, tagging, remote data sets, infinite scrolling, and many other highly used options.

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

UserScript: Quick link to Flickr Url and HTML code for images. | Femgeek.co.uk

(via)
This is a very basic user script that puts the url of the image you want in the image thumbnail as your browsing the site, it also adds a textarea to enable you to copy the html straight into your blog post without clicking through to the image

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 - Use Greasemonkey to replace links, to images, with images? - Stack Overflow

Replacing links to images is not too hard to do. However, I recommend that you keep the link but display the picture inside it. This is so you can click through if something goes wrong. For example, that sample page you gave has most of the linked images on a dead site. Other linked images only look like they point to images or might be blocked for "hot linking". To make the code robust and easy, we use jQuery and waitForKeyElements. Here is a complete working script that delinks the payload image-links on that sample site:

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.

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).

2009

JavaScript Deobfuscator - Show you what JavaScript gets to run on a web page,

This add-on will show you what JavaScript gets to run on a web page, even if it is obfuscated and generated on the fly. Simply open JavaScript Deobfuscator from the Tools menu and watch the scripts being compiled/executed.

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.

Gmail-Greasemonkey - Google Code

by 3 others
Ce site répertorie différents scripts Greasemonkey permettant d’enrichier et améliorer l’interface de GMail. Ces scripts ne fonctionne que sous Firefox, et bien sur, nécessite l’installation de l’extension Greasemonkey.

2008

Scripts et CSS sur Dynamic Drive | Le blog de Yohann CIURLIK | Spawnrider.Net :: Blog

Tout le monde doit connaitre DynamicDrive (un site au PR 8 ) ?? Un des meilleurs sites où l’on peut obtenir des scripts DHTML, Ajax et Javascript sur Internet. Le site propose aussi une suite d’outils fort bien sympatiques et notamment : * Un outil pour optimiser d’images * Un générateur de Favicon * Un outil de cryptage pour adresse mail * Des outils pour vos fichiers .htaccess. * Un générateur de boutons 80×15 * Un générateur d’arrière-plans en dégradé. Vous trouverez également une partie du site dédié aux CSS :

Venkman's JavaScript Debugger - Provides a way to watch local variables

by 4 others
The way to debug JavaScript web applications. The Venkman JavaScript Debugger is similar to the Codetch Editor in the sense that its an IDE in itself. The extension provides a way to watch local variables, move through the JavaScript source, set breakpoints, and step through each line of code. An excellent tool for web developers of JavaScript.

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.

Convert POST to GET in forms firefox - Recherche Google

Je cherche à savoir quelle données passent en post après le submit d'un form.. Y'a t'il une extension de firefox qui permette de visualiser les données en post ? - - WebDevelopper Ensuite sur la page de ton formulaire, Forms>Convert Form Method> Posts To Gets ... Et ça convertit les formulaires post en get ( surprenant non ;) ) et ainsi tu pourras voir les variables passées dans l'url!

Flickr Services: Flickr API: flickr.photos.search__Return a list of photos matching some criteria.

Only photos visible to the calling user will be returned. To return private or semi-private photos, the caller must be authenticated with 'read' permissions, and have permission to view the photos. Unauthenticated calls will only return public photos.

AjaxDaddy____Service Web Annuaire de scripts, mais en plus dynamique.

by 13 others
Regroupés en différentes catégories et chaque fiche comporte une démonstration afin que vous puissiez en voir les effets.Le code source est aussi inclue. AjaxDaddy un service incontournable pour tous les développeurs qui se respectent.

Anthony Lieuallen's Greasemonkey Compiler___Better Flickr is a compilation of work done by several Greasemonkey scripters

Creates a full fledged Firefox XPI (extension) from a greasemonkey script._I modified the output of the compiler to include multiple scripts with the ability to enable and disable individual features.

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.