char101

Perihal diri saya

Maklumat Pembangun
Nama char101
Pengguna semenjak Feb. 12, 2008
Bilangan add-ons yang dibangunkan 0 add-ons
Penarafan purata pembangun add-ons Tahap 4 daripada 5 bintang

Ulasan Saya

FiltaQuilla

Tahap 5 daripada 5 bintang

To make this addon work with thunderbird 60:
1) quit thunderbird
2) go to your profile folder, go to extensions, find filtaquilla@mesquilla.com.xpi, unzip it
3) open "content/filtaquilla.js" and replace (a) in line 1180 "for each (var tagInfo in tagArray)" into "for (var tagInfo of tagArray)" (b) in line 1542 "for each (let tagInfo in tagArray)" into "for (let tagInfo of tagArray)"
4) zip it again, rename into filtaquilla@mesquilla.com.xpi and replace the old filtaquilla@mesquilla.com.xpi

Ulasan ini untuk add-on (1.3.2) versi terdahulu. 

View Dependencies

Tahap 5 daripada 5 bintang

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);
}
}