Page 1 of 1

uuid in export

Posted: Wed Jan 11, 2023 12:19 am
by barbaz
NoScript export files contain a setting "uuid" that is set to, well, a UUID. What does this do?

Out of curiosity, what would manually changing it to a different UUID do? I don't know enough about this setting to be sure I could spot the effect of just trying this.

Thanks

Re: uuid in export

Posted: Wed Jan 11, 2023 9:54 am
by Giorgio Maone
It was originally introduced as an helper for the migration from classic, and it may be useful in future if we implement a more reliable settings synchronization mechanism which don't rely on the insufficient WebExtensions sync storage and/or to mark content script wrappers so that they can be discarded and replaced more easily across updates.
At this moment it's not used at all, and nothing happens if you change it (but it might cause failures/collisions if we end to use it).