background preloader

How to develop a Firefox extension « Mozilla Add-ons Blog

How to develop a Firefox extension « Mozilla Add-ons Blog
There are more recent development guides in the add-ons section of the Mozilla Developer Network. Please use those instead. Reposted with permission from Robert Nyman: Admit that you have always wanted to know how to develop a Firefox extension but never had the time to learn. Here I will walk you through and at the end of the article we will have created a fully functional Firefox extension! Our objective We will create a Firefox extension to find all links in the current web page, highlight those which have a target attribute and alert you how many links it found. What you need – setting up the developing environment First, let’s start with setting up your development environment. Create a different development profile The first step is to create a different profile in Firefox, since you will do some settings and changes that you probably don’t want for your regular profile. Profile manager on Windows Profile manager on Mac Profile manager on Linux Configuration settings for Firefox install.rdf

Complete HTML True Color Chart; Table of color codes for html documents The background color in each cell is produced by the color code shown. Black, grays and white are shown in bold red. Primary colors and complements are in BOLD ITALIC. This site was created by Photius Coutsoukis and it is hosted by ITA. . . . USAGE EXAMPLES: <body bgcolor="#003300"> <font color="#330066"> Thank you for making this an award winning site TelefoneintrageAll Language Translations Copyright © 1998-2006 Photius CoutsoukisHTML Colors; Table of color codes for html documents HTML Colors; Table of color codes for html documents HTML Colors; Table of color codes for html documents

Top Tips for New Quora Users If the flood of ‘New follower’ emails I’ve received today are anything to go by, question and answer service Quora has seen a lot of new members sign up today. This is most likely thanks to Robert Scoble’s post yesterday, asking if it’s “The biggest innovation in blogging in 10 years”. So, if you’re new to it, here are some tips to get the most out of this captivating website. Why Quora? As a hub for conversation and a place to get definitive answers from people in the know, Quora is unbeatable. Following people, topics and questions Once you’ve set up your Quora account, you’ll be prompted to follow other users, topics and questions. Interested in Google’s recruitment policies, Ruby On Rails development or scuba diving? The top box is your gateway to everything Navigating Quora is simple – just start typing into the top search box and people, questions and topics related to your query will start to appear. It’s okay to lurk – your vote counts Want to follow up on someone else’s answer?

Beginner’s guide to writing a Firefox extension « dale lane Last week, I shared my hack for syncing my browsing between my computer and mobile. It’s built around a Firefox extension, so I thought I’d share my notes on how I got it to work. This post is a complete sample for creating a Firefox extension to add a button to the browser toolbar. I’ve gone through each file you need, explaining what it’s for and giving a sample ready for copy-and-pasting. In my browser sync hack it sent the URL to my phone, but for this walkthrough I’m going with something simpler: opening the webpage in Internet Explorer. I’m not an expert at this stuff by any means, and I found a lot of useful code snippets on mozilla.org to get me going. Apart from the Internet Explorer bit itself (which is a little Windows-specific), the rest of this should all work wherever Firefox does. Step 1 – Prepare a development environment Create a working directory where you will work on your extension. Then create a text file in your Firefox extensions directory: (e.g. For example: <?

+1 Button - Google+ Platform Documentation You can add and customize the +1 button to meet the needs of your website, such as modifying the button size and load technique. By adding the +1 button to your website, you allow your users to recommend your content to their circles and drive traffic to your site. Use of the +1 button is subject to the Google+ Platform Buttons policy. Getting started A simple button The easiest method for including a +1 button on your page is to include the necessary JavaScript resource and to add a +1 button tag: The script must be loaded using the HTTPS protocol and can be included from any point on the page without restriction. +1 tag To render a simple +1 tag: You can also use a HTML5-valid +1 tag by setting the class attribute to g-plusone, and prefixing any button attributes with data-. By default, the included script traverses the DOM and renders +1 tags as buttons. Deferred execution with onLoad and script tag parameters To specify script tag parameters, use the following syntax: Examples

Creating Custom Pages - KickApps API Reference Depending on which apps you have enabled for your KIT Cloud Social-powered site, it comes with several pre-configured pages that you can customize to achieve the look and feel that meets your needs. For instance the Social Networking application comes with a “profile page,” “myHome” page and a “private message in-box” for each member of your site. The Video Sharing application has a “video upload page,” a “play page” and an “edit page” where your site’s members can upload, watch and interact with each others’ videos. With the Custom Pages application you can create an unlimited number of individual pages for your site, populated with whatever content you choose (text, images, flash widgets, javascript code, etc.). Each custom page retains your site’s global styling and navigation (including your header, background and footer), and the page’s contents are indexed by your site’s global search engine which makes all of your site’s content findable by your users. Manage Content

Step by step guide to use ratings with foobar2000 0.9.5 - Hydrog Step By Step Guide To Use Ratings with Foobar v 9.5 beta 4 I had to find these items in multiple threads so I've tried to pull all of the sections mentioning ratings into just one "how-to" file. Hopefully, this will help people who would like a rating feature in Foobar. All of these steps use the existing features of the most current Foobar beta version with just one additional component "Quick Tagger", which is officially supported by Foobar. Step 1: Get Quick Tagger which is needed to update "Rating" tagDownload: Quick Tagger from add this to the foobar2000 /components directory on your hard drive. Step 2: Set Up Rating Field for PlayListOpen Foobar Preferences -> Display -> Default User Interface -> Colors And FontsYou will need a Unicode font for this. Open Foobar Preferences -> Display -> Default User Interface -> Playlist ViewUnder Custom Columns, Click "Add New" buttonSet Name To: RatingSet Pattern To: $pad($repeat(★,%rating%), 5,✩)

What does your IP address say about you? | Defensive Computing Last week Google announced that they were protecting user privacy (their words not mine) by modifying IP addresses in their activity logs after 9 months. Fellow CNET blogger Chris Soghoian felt this was a sham because it ignored cookies, but it brings up an interesting point, just what does your IP address say about you? Or, in other words, does your IP address point to you? In some ways, an IP address does identify you or else there would be no need for Google to "anonymize IP addresses" in order to "address regulatory concerns" (again, their words not mine). What's an IP address? Every computer on a network has a unique number. To techies, IP addresses are 32 bit binary numbers, but to normal people they consist of four decimal numbers, each between zero and 255, separated by periods. In this scenario, the only thing that directly connects to the outside world is the router, each individual computer on the LAN goes through the router to get to the Internet. This brings up two points:

Search Engine Optimization on KickApps-powered websites - KickApps API Reference Search Engine Optimization (frequently referred to as SEO) is the practice of managing your website's content so that it appears in the results when people search for words and phrases in search engines like Google, Yahoo, and Bing. When done correctly, it's a powerful practice for bringing new people to your KIT Cloud Social-powered website and increasing the size of your online audience. If you're looking for a baseline understanding of SEO best practices (a wise choice if you're serious about your website) then we recommend checking the following resources: KIT Cloud Social optimizes URLs for our most popular pages in two main ways: first, they are static. So far we've optimized media play page and group page URLs, with more on the way and a special "custom short link manager" being alpha tested. The <title> tag in the HTML head contains descriptive, keyword-rich meta data which is unique to each KIT Cloud Social-powered page. All platform redirects are permanent 301 redirects.

