Unlimited Faxes, No Fees, Dedicated Phone Number
Project site - This here is the code section.
.zip.chrome.antiparanoia.jarcontent\antiparanoia\, look at the file antiparanoiaOverlay.js... after doing something with the code ...
chrome/antiparanoia.jar (drag’n’drop should be enough)chrome/anti-paranoia-0.3-fx.xpi.zip (drag’n’drop should be enough).xpi
This is quite the Hello world-extension
function dontPanic() {
var icon = "chrome://antiparanoia/skin/antiparanoiam.png";
var url = null;
var title = "Don't Panic";
var texts = new Array(6);
texts[0] = "Stay calm.";
texts[1] = "Everything is good.";
texts[2] = "No one is against you.";
texts[3] = "The world is a good place.";
texts[4] = "Nobody is watching you.";
texts[5] = "Everything will be much better soon.";
texts[6] = "It isn't your fault.";
var text = texts[ Math.round(Math.random()*(texts.length-1)) ];
var preferences = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService);
var mybranch = preferences.getDefaultBranch("antiparanoia.");
var timeMinimal = mybranch.getIntPref("minimaltime");
var timeRandomMax = mybranch.getIntPref("randommax");
if(timeMinimal<60000) timeMinimal = 60000;
if(timeRandomMax<0) timeMinimal = 0;
var timeoutTilNext = Math.round(Math.random()*timeRandomMax) + timeMinimal;
var alerts = Components.classes["@mozilla.org/alerts-service;1"].getService(Components.interfaces.nsIAlertsService);
alerts.showAlertNotification(icon, title, text, false, null, null);
setTimeout("dontPanic()",timeoutTilNext);
}
texts[6] = ....