[Ext] Save File to 2.5.5 - 2016-02-21

Announce and Discuss the Latest Theme and Extension Releases.
heynow
Posts: 68
Joined: March 18th, 2012, 12:58 pm

Re: [Ext] Save File to 2.5.3 - 2014-12-06

Post by heynow »

Thanks for the quick reply. Regards
Win XP Home
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] Save File to 2.5.4 - 2015-03-06

Post by ake79 »

Release 2.5.4 - ChangeLog - Download

* Fixed issue #54 - Fixed save link breakage caused by API changes.
My extensions: Save File to | ThumbsDown
heynow
Posts: 68
Joined: March 18th, 2012, 12:58 pm

Re: [Ext] Save File to 2.5.4 - 2015-03-06

Post by heynow »

It works again. Thanks for the quick fix.
Win XP Home
Nytonial
New Member
Posts: 1
Joined: June 10th, 2015, 8:54 am

Re: [Ext] Save File to 2.5.4 - 2015-03-06

Post by Nytonial »

Nothing is working, well, the options are...
About a week ago the extension lost the ability to save anything: Right click, navigate menus, click where I want to save it, Nothing happens.
The Dialog also does not appear on ctrl+click.

Using latest Firefox Dev Edition, extension version 2.5.4.1

Thanks,
User avatar
notonymous
Posts: 157
Joined: November 6th, 2002, 6:57 pm
Location: Beyond the fringe

Re: [Ext] Save File to 2.5.4 - 2015-03-06

Post by notonymous »

Nytonial wrote:About a week ago the extension lost the ability to save anything:
Using latest Firefox Dev Edition, extension version 2.5.4.1

WFM.

Currently on Aurora 40.0a2 buildID 20150611004007 (Mozilla/5.0 (Windows NT 6.1; rv:40.0) Gecko/20100101 Firefox/40.0).
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] Save File to 2.5.4 - 2015-03-06

Post by ake79 »

Nytonial wrote:Nothing is working, well, the options are...
About a week ago the extension lost the ability to save anything: Right click, navigate menus, click where I want to save it, Nothing happens.
The Dialog also does not appear on ctrl+click.

Using latest Firefox Dev Edition, extension version 2.5.4.1

Have you enabled e10s in ff? If yes, then Save File to won't work at the moment. It's my intention to make it work with e10s (issue #1), but the timetable is open. Maybe during my summer holiday next month.

But in general, I don't support ff dev versions. It's not worth the effort.
My extensions: Save File to | ThumbsDown
jednooko
Posts: 1
Joined: October 6th, 2015, 5:17 am

Re: [Ext] Save File to 2.5.4 - 2015-03-06

Post by jednooko »

Hi there,

is it possible to change saveFolder from c#?

something like profile.SetPreference("extensions.savefileto@mozdev.org.page.entries", "[{\"label\":\"myPath\",\"path\":\"C:\\Temp\\Something\",\"menu\":true,\"type\":\"folder\"}]");

unfortunately, this doesn't work...

Thanks
Mira
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] Save File to 2.5.4 - 2015-03-06

Post by ake79 »

jednooko wrote:is it possible to change saveFolder from c#?

something like profile.SetPreference("extensions.savefileto@mozdev.org.page.entries", "[{\"label\":\"myPath\",\"path\":\"C:\\Temp\\Something\",\"menu\":true,\"type\":\"folder\"}]");

unfortunately, this doesn't work...

You can change folder settings directly from preferences by hand, as explained here: https://bitbucket.org/atte-kemppila/sav ... references . But I kind of doubt that you can do it from another process (what I'm assuming you are trying to do).
My extensions: Save File to | ThumbsDown
User avatar
notonymous
Posts: 157
Joined: November 6th, 2002, 6:57 pm
Location: Beyond the fringe

Re: [Ext] Save File to 2.5.4 - 2015-03-06

Post by notonymous »

This extension is currently broken in Aurora (46.0a2). The following message is in the error console:

Code: Select all

