"Unable to parse server JSON message" dirty fix
If you're having this error message while updating CSS or JS files, you can try this dirty fix:
Open file (userdata folder)\Mozilla\Firefox\Profiles\(your profile folder)\extensions\xrefresh@xrefresh.com\chrome\content\xrefresh.js
Find the line 134 (var buffer = UTF8.decode(parts[i]);)
AFTER, add:
Restart Firefox.
The problem is related to xRefresh monitor not escaping correctly path slashes.
Open file (userdata folder)\Mozilla\Firefox\Profiles\(your profile folder)\extensions\xrefresh@xrefresh.com\chrome\content\xrefresh.js
Find the line 134 (var buffer = UTF8.decode(parts[i]);)
AFTER, add:
var contentRegex =/"contents":\{(.*?):/i;
var regexpResult = buffer.match(contentRegex);
if ( regexpResult ) {
var path = regexpResult.pop();
var newPath = path.replace(/\\/gi, "\\\\");
var newBuffer = buffer.replace(path, newPath);
buffer = newBuffer;
}
Restart Firefox.
The problem is related to xRefresh monitor not escaping correctly path slashes.
2
people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
The company has acknowledged this problem.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?yes, windows monitor has really bad JSON implementation :(
-
Inappropriate?Curious thing is other paths get escaped just fine. Only the "contents" path have problems. Anyway, this fix works for me :)
Loading Profile...