A Silent Strength - Les trackbacks Introduction Présentation Les trackbacks ont été créés par Benjamin et Mena Trott en Août 2002. Suite à cela, une spécification a été écrite et est disponible sur le site de movabletype. Ce système correspond à du peer-to-peer entre sites web puisque des informations sont échangées sous le protocole HTTP (en méthode POST). Il y aura donc deux serveurs (ou deux sites) qui entreront en communication et qui échangeront des données. Idée des trackbacks L'idée des trackbacks est de relier des sites web entre eux, ou plus particulièrement des pages de sites web avec d'autres pages d'un autre site web qui ont le même sujet. On va prendre l'exemple de deux blogs : A et B qui parlent d'un sujet C (la LEN par exemple). L'interêt à retenir, c'est que les visiteurs du blog A auront une liste de liens à suivre si le sujet les intéresse. Exemples Concept datant de 2002, les trackbacks sont aujourd'hui très répandus sur la toile. Côté serveur local Principe Les différents paramètres Envoi des paramètres <? <? <?

100+ Online Resources That Are Transforming Education Yury Lifshits is working on algorithms and prototypes of new services at Yahoo! Research. Before that he was teaching university courses in the U.S., Germany, Russia and Estonia. He blogs at yurylifshits.com and publishes his teaching materials at yury.name/teaching. Education technology has become a busy space in recent years. With so many startups on the scene, it is easy to get lost. 1. The education system of the 20th century is built around institutions: schools, colleges, academies and universities. We've now seen the first online high schools (Keystone School), colleges (University of Phoenix, Kaplan University, The Open University, University of the People), certification programs (Alison.com), enterprise training programs (GlobalEnglish.com), art schools (AudioVisualAcademy.com) and test preparation programs (Top Test Prep, GrockIt, Knewton, RevolutionPrep, TutorJam, BrightStorm). 2. To build a new educational institution, one needs to assemble a lot of pieces. 3. 4. 5. 6. 7.

XForms Essentials As an example, this section will develop an XForms solution for creating and editing a UBL purchase order. The first step is to define the initial instance data, which is a skeleton XML document that contains the complete structure of the desired final document, but with only initial data. This document serves as a template for newly-created purchase orders, and provides a framework on which to hang the rest of the form. Tip This complete example form is available online at Example 2.1 shows what a UBL purchase order document looks like. Figure 2.1. Example 2.1. The markup used by UBL seems slightly verbose, but this is necessary to capture all the small variations that occur in the purchase orders used by different organizations. The next step is to create an XForms document that will serve to edit the initial instance data. Example 2.2. <? Example 2.3. The xforms:model element is the container for the entire XForms Model. Example 2.4. <! <!

Related: