Switch to stream converter for extension.

This commit is contained in:
Brendan Dahl 2012-01-23 16:50:45 -08:00
parent edc632e469
commit 178b89342a
8 changed files with 115 additions and 72 deletions

View file

@ -34,13 +34,10 @@ function shutdown(aData, aReason) {
}
function install(aData, aReason) {
let url = 'chrome://pdf.js/content/web/viewer.html?file=%s';
Services.prefs.setCharPref('extensions.pdf.js.url', url);
Services.prefs.setBoolPref('extensions.pdf.js.active', false);
}
function uninstall(aData, aReason) {
Services.prefs.clearUserPref('extensions.pdf.js.url');
Services.prefs.clearUserPref('extensions.pdf.js.active');
}