Accidentally removed and re-installed NoScript without doing an Export of my per site permissions.
Any way I can retrieve those from my profile?
I had a quick look but was unable to find anything relevant.
(FF 115, macOS)
How to retrieve permissions if add-on re-installed?
How to retrieve permissions if add-on re-installed?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0
- Giorgio Maone
- Site Admin
- Posts: 9454
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: How to retrieve permissions if add-on re-installed?
I suppose you can use Time Machine to restore the previous state of your profile, [Export] the NoScript settings and then go back to current and [Import]?
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Re: How to retrieve permissions if add-on re-installed?
I don't use Time Machine, just ordinary file backup.
Is there a file to restore?
Is there a file to restore?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0
Re: How to retrieve permissions if add-on re-installed?
If viewtopic.php?p=103393#p103393 is still current in 115, try:
1) create a new, clean profile
2) install same NoScript version as is in your main profile
3) completely quit FF, copy the 3 mentioned storage-sync-* files from your backup to the new profile, deleting/overwriting the existing ones
4) restart FF, still in the new profile
5) NoScript Options > Per-site Permissions, check that your permissions are indeed there - if so use Export, then switch back to your main profile and delete the temporary profile.
This will not restore everything, but it should get enough that you can rebuild without much effort - notably, this NoScript export should contain all your permissions and per-site XSS choices.
1) create a new, clean profile
2) install same NoScript version as is in your main profile
3) completely quit FF, copy the 3 mentioned storage-sync-* files from your backup to the new profile, deleting/overwriting the existing ones
4) restart FF, still in the new profile
5) NoScript Options > Per-site Permissions, check that your permissions are indeed there - if so use Export, then switch back to your main profile and delete the temporary profile.
This will not restore everything, but it should get enough that you can rebuild without much effort - notably, this NoScript export should contain all your permissions and per-site XSS choices.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/114.0
Re: How to retrieve permissions if add-on re-installed?
Thanks - I ended up going to a Carbon Copy Cloner backup and copying the profile to
/Users/[me]/Library/Application Support/Firefox/Profiles
In FF About:profiles
Create new
unzipped the older files into new.profile
made this "new profile" default, restarted FF, NoScript -> Export
FF
About:profiles
Went back to the current profile
Deleted
/Users/[me]/Library/Application Support/Firefox/Profiles/new.profile
Restarted FF
NoScript -> Import
/Users/[me]/Library/Application Support/Firefox/Profiles
In FF About:profiles
Create new
unzipped the older files into new.profile
made this "new profile" default, restarted FF, NoScript -> Export
FF
About:profiles
Went back to the current profile
Deleted
/Users/[me]/Library/Application Support/Firefox/Profiles/new.profile
Restarted FF
NoScript -> Import
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0