char101

About me

Developer Information
Name char101
User since February 12, 2008
Number of add-ons developed 1 add-on
Average rating of developer's add-ons Rated 4 out of 5 stars

Add-ons I've created

TabGroups Menu No Restart

Access firefox tabgroups using a dropdown menu.

Rated 4 out of 5 stars (69)
3,861 users

My Reviews

View Dependencies

Fixing unknown size on firefox 27 Rated 5 out of 5 stars

Extract the xpi, find pageInfoOverlay.js, then replace function GetCache with below code. This works with static files, but the html size still being shown as unknown.

// At the top of the file
var gCacheService = Components.classes["@mozilla.org/network/cache-service;1"].getService(Components.interfaces.nsICacheService);

// Replace function GetCache
function GetCache(url, callback)
{
const ACCESS_READ = Components.interfaces.nsICache.ACCESS_READ;
try {
var httpCacheSession = gCacheService.createSession("HTTP", Components.interfaces.nsICache.STORE_ANYWHERE, true);
httpCacheSession.asyncOpenCacheEntry(url, ACCESS_READ,
{onCacheEntryAvailable: function(entry, access, status) {
if (entry)
callback(entry);
else {
var ftpCacheSession = gCacheService.createSession("FTP", Components.interfaces.nsICache.STORE_ANYWHERE, true);
ftpCacheSession.asyncOpenCacheEntry(url, ACCESS_READ,
{onCacheEntryAvailable: function(entry, access, status) {
callback(entry);
}}, true);
}
}}, true);
} catch(ex) {
console.log(ex);
callback(null);
}
}

tabTooltip

Rated 5 out of 5 stars

Great

PrintPDF

Rated 5 out of 5 stars

To remove header/footer (and add some other settings) open the jar file and find overlay.js. Add these lines

// Mod
printSettings.footerStrCenter = '';
printSettings.footerStrLeft = '';
printSettings.footerStrRight = '';
printSettings.headerStrCenter = '';
printSettings.headerStrLeft = '';
printSettings.headerStrRight = '';
printSettings.printBGColors = true;
printSettings.printBGImages = true;
printSettings.printInColor = true;
printSettings.shrinkToFit = true;
printSettings.paperSizeType = nsIPrintSettings.kPaperSizeDefined;
printSettings.paperSizeUnit = nsIPrintSettings.kPaperSizeMillimeters;
printSettings.paperWidth = 210;
printSettings.paperHeight = 297;
// End Mod

This review is for a previous version of the add-on (0.75).