scriptsafe
scriptsafe copied to clipboard
ScriptSafe cannot sync your settings as it is greater than the total limit.
Just started getting this error popup today every time I allow a site:
"ScriptSafe cannot sync your settings as it is greater than the total limit. However, you can manually export and import your settings by going to the Options page."
My whitelist has 5291 entries. Is there any way to fix this?
Same here. I have 5782 entries.
This error started to popup a couple of days ago.
I started seeing this message as well. The line of code which triggers this is here: https://github.com/andryou/scriptsafe/blob/9627e4ccc5966eed7527d669d3cd0332236c1210/js/scriptsafe.js#L1257
I'm not a Chrome developer, but an educated guess is that the limit is referring to https://developer.chrome.com/extensions/storage#property-sync. If this is the case, then if each sync'ed URL is around 200 bytes (which feels on the high side of reasonable), then the total number of white-listed sites would indeed be around 5k.
The easy solution is to look through the whitelist and get rid of obnoxiously long URLs. I've bought myself some time this way. The problem is that so many AWS sites are super long that it's a bit of a game of whackamole.
No idea how to solve this problem otherwise. I suppose the syncing algo could use compression, which might push increase the effective number of sites by 2-3x. That's not shabby, all things considered.
it could sync the data to pastebin or gist (or both) and only saves the reference to this in its own settings.
it could sync the data to pastebin or gist (or both) and only saves the reference to this in its own settings.
I really like this idea. It would allow the community to curate a base list. I know the plugin already does some of this for us, but there are always new servers popping up, and, worse, there are cloudfront servers with UUID names which are impossible to evaluate based on their URL.
it could sync the data to pastebin or gist (or both) and only saves the reference to this in its own settings.
Excellent idea. Gist would be great.
One problem would be authentication agains github to create the Gist. The credentials would have to be part of the extension or hidden away in a simple Lamda, Azure Function or similar which the extension then communicates with the actually save the Gist under the extensions repo.
-Or-
Each user authenticates the extension against her own github to store the settings in their own repo (like VSCode settings sync does it).
Could we just add an option to suppress the alert? This alert is the most annoying thing of the extension and I personally don't care if it sync to my other devices or not.