I need help modifying a firefox app. I have a Suicide Girls account and am using a firefox app called "Suicide Girls Downloader " which obviously lets me download the photosets. There is an issue with the app where certain sets won't download. Somebody on the review page of the app figured out how to solve the issue. Here is the quote...
"Figured out how to modify my local addon code. Got it working. This code snippet from downloader.js solved it for me
I added a simple regex replace on albumName, and then used my 'replaced' string.
const images = this.parseResponse(responseAlbum),
albumName = responseAlbum.name;
albumName2 = albumName.replace(/([^a-z0-9]+)/gi, '-');
let i = 1;
for (image of images) {
this.startDownload(image, "Suicide Girls - " + matches[3] + " - " + albumName2, i + ".jpg");
i++;
}
"
I don't know what any of this means. Can anyone explain exactly what I'm supposed to do to apply this fix?