abduction_webpage_screenshots_screen_capture-3.0.17.1-fx.xpi

https://addons.mozilla.org/zh-CN/firefox/addon/abduction/reviews/?page=2


The fix for 3.0.16 will work for 3.0.17 also, as far as I can tell. I was fortunate enough to read about Michael's fix before his review was deleted, so here are the details for patching the 3.0.17 xpi:

1. edit line 789 of chrome/content/browser.js and change it from:
persist.saveURI(source, null, null, null, null, picker.file);
to:
persist.saveURI(source, null, null, null, null, picker.file, null);

2. change line 796 from:
alert(label.sizeerror);
to:
alert(error);

3. (my own tweak; optional) modify line 63 of install.rdf from:
<em:version>3.0.17</em:version>
to:
<em:version>3.0.17.1</em:version>

updated to add more info:The xpi file for the addon (as are all xpi's) is actually a compressed ZIP file, so what you can do (in Windows) is to right-click on the green "Add to Firefox" button on the addon page and save the xpi file to your hard drive. Then use Winzip, Winrar, 7zip or some other archive program to open the xpi file and extract the contents to a new folder. After extraction, you'll see the chrome/ subfolder and the content/ subfolder within chrome/ . After modifying browser.js, be sure to repack everything into a ZIP-format file and rename the file's extension to .xpi. I hope this helps! I would have uploaded the modified xpi somewhere, but as several people have mentioned, links are banned in reviews.

你可能感兴趣的:(abduction_webpage_screenshots_screen_capture-3.0.17.1-fx.xpi)