OpenSite initiative is live

Categories Mozilla

We are offering a free website/blog, based on a free platform, a training on how you can create content, related to your activity (text, images, video) and consultations for different issued concerning your online presence. The project aims at gathering in one place people and organizations working on human rights protection, digital rights protection, ecology and improving women’s visibility and gender equality, who can help each other.

This project provides open web tools such as WordPress, integration to the free micro-bloging application, as well as a number of projects of Mozilla’s Drumbeat initiative (Universal Subtitles at the moment).

Read more about the project here, apply for an open website here or join us as a partner


XAuth basics and an example.

Categories Mozilla, Open Technologies

What is XAuth?

XAuth is an open platform for extending authenticated user services across the web.

Participating services generate a browser token for each of their users. Publishers can then recognize when site visitors are logged in to those online services and present them with meaningful, relevant options.

Users can choose to authenticate directly from the publisher site and use the service to share, interact with friends, or participate in the site’s community. The XAuth Token can be anything, so services have the flexibility to define whatever level of access they choose.

How does it works

The main requirement for XAuth is you browser to support HTML5. XAuth essentially defines 3 different parties to the flow:

– Extenders are web services that a user is logged into that present some public API.
– Retrievers are web services that want to discover and consume one or more of the Extenders.
– is the final party. All communication of XAuth happens through an iframe and javascript This is just static hosting, all data is stored in the users browser.

Step 1: Enable

You can just put the following line into your website and it will be XAuth enabled:
<script type="text/javascript" src=""></script>

Step 2:Become an Extender

Let’s create the token and let’s save it to our browser:

function doLogin(doneUrl) {
token: "1", //set the token
expire: new Date().getTime() + 60*60*24*1000, // set the expire time
extend: [""], //allow this script to work only on your own domain
callback: location.replace(doneUrl)

Step 3:Become an Retriever

Let’s retrieve the token and show it on a web page :

function doRetrieve() {
retrieve: [""],
callback: onRetrieve

function onRetrieve(data) {
var numTokens = 0;
var str = '';
if (data && data.tokens) {
for (var token in data.tokens) {
if (numTokens > 0) str += ', ';
str += token + ': ' + data.tokens[token].token;

if (str == '') {
str = '(none)';
document.getElementById('login_status').innerHTML = str;

Step 4: Let’s put on the stage and show an example

Here it is >

Some Thoughts on Firefox’s Fifth Birthday

Categories Mashup, Mozilla in Bulgaria

Firefox’s fifth anniversary arrived. Looking at my SFX account, it is almost as old as the browser, but I started using this way of thinking much earlier, at the times of Mosaic and Netscape, but that’s another topic.

The presents are the most important thing in a birthday party. But if we are talking about Firefox’s birthday the most important topic would be the web-freedom. Most of the people I know use Firefox. I also know people, who have been using the browser before it was called that way, but so few of them understand the meaning of “open web”, which is really a pity.

It is true, that spirit, beer and cake are very important for a birthday, but it is even more important for this fifth anniversary that we could find many new people, understanding the open web and contributing to its development.

Who creates the Bulgarian web?

Years ago the answer to this question inevitably would have been “The web companies”; the companies, which first launched websites, made them popular and attracted many users; the ones, which developed the Bulgarian web through many new portals, services, discounts, advertisements, and so on and so forth.
If you ask them now – “Who makes the Bulgarian web?” they would answer “We do”; if we ask the people on the streets, they would probably answer the same: “They do”.
But that’s not true. You, creating and sharing content every day, commenting, writing, blogging, uploading pictures and video, publishing articles in Wikipedia and anywhere else, YOU create the Bulgarian web, not the companies, remember that!
Things are changing at a breakneck speed and while years ago the web companies created the web, now they are just a small part of the whole cloud of everyone, included in the task and taking part in it, willing or not.
The web-evolution started a long time ago and YOU are a part of it. YOU CREATE THE BULGARIAN WEB.

I believe that’s the spirit for a Firefox birthday party; it must clarify and teach, not just to gather people, who know what Firefox is to drink beer and talk loudly.

That’s why we launched a campaign to make this happen. From October 14th until November 9th the Mozilla Bulgaria Team will present about 6 lectures in different places around the country, telling of the open web, our freedom, the personal space of each of us and the way we can protect it in the Internet. We will be discussing open standards, explaining what Firefox is and why we should celebrate on November 9th not only an anniversary, but something bigger: the realized notion that web – this is you.

Mozilla Europe Blog