<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gatellier.be &#187; Addons</title>
	<atom:link href="http://www.gatellier.be/blog/tags/marin/firefox/extension/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gatellier.be/blog</link>
	<description>Interwebs with passion.</description>
	<lastBuildDate>Thu, 01 Jul 2010 12:17:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<atom:link rel='hub' href='http://www.gatellier.be/blog/?pushpress=hub'/>
		<item>
		<title>Addon Firefox: Content Encoding Detector 0.4b</title>
		<link>http://www.gatellier.be/blog/addon-firefox-content-encoding-detector-04b/</link>
		<comments>http://www.gatellier.be/blog/addon-firefox-content-encoding-detector-04b/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 11:09:14 +0000</pubDate>
		<dc:creator>Marin</dc:creator>
				<category><![CDATA[Addons]]></category>
		<category><![CDATA[ContentEncoding]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Performances]]></category>
		<category><![CDATA[utilitaire]]></category>
		<category><![CDATA[addon]]></category>
		<category><![CDATA[ContentEncodingDetector]]></category>
		<category><![CDATA[ContentEncodingV04b]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.gatellier.be/blog/?p=321</guid>
		<description><![CDATA[Content Encoding Detector est un addon Firefox permettant de voir si le serveur web que vous visitez sert des pages gzippées]]></description>
			<content:encoded><![CDATA[<p>Dans le but de promouvoir un web <strong>plus rapide</strong> et donc <strong>plus respectueux de ses utilisateurs</strong>, je viens de cr&eacute;er un petit Addon Firefox qui promeut l'encodage des pages en GZIP.</p>
<p>Cet encodage permet de r&eacute;duire drastiquement le poid des fichiers transf&eacute;r&eacute;s entre le serveur web et votre navigateur.</p>

<p style="text-align:center;"><a href="https://addons.mozilla.org/en-US/firefox/addon/54647/" hreflang="en"><img src="http://static.gatellier.be/i/091214/content_encoding_detector.png" alt="Capture d'&eacute;cran - Content Encoding Detector" /></a></p>

<h3>Point de vue technique&nbsp;:</h3>
<p>L'addon <strong>Content Encoding Detector</strong> soumet l'url de la page que vous visitez au service <a href="http://json-head.appspot.com/">JSON-HEAD</a> de <a href="http://simonwillison.net/2008/Jul/29/jsonhead/">Simon Willison</a>.</p>
<p>Si le serveur retourne l'http_header "Content-Encoding", l'ic&ocirc;ne de status Firefox est mise &agrave; jour pour refl&eacute;ter l'encodage.</p>
<p>L'addon est en cours de validation mais vous pouvez d&eacute;j&agrave; <a href="https://addons.mozilla.org/en-US/firefox/addon/54647/" hreflang="en">le t&eacute;l&eacute;charger &agrave; sa page Mozilla Addons</a>.</p>

<p><small>tag: ContentEncoding</small></p>
<hr />
<p><small>© Marin for <a href="http://www.gatellier.be/blog">Gatellier.be</a>, 2009. |
<a href="http://www.gatellier.be/blog/addon-firefox-content-encoding-detector-04b/">Permalink</a> |
<a href="http://www.gatellier.be/blog/addon-firefox-content-encoding-detector-04b/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.gatellier.be/blog/addon-firefox-content-encoding-detector-04b/&title=Addon Firefox: Content Encoding Detector 0.4b">del.icio.us</a>
<br/>
Post tags: <a href="http://www.gatellier.be/blog/tag/addon/" rel="tag">addon</a>, <a href="http://www.gatellier.be/blog/tag/contentencoding/" rel="tag">ContentEncoding</a>, <a href="http://www.gatellier.be/blog/tag/contentencodingdetector/" rel="tag">ContentEncodingDetector</a>, <a href="http://www.gatellier.be/blog/tag/contentencodingv04b/" rel="tag">ContentEncodingV04b</a>, <a href="http://www.gatellier.be/blog/tag/firefox/" rel="tag">Firefox</a>, <a href="http://www.gatellier.be/blog/tag/gzip/" rel="tag">gzip</a>, <a href="http://www.gatellier.be/blog/tag/performance/" rel="tag">performance</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.gatellier.be/blog/addon-firefox-content-encoding-detector-04b/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Geotagging Bookmarklet</title>
		<link>http://www.gatellier.be/blog/geotagging-bookmarklet/</link>
		<comments>http://www.gatellier.be/blog/geotagging-bookmarklet/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 13:53:11 +0000</pubDate>
		<dc:creator>Marin</dc:creator>
				<category><![CDATA[Addons]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[browsing]]></category>
		<category><![CDATA[geotagging]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[utilitaire]]></category>
		<category><![CDATA[gears]]></category>
		<category><![CDATA[geode]]></category>
		<category><![CDATA[geolocalisation]]></category>
		<category><![CDATA[geolocation]]></category>
		<category><![CDATA[google api]]></category>

		<guid isPermaLink="false">http://www.gatellier.be/blog/?p=249</guid>
		<description><![CDATA[Via les spécifications disponibles et méthodes les plus faciles, je viens donc d'écrire un bookmarklet qui rajoute votre position géographique dans n'importe quel page web.]]></description>
			<content:encoded><![CDATA[<p>ou I CAN HAZ GEOTAGZ?</p>

<h2>Status actuel de la géolocalisation&nbsp;:</h2>

<ul>
	<li>Le <a href="http://www.w3.org/2008/geolocation/" hreflang="en">Groupe de Travail du W3C sur la géolocalisation</a> est en place depuis peu, avec pour but de mettre sur pied des recommandations pour la fin de l'année.</li>
	<li><a href="https://developer.mozilla.org/En/Using_geolocation" hreflang="en">Firefox 3.1 promet</a> l'implémentation d'une <abbr title="Application Programming Interface" lang="en">API</abbr> de géolocalisation (pas encore de tests concluants sur la v3.1b2).</li>
	<li>Une série de providers (tels <a href="http://dev3.maxmind.com/app/javascript_city" hreflang="en" lang="en">MaxMind</a>) fournissent des services de conversion d'adresse <abbr title="Internet Protocol">ip</abbr> vers un pays ou une adresse</li>
	<li>L'<a href="http://loki.com/download" hreflang="en">extension Firefox Loki</a> permet une localisation précise sur base de la triangulation des signaux des routeurs wifi alentours.</li>
	<li>L'<a href="http://labs.mozilla.com/2008/10/introducing-geode/" hreflang="en">extension Firefox Geode</a> promet d'employer les futures spécifications (<code>navigator.geolocation.getCurrentPosition()</code>)</li>
	<li>Google Gears a aussi une <a href="http://code.google.com/apis/gears/api_geolocation.html" hreflang="en">API de géolocalisation</a></li>
	<li><a href="http://code.google.com/apis/ajax/documentation/#ClientLocation" hreflang="en">Google JSAPI</a> (qui permet d'ajouter dans vos sites les librairies JavaScript les plus employées) a des méthodes pour retrouver la position du visiteur.</li>
	<li><a href="http://blog.brightkite.com/2008/05/02/new-features-georss-around-me-radius-nearby-notifications-and-more/" hreflang="en">BrightKite permet de Twitter et géotagguer</a> directement les photos prises avec son iPhone</li>
</ul>

<h2>Geotag bookmarklet</h2>

<p>Via les spécifications disponibles et méthodes les plus faciles, je viens donc d'écrire un bookmarklet qui rajoute votre position géographique dans n'importe quel page web.</p>

<p><strong><a style="padding:5px;border:1px solid #4960A3" href='javascript:var%20GT%3D%28function%28%29%7Bvar%20c%3D4%2Cb%3D%22undefined%22%2Cf%3Ddocument%3Bvar%20e%3Dfunction%28h%2Cg%29%7Bvar%20d%3DMath.pow%2810%2Cg%29%3Breturn%20Math.round%28h*d%29/d%7D%3Bvar%20a%3Dfunction%28g%29%7Bvar%20d%3Df.getElementsByTagName%28%22textarea%22%29%5B0%5D%3Bif%28d.value.indexOf%28%22%23geo%22%29%3C0%29%7Bd.value+%3D%22%23geo%3A%22+e%28g.latitude%2Cc%29+%22%2C%22+e%28g.longitude%2Cc%29%7D%7D%3Bthis.getLocation%3Dfunction%28%29%7Bvar%20d%3Dgoogle.loader.ClientLocation%3Bif%28d%21%3D%3Dnull%29%7Ba%28d%29%7D%7D%3Bthis.tag%3Dfunction%28%29%7Bif%28typeof%28navigator.geolocation%29%21%3Db%29%7Bnavigator.geolocation.getCurrentPosition%28function%28g%29%7Ba%28g%29%7D%29%7Delse%7Bif%28typeof%28google%29%3D%3Db%29%7Bvar%20d%3Ddocument.createElement%28%22script%22%29%3Bd.src%3D%22http%3A//www.google.com/jsapi%3Fcallback%3DGT.getLocation%22%3Bf.getElementsByTagName%28%22body%22%29%5B0%5D.appendChild%28d%29%7D%7D%7D%3Breturn%7Btag%3Atag%2CgetLocation%3AgetLocation%7D%7D%29%28%29%3BGT.tag%28%29%3B'>GeoTag Bookmarket</a></strong></p>

<p>Pour l'installer, il suffit de glisser déposer le lien ci-dessus dans votre barre de favoris.</p>
<p>En cliquant dessus, le bookmarket rajoutera votre position (s'il la trouve) au premier champ <code>textarea</code> de la page que vous visitez. Parfait pour Twitter.com</p>

<h2>Le script de mon Geotag bookmarklet</h2>

<pre class="brush: javascript;">
var GT=(function(){
	var P=4,u=&quot;undefined&quot;,d=document;
	var format=function(n,c){
		var m=Math.pow(10,c);
		return Math.round(n*m)/m;
	};
	var addMarker=function (p){
		var t=d.getElementsByTagName(&quot;textarea&quot;)[0];
		if(t.value.indexOf(&quot;#geo&quot;)&lt;0){t.value+=&quot;#geo:&quot;+format(p.latitude,P)+&quot;,&quot;+format(p.longitude,P);}
	};
	this.getLocation=function(){
		var p=google.loader.ClientLocation;
		if (p!==null){addMarker(p);}
	};
	this.tag=function(){
		if(typeof(navigator.geolocation)!=u){
			//https://developer.mozilla.org/En/Using_geolocation || geode
			navigator.geolocation.getCurrentPosition(function(p){addMarker(p);});
		} else {
			//http://code.google.com/apis/ajax/documentation/#ClientLocation
			if (typeof(google)==u){
				var jsapi=document.createElement(&quot;script&quot;);
				jsapi.src=&quot;http://www.google.com/jsapi?callback=GT.getLocation&quot;;
				d.getElementsByTagName(&quot;body&quot;)[0].appendChild(jsapi);
			}
		}
	};
	return {tag:tag,getLocation:getLocation};
})();
GT.tag();
</pre>

<p>Mon script vérifie si l'objet <code>navigator.geolocation</code> existe (donc, si c'est FF3.1b2 ou si Firefox a l'addon Geode installé), sinon, il utilisera les méthodes fournies par le <a href="http://code.google.com/apis/ajax/documentation/#ClientLocation" hreflang="en">JSAPI de Google</a>.</p>

<h3>Bugs connus&nbsp;:</h3>

<ul>
	<li>Si vous passez par un server proxi pour vous connecter à internet ou si simplement les services de géolocalisation ne reconnaissent pas, aucun tag ne sera affiché.</li>
	<li>Internet Explorer 6 ne supporte pas les longs bookmarklets, je vous recommande donc d'installer un autre navigateur.</li>
	<li>La géolocalisation avec Firefox 3.1 beta 2 ne marche pas encore super bien.</li>
	<li>Je limite la précision à quatre décimales.</li>
	<li>J'emploie le système de géotagging employé BrightKite (par soucis de brièveté pour le status Twitter <code>#geo:&lt;lat&gt;,&lt;long&gt;</code>) et pas <a href="http://en.wikipedia.org/wiki/Geotagging#Geotagging_in_tag-based_systems" hreflang="en">celui recommandé par Flickr</a> (<code>geo:lat=&lt;lat&gt;,geo:lon=&lt;long&gt;</code>)</li>
</ul>

<h3>Liens relatifs&nbsp;:</h3>

<ul>
	<li>Le <a href="http://almaer.com/whereareyou/" hreflang="en">script de Dion Almaer</a> qui emploie aussi Google Gears (via <a href="http://ajaxian.com/archives/firefox-31-beta-geolocation-font-face-video-and-audio-xhr-and-tracemonkey" hreflang="en">Ajaxians</a>)</li>
	<li><a href="http://www.wired.com/software/webservices/news/2008/12/YE8_web?currentPage=2" lang="en">6 technologies de 2008 que vous devez utiliser maintenant</a> (dont la géolocalisation) sur Wired</li>
	<li>Exemple de <a href="http://twitter.com/ryanstewart/status/1055867917" hreflang="en">Tweet géotaggué</a> via BrightKite</li>
</ul><hr />
<p><small>© Marin for <a href="http://www.gatellier.be/blog">Gatellier.be</a>, 2009. |
<a href="http://www.gatellier.be/blog/geotagging-bookmarklet/">Permalink</a> |
<a href="http://www.gatellier.be/blog/geotagging-bookmarklet/#comments">3 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.gatellier.be/blog/geotagging-bookmarklet/&title=Geotagging Bookmarklet">del.icio.us</a>
<br/>
Post tags: <a href="http://www.gatellier.be/blog/tag/firefox/" rel="tag">Firefox</a>, <a href="http://www.gatellier.be/blog/tag/gears/" rel="tag">gears</a>, <a href="http://www.gatellier.be/blog/tag/geode/" rel="tag">geode</a>, <a href="http://www.gatellier.be/blog/tag/geolocalisation/" rel="tag">geolocalisation</a>, <a href="http://www.gatellier.be/blog/tag/geolocation/" rel="tag">geolocation</a>, <a href="http://www.gatellier.be/blog/tag/geotagging/" rel="tag">geotagging</a>, <a href="http://www.gatellier.be/blog/tag/google-api/" rel="tag">google api</a>, <a href="http://www.gatellier.be/blog/tag/twitter/" rel="tag">Twitter</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.gatellier.be/blog/geotagging-bookmarklet/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Signature automatique sur un blog</title>
		<link>http://www.gatellier.be/blog/signature-automatique-sur-un-blog/</link>
		<comments>http://www.gatellier.be/blog/signature-automatique-sur-un-blog/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 16:20:58 +0000</pubDate>
		<dc:creator>Marin</dc:creator>
				<category><![CDATA[Addons]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[productivité]]></category>
		<category><![CDATA[greasemonkey signature]]></category>

		<guid isPermaLink="false">http://www.gatellier.be/blog/?p=233</guid>
		<description><![CDATA[Insérez automatiquement votre signature via un petit script]]></description>
			<content:encoded><![CDATA[<p>Quand je vois <a href="http://www.google.be/search?q=%22amicalement+monique%22">le nombre de signatures sur les commentaires de blogs</a>, je me dis qu'un petit script pour automatiser les signatures serait le bienvenu.</p>
<h2>Prérequis</h2>
<p>Quelques ingrédients sont nécessaires pour avoir une signature automatique&nbsp;:</p>
<ul>
	<li>Un navigateur internet (Firefox/Safari/Chrome/Opera/IE)</li>
	<li>L'<a href="https://addons.mozilla.org/en-US/firefox/addon/748" hreflang="en" lang="en">addon GreaseMonkey</a> pour Firefox ou équivalent&nbsp;:
		<ul style="margin:1em auto;padding-bottom:0;">
			<li><a href="http://greasemetal.31tools.com/" hreflang="en">GreaseMetal</a> pour Chrome</li>
			<li><a href="http://www.culater.net/software/SIMBL/SIMBL.php" hreflang="en">SIMBL</a> et <a href="http://8-p.info/greasekit/" hreflang="en">GreaseKit</a> pour Safari MacOSX</li>
			<li><a href="http://www.gm4ie.com/" hreflang="en">gm4ie</a> pour Internet Explorer</li>
			<li>rien de spécial pour Opera, on peut <a href="http://my.opera.com/Contrid/blog/2007/02/11/how-to-greasemonkey-in-opera" hreflang="en">directement exécuter des userscripts</a></li>
		</ul>
	</li>
	<li>Un fichier JavaScript.</li>
</ul>

<h2>Amicalement, Greasemonkey</h2>
<p>Greasemonkey est une extension qui vous permet d'écrire des scripts pour modifier les pages que vous visitez.</p>
<p>Voici le script&nbsp;:</p>
<pre class="brush: javascript;">
//&amp;lt;![CDATA[
// ==UserScript==
// @name		Amicalement Greasemonkey
// @author		Marin Gatellier
// @namespace	http://www.gatellier.be/blog/
// @description	Ads your signature into textareas
// @include		*
// ==/UserScript==
(function(){
	var t=document.getElementsByTagName(&quot;TEXTAREA&quot;);
	var signature=&quot;\n\nAmicalement,\nGreasemonkey&quot;;
	for (var i=0,j=t.length;i&amp;lt;j;i++){
		if (t[i].value.indexOf(signature)&amp;lt;0){
			t[i].value=t[i].value+signature;
		}
	}
})()
//]]&amp;gt;
</pre>

<p>Vous devez évidemment <strong>modifier la variable <code>signature</code></strong> (ligne 10) avec votre propre signature. </p>
<h3>Petites astuces&nbsp;:</h3>
<dl>
	<dt><code>\n</code></dt>
	<dd>représente une nouvelle ligne</dd>
	
	<dt><code>\t</code></dt>
	<dd>représente un tab</dd>
	
	<dt><code>\\</code></dt>
	<dd>représente un backslash</dd>
</dl>

<p>Une fois installé, ce petit script ajoutera automatiquement votre signature à chaque textearea de chaque site web (peut être customisé par site)</p>
<p><strong>Installer le script <a href="http://vault.gatellier.be/amicalement-greasemonkey/amicalementgreasemonkey.user.js">Amicalement Greasemonkey</a></strong></p>
<hr />
<p><small>© Marin for <a href="http://www.gatellier.be/blog">Gatellier.be</a>, 2008. |
<a href="http://www.gatellier.be/blog/signature-automatique-sur-un-blog/">Permalink</a> |
<a href="http://www.gatellier.be/blog/signature-automatique-sur-un-blog/#comments">4 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.gatellier.be/blog/signature-automatique-sur-un-blog/&title=Signature automatique sur un blog">del.icio.us</a>
<br/>
Post tags: <a href="http://www.gatellier.be/blog/tag/greasemonkey-signature/" rel="tag">greasemonkey signature</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.gatellier.be/blog/signature-automatique-sur-un-blog/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Rétablir l&#8217;ancienne icône de status de Firebug</title>
		<link>http://www.gatellier.be/blog/retablir-icone-status-bar-firebug/</link>
		<comments>http://www.gatellier.be/blog/retablir-icone-status-bar-firebug/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 18:39:22 +0000</pubDate>
		<dc:creator>Marin</dc:creator>
				<category><![CDATA[Addons]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[productivité]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firefox 3]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[status icon]]></category>

		<guid isPermaLink="false">http://www.gatellier.be/blog/retablir-icone-status-bar-firebug/</guid>
		<description><![CDATA[L'icône de Firebug 1.2b n'est pas très visible dans la barre de status. Une petite modification du fichier CSS permet de restaurer l'ancienne icône.]]></description>
			<content:encoded><![CDATA[<p>Firebug, l'excellente extension Firefox de <a href="http://www.joehewitt.com/" hreflang="en">Joe Hewitt</a>, n'est compatible avec Firefox 3 que dans sa <a href="http://getfirebug.com/releases/" hreflang="en">version 1.2 beta</a>.</p>
<p>Cette nouvelle version apporte <a href="http://code.google.com/p/fbug/source/browse/branches/firebug1.2/docs/ReleaseNotes_1.2.txt" hreflang="en">plein de changements</a> sous le capot mais aussi une <strong>nouvelle ic&ocirc;ne de status qui me chipote un peu</strong>. </p>
<p>La nouvelle ic&ocirc;ne de status de Firebug, qui reprend le logo Firebug, passe vraiment inaper&ccedil;ue. Elle <strong>manque vraiment de contraste</strong> par rapport aux autres ic&ocirc;nes qu'on pourrait avoir dans la barre de status.</p>
<p><img src="http://z.gatellier.be/i/080707/firebug-new-status-icon.png" alt="Manque de contraste de la nouvelle ic&ocirc;ne Firebug" /><br />
La nouvelle ic&ocirc;ne de status Firebug passe inaper&ccedil;ue.</p>

<p>La bonne nouvelle c'est que, vu l'architecture des Addons Firefox, l'<strong>ancienne ic&ocirc;ne peut &ecirc;tre facilement r&eacute;tablie</strong>.</p>

<h3>Localisation du fichier <abbr title="Cascading Style Sheet">CSS</abbr> de Firebug.</h3>
<p>Pour ce faire, il faut trouver et &eacute;diter la CSS qui g&egrave;re la pr&eacute;sentation de Firebug.<br />
Sur Windows, par d&eacute;faut, elle se trouve dans le r&eacute;pertoire :</p>

<p><code>C:\Documents and Settings\<em>User</em>\Application Data\Mozilla\Firefox&#8203;\Profiles\<em>la1xxvhe.default</em>\extensions\firebug@software.joehewitt.com&#8203;\skin\classic\firebug.css</code></p>
<p>Les parties en <em>italiques</em> sont des parties qui diff&eacute;reront sur votre PC.</p>

<p>Sur MacOS, il faut chercher un petit peu, l'explication se trouve sur le <a href="http://support.mozilla.com/en-US/kb/Profiles" hreflang="en">site de support Mozilla</a>.</p>

<h3>Edition du fichier CSS.</h3>
<p>Pour r&eacute;tablir l'ancienne ic&ocirc;ne de Firebug, j'ai simplement <strong>quitt&eacute; Firefox puis remplac&eacute; les lignes suivantes</strong> dans le fichier CSS&nbsp;:</p>

<pre class="brush: css;">
#fbStatusIcon {
    list-style-image: url(chrome://firebug/skin/firebug-gray-16.png);
}
#fbStatusIcon[jsd=&quot;on&quot;] {
    list-style-image: url(chrome://firebug/skin/firebug16.png);
}
#fbStatusIcon[net=&quot;on&quot;] {
    list-style-image: url(chrome://firebug/skin/firebug16.png);
}
#fbStatusIcon[errors=&quot;on&quot;] {
    list-style-image: url(chrome://firebug/skin/firebug16.png);
}
</pre>

<p>par&nbsp;:</p>
<pre class="brush: css;">
#fbStatusIcon {
    list-style-image: url(chrome://firebug/skin/disabledIcon.png);
}
#fbStatusIcon[jsd=&quot;on&quot;] {
    list-style-image: url(chrome://firebug/skin/okIcon-sm.png);
}
#fbStatusIcon[net=&quot;on&quot;] {
    list-style-image: url(chrome://firebug/skin/okIcon-sm.png);
}
#fbStatusIcon[errors=&quot;on&quot;] {
    list-style-image: url(chrome://firebug/skin/okIcon-sm.png);
}
</pre>

<p><img src="http://z.gatellier.be/i/080707/firebug-old-status-icon.png" alt="L'ancienne ic&ocirc;ne Firebug est r&eacute;tablie" /></p>

<p>Et hop, une fois Firefox red&eacute;marr&eacute;, l'ancienne ic&ocirc;ne, beaucoup plus visible, est restaur&eacute;e.</p>


<h3>Liens relatifs&nbsp;:</h3>
<ul>
	<li><a href="http://getfirebug.com/" hreflang="en">Get Firebug</a></li>
	<li><a href="http://yellow5.us/firefox/osb/" hreflang="en">Ranger les ic&ocirc;nes de sa barre de status</a></li>
</ul><hr />
<p><small>© Marin for <a href="http://www.gatellier.be/blog">Gatellier.be</a>, 2008. |
<a href="http://www.gatellier.be/blog/retablir-icone-status-bar-firebug/">Permalink</a> |
<a href="http://www.gatellier.be/blog/retablir-icone-status-bar-firebug/#comments">4 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.gatellier.be/blog/retablir-icone-status-bar-firebug/&title=Rétablir l&#8217;ancienne icône de status de Firebug">del.icio.us</a>
<br/>
Post tags: <a href="http://www.gatellier.be/blog/tag/firebug/" rel="tag">firebug</a>, <a href="http://www.gatellier.be/blog/tag/firefox-3/" rel="tag">firefox 3</a>, <a href="http://www.gatellier.be/blog/tag/fix/" rel="tag">fix</a>, <a href="http://www.gatellier.be/blog/tag/status-icon/" rel="tag">status icon</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.gatellier.be/blog/retablir-icone-status-bar-firebug/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Extensions Firefox d&#8217;un Intégrateur</title>
		<link>http://www.gatellier.be/blog/extensions-firefox-integrateur/</link>
		<comments>http://www.gatellier.be/blog/extensions-firefox-integrateur/#comments</comments>
		<pubDate>Fri, 30 May 2008 15:45:49 +0000</pubDate>
		<dc:creator>Marin</dc:creator>
				<category><![CDATA[Addons]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[browsing]]></category>
		<category><![CDATA[productivité]]></category>
		<category><![CDATA[addons]]></category>
		<category><![CDATA[emakina]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[integrator]]></category>

		<guid isPermaLink="false">http://www.gatellier.be/blog/extensions-firefox-integrateur/</guid>
		<description><![CDATA[Tout comme j'ai exposé ma liste de plugins WordPress, je profite de la sortie imminente de Firefox 3 pour faire un status des extensions que j'emploie sur mon butineur préféré au travail. Ma version: Firefox 2.0.0.14 (2008040413) Operating System: WINNT (x86-msvc) Adblock Plus 0.5.11.4Firefox 0.7 - 3.*Filters ads from web-pages. Now with whitelisting and synchronization. [...]]]></description>
			<content:encoded><![CDATA[<p>Tout comme j'ai exposé <a href="http://www.gatellier.be/blog/plugins/">ma liste de plugins WordPress</a>, je profite de la sortie imminente de <a href="http://www.spreadfirefox.com/fr/worldrecord/">Firefox 3</a> pour faire un status des extensions que j'emploie sur mon <a href="http://fr.wikipedia.org/wiki/Navigateur_web">butineur</a> <a href="http://getfirefox.com">préféré</a> au <a href="http://www.emakina.com/">travail</a>.</p>

<p>Ma version: Firefox 2.0.0.14 (2008040413)</p>
<p>Operating System: WINNT (x86-msvc)</p>

<ul>
	<li><a href="http://bene.sitesled.com/adblock.htm">Adblock Plus 0.5.11.4</a><br />Firefox 0.7 - 3.*<br />Filters ads from web-pages. Now with whitelisting and synchronization.</li>
	<li><a href="http://www.ginatrapani.org/workshop/firefox/betterflickr/">Better Flickr 0.2.1</a><br />Firefox 0.8 - 3.0<br />Enhances Flickr with Greasemonkey user scripts.</li>
	<li><a href="http://netcat.ath.cx/extensions.html">BetterPrivacy 1.14</a><br />Firefox 1.5 - 3.0.*<br />Super-Cookie Safeguard</li>
	<li><a href="http://jayseae.cxliv.org/">Bloglines Toolkit 1.6.8</a><br />Firefox 1.5 - 2.0+<br />Browser utilities for use with Bloglines</li>
	<li><a href="http://juicystudio.com">Colour Contrast Analyser 0.96</a><br />Firefox 0.7 - 3.*<br />Examines the colour contrast of elements in the DOM.</li>
	<li><a href="http://www.cusser.net">Context Search 0.4.1</a><br />Firefox 2.0a2 - 3.0b3pre<br />Expands the context menu's 'Search for' item into a list of search engines.</li>
	<li><a href="http://delicious.mozdev.org/">del.icio.us Complete 1.3</a><br />Firefox 0.8 - 2.0.*<br />del.icio.us is a social bookmarks manager. It allows you to easily add sites you like to your personal collection of links, to categorize those sites with keywords, and to share your collection not only between your own browsers and machines, but also with others.</li>
	<li><a href="http://devboi.mozdev.org/">DevBoi 0.5.1</a><br />Firefox 1.5 - 2.5<br />Adds a sidebar with web-development references.</li>
	<li><a href="http://www.martincohen.info/products/devboi/packages/">DevBoi PHP Package 0.1.0</a><br />Firefox 1.5 - 2.5<br />Adds PHP reference to DevBoi</li>
	<li><a href="http://gfx.neohub.com/prototype-js-sidebar/">DevBoi: Prototype JS Reference (1.5.1) 0.0.3</a><br />Firefox 1.5 - 3.0<br />Adds Prototype JavaScript Library reference to DevBoi</li>
	<li><a href="http://www.mozilla.org/projects/inspector/">DOM Inspector 1.8.1.14</a><br />Firefox 2.0.0.14 - 2.0.0.14<br />Inspects the structure and properties of a window and its contents.</li>
	<li><a href="http://www.splintered.co.uk/">Dublin Core Viewer 0.5</a><br />Firefox 1.5 - 3.0a1<br />Displays Dublin Core Metadata embedded into the &lt;head&gt; section of an XHTML Web page using the &lt;meta&gt; and &lt;link&gt; elements.</li>
	<li><a href="http://www.sitepoint.com/dustmeselectors/">Dust-Me Selectors 2.0</a><br />Firefox 1.5 - 2.0.0.*<br />Finds unused CSS selectors</li>
	<li><a href="http://sogame.awardspace.com/">Extension List Dumper 1.13.1</a><br />Firefox 1.5 - 3.0b5<br />Dumps a list of the installed extensions.</li>
	<li><a href="http://www.standards-schmandards.com/fangs">Fangs 1.0.3</a><br />Firefox 1.0 - 2.0+<br />Renders a text version of a web page similar to screen reader output.</li>
	<li><a href="http://www.getfirebug.com/">Firebug 1.05</a><br />Firefox 1.5 - 2.0.0.*<br />Web Development Evolved</li>
	<li><a href="http://www.janodvarko.cz/firecookie">Firecookie 0.0.6</a><br />Firefox 2.0 - 3.0b5pre<br />Cookie manager for Firebug. Firebug has to be installed in order to use this extension.</li>
	<li><a href="http://firefox.cita.uiuc.edu">Firefox Accessibility Extension 1.4.0.4</a><br />Firefox 1.5 - 3.0b5pre<br />Adds tools for accessible navigation and the development of accessible web content.</li>
	<li><a href="http://www.uselessapplications.com/ffthrottle.aspx">Firefox Throttle 1.00</a><br />Firefox 1.5 - 2.0.0.*<br />Bandwidth utilization throttling plug-in for Firefox.</li>
	<li><a href="http://www.splintered.co.uk/">Geo 0.8</a><br />Firefox 1.5 - 3.0.*<br />Opens useful sites for pages geographically marked with ICBM or geo.position META tags.</li>
	<li><a href="http://www.nexgenmedia.net/extensions/">Gmail Notifier 0.6.3.3</a><br />Firefox 1.5 - 3.0<br />A notifier for Gmail accounts.</li>
	<li><a href="http://clav.mozdev.org/">Go Up 1.0</a><br />Firefox 1.5 - 2.0.0.*<br />Easily navigate 'up' a level in a web site</li>
	<li><a href="http://gears.google.com/">Google Gears 0.3.14.2</a><br />Firefox 1.5 - 2.0.*<br />These are the gears that power the tubes! <img src='http://www.gatellier.be/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
	<li><a href="http://www.google.com/notebook">Google Notebook 1.0.0.20</a><br />Firefox 1.5 - 3.0.*<br />Allows notetaking while browsing</li>
	<li><a href="http://pizzaseo.com/firefox-pagerank">Google Pagerank Status 0.9.8</a><br />Firefox 1.5 - 2.0+<br />Display the Google PageRank in your browser's status bar.</li>
	<li><a href="http://www.greasespot.net/">Greasemonkey 0.7.20080121.0</a><br />Firefox 1.5 - 3.0b5<br />A User Script Manager for Firefox</li>
	<li><a href="http://www.squarefree.com/extensions/high/">How'd I Get Here 0.1.2</a><br />Firefox 1.5 - 2.0.0.*<br />Helps you remember how you first discovered a site.</li>
	<li><a href="http://users.skynet.be/mgueury/mozilla/">Html Validator 0.8.4.0</a><br />Firefox 1.0 - 2.0.0.*<br />Adds HTML validation to the View Page Source of the browser. The validation is done by Tidy from W3c.</li>
	<li><a href="http://ieview.mozdev.org/">IE View 1.3.7</a><br />Firefox 1.0 - 3.0.*<br />Open pages in IE via Firefox menus</li>
	<li><a href="http://www.hacksrus.com/~ginda/venkman/">JavaScript Debugger 0.9.87.3</a><br />Firefox 0.9 - 3.0pre<br />JavaScript debugger and profiler</li>
	<li><a href="http://mozilla.dorando.at/">keyconfig 20060828.1</a><br />Firefox 1.5.0.6 - 2.0.0.14<br />Rebind your keys.</li>
	<li><a href="http://www.elitwork.com/kgen.html">KGen 0.3</a><br />Firefox 1.0 - 3.0.*<br />Display strongest keywords of a webpage</li>
	<li><a href="http://www.kevinfreitas.net/extensions/linkchecker/">LinkChecker 0.6.2</a><br />Firefox 1.5 - 3.0b5<br />Check the validity of links on any webpage.</li>
	<li><a href="http://gemal.dk/mozilla/linky.html">Linky 2.7.1</a><br />Firefox 0.7 - 2.0+<br />Open/download/validate links and pictures in tabs or windows</li>
	<li><a href="http://livehttpheaders.mozdev.org/">Live HTTP Headers 0.14</a><br />Firefox 0.8 - 3.0.*<br />View HTTP headers of a page and while browsing.</li>
	<li><a href="http://www.splintered.co.uk/">Longdesc 0.6</a><br />Firefox 1.5 - 3.0.*<br />Makes an image's longdesc link attribute accessible via context menu.</li>
	<li><a href="http://www.sample.org.uk/mobilebarcoder/">Mobile Barcoder 0.1.4</a><br />Firefox 1.0 - 3.0b4<br />Generate on-the-fly barcodes to zap with your mobile device</li>
	<li><a href="http://www.ocawa.com">ocawatoolbar 1.1.6.2</a><br />Firefox 1.5 - 2.1<br />Check accessibility of your web site.</li>
	<li><a href="http://www.kaply.com/weblog/operator/">Operator 0.9.3</a><br />Firefox 2.0 - 3.0.*<br />The Semantic Web in Action</li>
	<li><a href="http://operaview.mozdev.org/">OperaView 0.6.1</a><br />Firefox 1.0 - 3.0.*<br />Open pages in Opera from Firefox, Mozilla, Flock and Netscape 8 context menus.</li>
	<li><a href="http://pageaddict.com">pageaddict 0.4</a><br />Firefox 1.5 - 3.0b4pre<br />Monitor your internet addiction</li>
	<li><a href="http://www.piclens.com/">PicLens 1.6.4.3021</a><br />Firefox 2.0 - 2.0.0.*<br />Discover More</li>
	<li><a href="http://jgillick.nettripper.com/securepassword/">SecurePassword Generator 0.5.1</a><br />Firefox 0.7 - 2.*<br />Creates a toolbar icon and dialog which helps to create secure passwords.</li>
	<li><a href="http://userstyles.org/stylish/">Stylish 0.5.7</a><br />Firefox 1.5 - 3.0.*<br />Customize the look of websites and of the user interface.</li>
	<li><a href="http://twanno.mozdev.org/">Tab Clicking Options 0.6.9</a><br />Firefox 1.0 - 3.0.*<br />Assign tab related actions to clicking events on a tab or the tabbar</li>
	<li><a href="https://addons.mozilla.org/extensions/moreinfo.php?id=2240">Tails Export 0.3.2</a><br />Firefox 1.5 - 2.0.0.*<br />Extension for Showing and Exporting Microformats.</li>
	<li><a href="http://tamperdata.mozdev.org">Tamper Data 10.0.4</a><br />Firefox 2.0 - 3.0.*<br />View and modify HTTP/HTTPS headers etc.  Track and time requests.</li>
	<li><a href="http://brettz9.blogspot.com/2007/06/unicode-converter.html">Unicode converter/Input Tool 2.099</a><br />Firefox 1.5 - 3.0b2<br />Converts character references, etc. into Unicode and back</li>
	<li><a href="http://chrispederick.com/work/user-agent-switcher/">User Agent Switcher 0.6.11</a><br />Firefox 1.0 - 3.0.*<br />Adds a menu and a toolbar button to switch the user agent of the browser.</li>
	<li><a href="http://www.bitstorm.org/extensions/view-cookies/">View Cookies 1.6</a><br />Firefox 1.0 - 2.0.0.*<br />View cookies of the current web page.</li>
	<li><a href="http://mozilla.queze.net">View Dependencies 0.3.2.2</a><br />Firefox 1.0 - 2.0.0.*<br />Adds a tab listing dependencies and their sizes in the Page Info window.</li>
	<li><a href="http://dafizilla.sourceforge.net/viewsourcewith">ViewSourceWith 0.1.1</a><br />Firefox 1.5 - 3.0.*<br />View page source with external application</li>
	<li><a href="http://chrispederick.com/work/web-developer/">Web Developer 1.1.6</a><br />Firefox 1.0 - 3.0.*<br />Adds a menu and a toolbar with various web developer tools.</li>
	<li><a href="http://xhtmlmp.mozdev.org/">XHTML Mobile Profile 0.5.3</a><br />Firefox 1.0 - 3.0b5<br />Allows XHTML Mobile Profile to be displayed in the browser.</li>
	<li><a href="http://developer.yahoo.com/yslow">YSlow 0.9.5b1</a><br />Firefox 1.5 - 3.0b5<br />Make your pages faster with Yahoo!'s performance lint tool.</li>
</ul>

<p>Je teste aussi évidemment mon code sur IE 6, 7, 8 (et des fois sur 5.5), Opera 9.27, 9.5b, FF 3RC1, Safari etc...</p>

<hr />
<p><small>© Marin for <a href="http://www.gatellier.be/blog">Gatellier.be</a>, 2008. |
<a href="http://www.gatellier.be/blog/extensions-firefox-integrateur/">Permalink</a> |
<a href="http://www.gatellier.be/blog/extensions-firefox-integrateur/#comments">7 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.gatellier.be/blog/extensions-firefox-integrateur/&title=Extensions Firefox d&#8217;un Intégrateur">del.icio.us</a>
<br/>
Post tags: <a href="http://www.gatellier.be/blog/tag/addons/" rel="tag">addons</a>, <a href="http://www.gatellier.be/blog/tag/emakina/" rel="tag">emakina</a>, <a href="http://www.gatellier.be/blog/tag/extensions/" rel="tag">extensions</a>, <a href="http://www.gatellier.be/blog/tag/firefox/" rel="tag">Firefox</a>, <a href="http://www.gatellier.be/blog/tag/integrator/" rel="tag">integrator</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.gatellier.be/blog/extensions-firefox-integrateur/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Plugin de recherche OpenSearch pour Firefox 2</title>
		<link>http://www.gatellier.be/blog/plugin-recherche-opensearch-firefox2/</link>
		<comments>http://www.gatellier.be/blog/plugin-recherche-opensearch-firefox2/#comments</comments>
		<pubDate>Sun, 03 Dec 2006 17:05:30 +0000</pubDate>
		<dc:creator>Marin</dc:creator>
				<category><![CDATA[Addons]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[browsing]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[productivité]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.gatellier.be/blog/?p=152</guid>
		<description><![CDATA[Firefox version 2 supporte le standard de formatage de données de recherche OpenSearch. Grâce à cela, on peut créer des petits plugins de recherche très utiles pour son navigateur préféré. Format XML OpenSearch Les définitions des différents éléments composant un XML OpenSearch nous aident à composer notre propre plugin de recherche. Pour une installation standard [...]]]></description>
			<content:encoded><![CDATA[<p>Firefox version 2 supporte le standard de formatage de données de recherche <a href="http://www.opensearch.org/Home" lang="en">OpenSearch</a>. Grâce à cela, on peut créer des petits plugins de recherche très utiles pour son navigateur préféré.</p>
<h3>Format XML OpenSearch</h3>
<p>Les <a href="http://www.opensearch.org/Specifications/OpenSearch/1.1">définitions des différents éléments composant un XML OpenSearch</a> nous aident à composer notre propre plugin de recherche.<br />
Pour une installation standard de Firefox, vous trouverez les plugins déjà installés dans le répertoire <code>C:\Program Files\Mozilla Firefox\searchplugins</code>. Normalement ce répertoire ne contient que des fichiers .xml qui sont les définitions des plugins. Prenons-en un, le fichier amazon.xml</p>
<pre class="brush: xml;">
&lt;SearchPlugin xmlns=&quot;http://www.mozilla.org/2006/browser/search/&quot;&gt;
&lt;ShortName&gt;Amazon.com&lt;/ShortName&gt;
&lt;Description&gt;Amazon.com Search&lt;/Description&gt;
&lt;InputEncoding&gt;ISO-8859-1&lt;/InputEncoding&gt;
&lt;Image width=&quot;16&quot; height=&quot;16&quot;&gt;data:image/x-icon;base64,iVBORw0KGgoA...=&lt;/Image&gt;
&lt;Url type=&quot;text/html&quot; method=&quot;GET&quot; template=&quot;http://www.amazon.com/exec/obidos/external-search/&quot;&gt;
	&lt;Param name=&quot;field-keywords&quot; value=&quot;{searchTerms}&quot;/&gt;
	&lt;Param name=&quot;mode&quot; value=&quot;blended&quot;/&gt;
	&lt;Param name=&quot;tag&quot; value=&quot;mozilla-20&quot;/&gt;
	&lt;Param name=&quot;sourceid&quot; value=&quot;Mozilla-search&quot;/&gt;
&lt;/Url&gt;
&lt;SearchForm&gt;http://www.amazon.com/&lt;/SearchForm&gt;
&lt;/SearchPlugin&gt;
</pre>
<dl>
<dt><code>SearchPlugin</code></dt>
<dd>Définition du namespace des différents nodes du fichier xml (dans ce cas-ci, on parle de la définition de Firefox)</dd>
<dt><code>ShortName</code></dt>
<dd>Nom du plugin de recherche</dd>
<dt><code>Description</code></dt>
<dd>Description du plugin de recherche</dd>
<dt><code>InputEncoding</code></dt>
<dd>Encodage des caractères du formulaire</dd>
<dt><code>Image</code></dt>
<dd>Définition de l&#8217;icône qui sera ajoutée dans l&#8217;interface de recherche encodée en Base64</dd>
<dt><code>Url</code></dt>
<dd>Contient les différents attributs du formulaire de recherche
<dl>
<dt><code>type</code></dt>
<dd>Format dans lequel les données sont envoyées au serveur</dd>
<dt><code>method</code></dt>
<dd><strong>GET ou POST</strong> méthode d&#8217;envoi des données au serveur</dd>
<dt><code>template</code></dt>
<dd>C&#8217;est l&#8217;<strong>ACTION</strong> du formulaire de recherche</dd>
</dl>
</dd>
<dt><code>Param</code></dt>
<dd>Les différents champs qui sont passées au formulaire. Le champ sur lequel se fait la requête doit avoir la <code><strong>value="{searchTerms}"</strong></code>. C&#8217;est les termes qui seront entrés dans le formulaire de recherche de Firefox</dd>
<dt><code>SearchForm</code></dt>
<dd>C&#8217;est le lien vers les soumissions de formulaires vides iront.</dd>
</dl>
<h3>Analyse d&#8217;un formulaire à convertir en plugin.</h3>
<p>Pour un premier exemple, je me suis basé sur la <a href="http://www.tutmarks.com/">page d&#8217;accueil de Tutmaks.com</a> (excellente ressource de tutoriels). Le moteur de recherche du site ne fonctionnant pour l&#8217;instant que sur des pages /index.php et pas sur les pages de détail /story.php.</p>
<p align="center"><a href="/blog/?pp_album=1&#038;pp_image=tutmarks_com.png"><img src="/blog/wp-content/photos/tutmarks_com.png" alt="Ecran de recherche Tutmarks.com" title="Ecran de recherche Tutmarks.com" border="0" /></a></p>
<p>A l&#8217;aide de l&#8217;Inspector de Firebug, j&#8217;ai facilement repéré que le nom du champ du formulaire était &#8220;search&#8221; l&#8217;action est vide (d&#8217;où l&#8217;erreur ci-dessus).</p>
<pre class="brush: xml;">
&lt;InputEncoding&gt;ISO-8859-1&lt;/InputEncoding&gt;
&lt;Url type=&quot;text/html&quot; method=&quot;GET&quot; template=&quot;http://tutmarks.com/index.php&quot;&gt;
	&lt;Param name=&quot;search&quot; value=&quot;{searchTerms}&quot;/&gt;
&lt;/Url&gt;
</pre>
<p>Pour un second exemple, j&#8217;ai pris la <a href="http://1307.be/fr/jsp/1x07be_reverse_search.jsp">recherche inversée de numéros de téléphone sur 1307.be</a>.</p>
<p align="center"><a href="/blog/?pp_album=1&#038;pp_image=1307_be.png"><img src="/blog/wp-content/photos/1307_be.png" alt="Ecran de recherche inversée de numéros de téléphone 1307.be" title="Ecran de recherche inversée de numéros de téléphone 1307.be" border="0" /></a></p>
<p>Il y a plusieurs champs cachés dans ce formulaire-ci. J&#8217;ai repris les nom et valeurs de ces champs en tant que Param de mon XML</p>
<pre class="brush: xml;">
&lt;InputEncoding&gt;ISO-8859-1&lt;/InputEncoding&gt;
&lt;Url type=&quot;text/html&quot; method=&quot;POST&quot; template=&quot;http://1307.be/fr/servlets/ReverseServlet&quot;&gt;
	&lt;Param name=&quot;number&quot; value=&quot;{searchTerms}&quot;/&gt;
	&lt;Param name=&quot;iso_language&quot; value=&quot;fr&quot;/&gt;
	&lt;Param name=&quot;template&quot; value=&quot;1x07be&quot;/&gt;
&lt;/Url&gt;
</pre>
<h3>Ajout de l&#8217;icône du plugin de recherche.</h3>
<p>J&#8217;ai repris les favicônes des <a href="http://tutmarks.com/favicon.ico">sites</a> <a href="http://1307.be/favicon.ico">repectifs</a>. Je les ai enregistrées sur mon ordinateur et je les ai <a href="http://www.motobit.com/util/base64-decoder-encoder.asp" lang="en">converties en base64 avec cet outil</a>. De ce fait, les images sont transformées en code et sont plus facilement transportable d&#8217;un environnement à un autre (les images sont incluses dans le fichier XML sous forme de code).</p>
<p>La documentation OpenSearch précise qu&#8217;on peut aussi mettre une <acronym title="universal resource locator">url</acronym> vers une icône de favori ou autre image.<br />
<pre class="brush: xml;">
&lt;Image height=&quot;16&quot; width=&quot;16&quot; type=&quot;image/x-icon&quot;&gt;&lt;br /&gt;
http://example.com/favicon.ico&lt;br /&gt;
&lt;/Image&gt;&lt;br /&gt;
</pre>
<h3>Code à rajouter dans les pages html.</h3>
<p>Pour que le plugin soit à la disposition de tout le monde, il faut l&#8217;insérer dans les pages de votre site.</p>
<p>Cela se fait aisément en ajoutant une balise <code><strong>link real="search"</strong></code> dans le header de la page html.</p>
<pre class="brush: html;">
&lt;link rel=&quot;search&quot; type=&quot;application/opensearchdescription+xml&quot; title=&quot;Tutmarks.com&quot; href=&quot;/chemin-vers/définition.xml&quot;&gt;
</pre>
<h3>Ajouter les plugins créés à Firefox 2.</h3>
<p>Quand un plugin de recherche a été trouvé par Firefox, l&#8217;icône de la liste des moteurs de recherche prend un fond bleuté.</p>
<p align="center"><a href="/blog/?pp_album=1&#038;pp_image=ff2_search_plugin_found.png"><img src="/blog/wp-content/photos/ff2_search_plugin_found.png" alt="Un plugin de recherche a été trouvé par Firefox" title="Un plugin de recherche a été trouvé par Firefox" border="0" /></a></p>
<p>En cliquant sur cette icône, on peut voir la liste des plugins de recherche. Dans le bas du menu, on peut rajouter les différents plugins de recherches.</p>
<p align="center"><a href="/blog/?pp_album=1&#038;pp_image=ff2_search_plugin_add_multiple.png"><img src="/blog/wp-content/photos/ff2_search_plugin_add_multiple.png" alt="Ajout de plusieurs plugins de recherche dans Firefox" title="Ajout de plusieurs plugins de recherche dans Firefox" border="0" /></a></p>
<p>L&#8217;ordre des moteurs de recherche peut être modifié et on peut aussi en supprimer via l&#8217;interface de gestion des plugins de recherche</p>
<p align="center"><a href="/blog/?pp_album=1&#038;pp_image=ff2_search_plugin_manage.png"><img src="/blog/wp-content/photos/ff2_search_plugin_manage.png" alt="écran pour ranger les plugin de recherche sur Firefox" title="écran pour ranger les plugin de recherche sur Firefox" border="0" /></a></p>
<p>Le plugin de recherche Tutmarks pour Firefox 2 prêt à l&#8217;usage.</p>
<p align="center"><a href="/blog/?pp_album=1&#038;pp_image=ff2_search_plugin_usage.png"><img src="/blog/wp-content/photos/ff2_search_plugin_usage.png" alt="Le plugin de recherche sur Tutmaks est prêt à l'usage" title="Le plugin de recherche sur Tutmaks est prêt à l'usage" border="0" /></a></p>
<h4>Liens relatifs</h4>
<ul>
<li><a href="http://www.opensearch.org/Home" lang="en">l&#8217;organisation OpenSearch</a></li>
<li><a href="http://developer.mozilla.org/en/docs/Creating_OpenSearch_plugins_for_Firefox" lang="en">Documentation sur le site Mozilla des plugin OpenSearch</a></li>
<li><a href="http://tutmarks.com/story.php?title=creer-un-plugin-pour-ajouter-un-moteur-de-recherche-Firefox" lang="fr">Tutorial pour les extensions Firefox avant la version 2</a></li>
<li><a href="http://www.motobit.com/util/base64-decoder-encoder.asp">Encoder et décoder en Base64</a> en ligne</li>
</ul>
<hr />
<p><small>© Marin for <a href="http://www.gatellier.be/blog">Gatellier.be</a>, 2006. |
<a href="http://www.gatellier.be/blog/plugin-recherche-opensearch-firefox2/">Permalink</a> |
<a href="http://www.gatellier.be/blog/plugin-recherche-opensearch-firefox2/#comments">17 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.gatellier.be/blog/plugin-recherche-opensearch-firefox2/&title=Plugin de recherche OpenSearch pour Firefox 2">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.gatellier.be/blog/plugin-recherche-opensearch-firefox2/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Ré-activer les anciennes extensions de Firefox grâce à about:config</title>
		<link>http://www.gatellier.be/blog/reactiver-les-anciennes-extensions-firefox-about_config/</link>
		<comments>http://www.gatellier.be/blog/reactiver-les-anciennes-extensions-firefox-about_config/#comments</comments>
		<pubDate>Fri, 27 Oct 2006 09:13:57 +0000</pubDate>
		<dc:creator>Marin</dc:creator>
				<category><![CDATA[Addons]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[browsing]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.gatellier.be/blog/?p=148</guid>
		<description><![CDATA[Avec la sortie de la version 2.0 de Firefox, beaucoup d'extensions ne sont plus compatibles. Leur développeurs n'ayant pas encore mis à jour les fichiers d'installations. On a vu ici et là des versions non-officielles de mises à jour de certaines extensions. about:config, la base de registre de FireFox En entrant about:config dans la barre [...]]]></description>
			<content:encoded><![CDATA[<p>Avec la sortie de la version 2.0 de Firefox, beaucoup d'extensions ne sont plus compatibles. Leur développeurs n'ayant pas encore mis à jour les fichiers d'installations.<br />
On a vu <a href="http://www.emich.be/fr/2006/10/24/extension_delicious_pour_firefox_2/" title="extension delicious pour firefox 2 via Emich.be" lang="fr">ici</a> et <a href="http://64k.be/index.php/2006/10/25/551-extension-bloglines-pour-firefox-20" title="extension bloglines pour firefox 2 via 64.be" lang="fr">là</a> des versions non-officielles de mises à jour de certaines extensions.</p>

<h3><code>about:config</code>, la base de registre de FireFox</h3>

<p>En entrant <code><strong>about:config</strong></code> dans la barre d'adresse de FireFox, vous arrivez dans l'espace de configuration de FireFox. J'avoue, l'interface est un peu austère.</p>

<p align="center"><a href="/blog/?pp_album=1&amp;pp_image=about_config.png"><img src="/blog/wp-content/photos/about_config.png" alt="Interface Firefox about:config" title="Interface Firefox about:config" border="0" /></a></p>


<p>Cette interface présente toutefois champs permettant de faciliter les recherches.<br />
Quatre colonnes sont présentes: Preference Name, Status, Type et Value.</p>

<p>La colonne <code><strong>Preference Name</strong></code> reprend les différentes propriétés des différents éléments de Firefox de manière assez compréhensible. Préférences d'accessibilité, du browser, des extensions,...</p>

<p>La colonne <code><strong>Status</strong></code> nous dit si la valeur a été modifiée (soit par une extension, soit par une préférence, soit a la main dans la console de configuration). Dans ce cas, la ligne sera en corps gras et la valeur sera <code>user set</code>. Dans le cas contraire, le corps sera normal et la valeur <code>default</code></p>

<p>La colonne <code><strong>Type</strong></code> reprend le type de donnée que la propriété peut avoir. Boolean pour une valeur vraie ou fausse, Integer pour un nombre entier et String pour toute valeur texte.</p>

<p>Enfin la colonne <code><strong>Value</strong></code> qui contient les valeurs des différentes propriétés. C'est cette colonne qui nous intéresse. Vous pouvez changer ces valeurs la double-cliquant. Pour les types Integer et String un boîte de dialogue apparaitra et vous pourrez entrer une nouvelle valeur. Pour le type Boolean, le double-clic changera la valeur de vrai à faux et vice-versa.</p>

<h3>Alors comment on réactive les anciennes extensions&nbsp;?</h3>

<p align="center"><a href="/blog/?pp_album=1&amp;pp_image=extensions_disabledObsolete.png"><img src="/blog/wp-content/photos/extensions_disabledObsolete.png" alt="about:config key=extensions.disabledObsolete:true" title="Configuration Firefox pour activer les extensions obsolètes" border="0" /></a></p>

<p>Il faut simplement trouver la clef <code><strong>extensions.disabledObsolete</strong></code> et changer sa value à false pour <em>ne pas désactiver les extensions obsolètes</em> (qui sont prévues pour des versions précédentes de Firefox).</p>

<p>D'autres entrées sont très intéressantes entre autre la collection <code><strong>browser.tabs</strong></code> qui contient différentes options de configuration par rapport aux tabs/onglets.</p>
<p>Pour que tout ces changements soient effectifs, redémarrez Firefox.</p>

<p>A vous de jouer mais, <strong>attention</strong>, vous modifiez ces valeurs à vos risques et périls!</p>


<h4>Liens relatifs:</h4>

<ul>
	<li><a href="/blog/mise-a-jour-perso-de-lextension-firefox-goup/" title="Comment mettre à jour une extension Firefox">Comment mettre à jour une extension Firefox</a></li>
	<li><a href="http://www.emich.be/fr/2006/10/24/extension_delicious_pour_firefox_2/" title="extension delicious pour firefox 2 via Emich.be" lang="fr">Extension del.icio.us pour Firefox 2</a></li>
	<li><a href="http://64k.be/index.php/2006/10/25/551-extension-bloglines-pour-firefox-20" title="extension bloglines pour firefox 2 via 64.be" lang="fr">Extension bloglines pour Firefox 2</a></li>
	<li><a href="http://www.getfirefox.com/">Téléchargez d'urgence Firefox 2</a></li>
</ul><hr />
<p><small>© Marin for <a href="http://www.gatellier.be/blog">Gatellier.be</a>, 2006. |
<a href="http://www.gatellier.be/blog/reactiver-les-anciennes-extensions-firefox-about_config/">Permalink</a> |
<a href="http://www.gatellier.be/blog/reactiver-les-anciennes-extensions-firefox-about_config/#comments">3 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.gatellier.be/blog/reactiver-les-anciennes-extensions-firefox-about_config/&title=Ré-activer les anciennes extensions de Firefox grâce à about:config">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.gatellier.be/blog/reactiver-les-anciennes-extensions-firefox-about_config/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Je (re)découvre Firebug ou le débogage facile</title>
		<link>http://www.gatellier.be/blog/je-redecouvre-firebug-debogage-facile/</link>
		<comments>http://www.gatellier.be/blog/je-redecouvre-firebug-debogage-facile/#comments</comments>
		<pubDate>Wed, 11 Oct 2006 16:11:26 +0000</pubDate>
		<dc:creator>Marin</dc:creator>
				<category><![CDATA[Addons]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Débogage]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[emakina]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[productivité]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.gatellier.be/blog/?p=144</guid>
		<description><![CDATA[En préparant un petit article, je suis tombé sur cette vidéo qui montre comment déboguer avec Firebug. Je suis presque tombé de ma chaise. Je ne connaissais pas la moitié des capacités de cette merveilleuse extension de débogage pour FireFox, que j'emploie quand même depuis un bout de temps (v0.2 si les souvenirs sont bons). [...]]]></description>
			<content:encoded><![CDATA[<p>En préparant un petit article, je suis tombé sur <a href="http://www.digitalmediaminute.com/screencast/firebug-js/">cette vidéo qui montre comment déboguer avec Firebug</a>.</p>

<p>Je suis presque tombé de ma chaise. Je ne connaissais pas la moitié des capacités de cette merveilleuse <a href="https://addons.mozilla.org/firefox/1843/">extension de débogage pour FireFox</a>, que j'emploie quand même depuis un bout de temps (v0.2 si les souvenirs sont bons).</p>

<p>Avant, je ne l'employais que pour <strong>tracer mes appels Ajax</strong> et les réponses du serveur et tester des variables et fonctions, le tout dans la console.</p>
<p>Je n'avais pas vraiment vu la puissance du débogueur.</p>
<h3>Une petit explication s'impose.</h3>
<p>Pour que Firebug s'arrête à chaque erreur, il faut que l'option soit activée. (onglet "Debugger", menu "Options").</p>
<p style="text-align:center;"><a href="/blog/?pp_album=1&#038;pp_image=option_activation_debogage_firebug.png"><img border="0" alt="L'option pour activer le débogueur de Firebug" title="L'option pour activer le débogueur de Firebug" src="/blog/wp-content/photos/option_activation_debogage_firebug.png" /></a></p>
<p>Je pensais que toutes les options étaient regroupées à un seul endroit. Soit, je m'encroûte, soit l'interface n'est pas super parlante.</p>

<p>Bon maintenant regardons tout ce que l'on peut faire avec ce débogueur.</p>

<p>Le principe est le suivant : on appelle des méthodes de l'objet console en lui passant des paramètres.</p>

<p>
<code>console.log("message" [,objects])</code><br />
<code>console.debug("message" [,objects])</code><br />
<code>console.info("message" [,objects])</code><br />
<code>console.warn("message" [,objects])</code><br />
<code>console.error("message" [,objects])</code><br />
etc...</p>

<p>La <a href="http://www.joehewitt.com/software/firebug/docs.php"><strong>liste complète des méthodes de Firebug</strong></a> est bien évidemment disponible en ligne.</p>

<p>Vraiment bien fait ces petites méthodes (surtout celles qui permettent d'évaluer le temps qu'un javascript met).</p>

<p>Adopté par toute l'équipe des intégrateurs, et certains développeurs. Merci Joe Hewitt !</p>
<h4>Liens relatifs :</h4>
<ul>
	<li><a href="https://addons.mozilla.org/firefox/1843/">Firebug, l'extension de débogage pour Firefox</a></li>
	<li>Le <a href="http://www.joehewitt.com/">blog du développeur</a> de l'extension Firefox</li>
	<li>La <a href="http://www.digitalmediaminute.com/screencast/firebug-js/"><strong>vidéo explicative</strong></a> - qui m'a révélé le potentiel de Firebug</li>
	<li>Un autre <a href="http://encytemedia.com/blog/articles/2006/05/12/an-in-depth-look-at-the-future-of-javascript-debugging-with-firebug">article intéressant sur Firebug</a></li>
</ul><hr />
<p><small>© Marin for <a href="http://www.gatellier.be/blog">Gatellier.be</a>, 2006. |
<a href="http://www.gatellier.be/blog/je-redecouvre-firebug-debogage-facile/">Permalink</a> |
<a href="http://www.gatellier.be/blog/je-redecouvre-firebug-debogage-facile/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.gatellier.be/blog/je-redecouvre-firebug-debogage-facile/&title=Je (re)découvre Firebug ou le débogage facile">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.gatellier.be/blog/je-redecouvre-firebug-debogage-facile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
