Import/export trouble Rated 4 out of 5 stars
First off - thanks for this wonderful addon, it is of extreme value for academics like me who like to work from home - with this addon it's very easy to add rewrites to sites like ScienceDirect or Wiley to end with a proxy of the university.
(example for others if they are interested I:*.sciencedirect.com/* R:$1.sciencedirect.com.proxy.kib.ki.se/$2)
As I use this on 2 computers (at home and at work), I run into 2 problems:
1. At work (windows xp) I had trouble with editing the rules (when I was learning how to apply the rules), I had to always delete and recreate the rule.
EDIT: obviously this was my mistake, it works on both win xp firefox 6.0.2 and debian iceweasel 5.0 (the edit button did not call any action)
2. When finished, I exported them to rjson file, which went without problems, but now I am unable to import the rules on my linux machine....
EDIT: works well on win xp, but on linux gives "Error: picker.displayDirectory is null Source File: chrome://redirector/content/code/settings.xul.js"
Change/help/update would be appreciated. :)
EDIT: Thanks for immediate reply...
Glad you like it. 1. What happened when you tried to edit the rules? Did they just not get saved, or did you get some error in the gui when trying to edit?2. Can you try importing on Linux again, and looking at the error console right after, and let men know which, if any, error messages are there? (Press Ctrl+Shift+J to open the error console, or go to the menu Tools->Web Developer->Error console.
EDIT 14.09.2011: OK, I can't make a new reply which sucks. But I've looked at the code, the file picker works differently on Linux than Windows. I'll fix it for the next version, but if you want to patch it yourself then here's what you should do:
1. Find the extension directory and edit the file <extensiondir>\firstname.lastname@example.org\chrome\code\settings.xul.js
2. Change line nr 230 from
this.prefs.defaultDir = picker.displayDirectory.path;
//this.prefs.defaultDir = picker.displayDirectory.path;
3. Save the file and restart Firefox.
The only thing that will change is that the last directory you were using won't be remembered. But the import should work now.