Error: SyntaxError: missing ] after element list
Source File: resource://savefileto/savefileto.jsm
Line: 100, Column: 39
Source Code:
        folderVariables = [fvar.trim() for each (fvar in folderVariables.split(",")) if (fvar.trim(
In version 45.0a2, the extension works but I see the following messages in the error console:

Code: Select all

Warning: expression closures are deprecated
Source File: resource://savefileto/savefileto.jsm
Line: 205, Column: 36
Source Code:
        var equals = function(a, b) ((a.pathLabel == b.pathLabel) && (a.path == b.path));

Warning: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create
Source File: resource://savefileto/common.jsm
Line: 33

Warning: expression closures are deprecated
Source File: resource://savefileto/Preferences.jsm
Line: 26, Column: 30
Source Code:
            return function() prefs.getBoolPref(name);

Warning: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create
Source File: resource://savefileto/common.jsm
Line: 33

Error: DEPRECATION WARNING: FUEL is deprecated, you should use the add-on SDK instead.
You may find more details about this deprecation at: https://developer.mozilla.org/Add-ons/SDK/
resource://app/components/fuelApplication.js 1459 Application
resource://app/components/fuelApplication.js 726 af_ci
resource://savefileto/savefileto.jsm 28 null
chrome://savefileto/content/overlay.js 62 savefileto._init
chrome://savefileto/content/overlay.js 57 savefileto.onContextMenuShowing
chrome://savefileto/content/overlay.js 36 savefileto.onLoadWithAddon/this._onContextMenuShowing
Source File: resource://gre/modules/Deprecated.jsm
Line: 79

Error: DEPRECATION WARNING: nsIContentPrefService is deprecated. Please use nsIContentPrefService2 instead.
You may find more details about this deprecation at: https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIContentPrefService2
resource://savefileto/savefileto.jsm 395 savefileto._getLastDownloadDir
resource://savefileto/savefileto.jsm 377 savefileto.getDownloadPrefs
chrome://savefileto/content/overlay.js 380 savefileto_save_page
chrome://savefileto/content/overlay.js 86 savefileto._init/commandCallback
resource://savefileto/CascadeMenu.jsm 84 CM_onCommand
resource://savefileto/CascadeMenu.jsm 34 CM_attach/<
Source File: resource://gre/modules/Deprecated.jsm
Line: 79
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] Save File to 2.5.4 - 2015-03-06

Post by ake79 »

Release 2.5.5 - ChangeLog - Download

* Fixed misc. breakage caused by API and JS syntax changes.
* Re-added translation: ru-RU

Works again in ff46. e10s is not yet supported.
My extensions: Save File to | ThumbsDown
User avatar
notonymous
Posts: 157
Joined: November 6th, 2002, 6:57 pm
Location: Beyond the fringe

Re: [Ext] Save File to 2.5.4 - 2015-03-06

Post by notonymous »

ake79 wrote:Release 2.5.5 - ChangeLog - Download
Works again in ff46. e10s is not yet supported.
Thanks for the update. It appears to be working okay in Aurora 46.0a2 (buildID 20160223004110) but I see the following message in the error console:

Code: Select all

Error: DEPRECATION WARNING: nsIContentPrefService is deprecated. Please use nsIContentPrefService2 instead.
You may find more details about this deprecation at: https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIContentPrefService2
resource://savefileto/savefileto.jsm 392 savefileto._getLastDownloadDir
resource://savefileto/savefileto.jsm 374 savefileto.getDownloadPrefs
chrome://savefileto/content/overlay.js 380 savefileto_save_page
chrome://savefileto/content/overlay.js 86 savefileto._init/commandCallback
resource://savefileto/CascadeMenu.jsm 84 CM_onCommand
resource://savefileto/CascadeMenu.jsm 34 CM_attach/<

Source File: resource://gre/modules/Deprecated.jsm
Line: 79
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] Save File to 2.5.5 - 2016-02-21

Post by ake79 »

Yeah, I know. The extension still uses some deprecated APIs (and JS syntax). Some changes are just easier to do than others. I have to revisit that nsIContentPrefService thing probably when I make the extension to work in e10s.
My extensions: Save File to | ThumbsDown
dauge
Posts: 37
Joined: January 4th, 2005, 2:58 pm

Re: [Ext] Save File to 2.5.5 - 2016-02-21

Post by dauge »

I can't figure out how to email saved pages. If I use the html I do not receive all the images and things saved in the folder. I have tried using the folder also but that was not help.

thx dave
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] Save File to 2.5.5 - 2016-02-21

Post by ake79 »

dauge wrote:I can't figure out how to email saved pages.
Sorry, but your problem isn't directly related to Save File to. You should ask for help in some other thread/forum.
My extensions: Save File to | ThumbsDown
dauge
Posts: 37
Joined: January 4th, 2005, 2:58 pm

Re: [Ext] Save File to 2.5.5 - 2016-02-21

Post by dauge »

It does relate to you as save file to saves the page into a folder and an html file. I would think you should know how to send these via email. I to send the folder it says each file in the folder separately and it doesn't work right when received.
Post Reply