Woundorf / foxreplace

Replace text in webpages
https://addons.mozilla.org/firefox/addon/foxreplace/
GNU General Public License v3.0
90 stars 22 forks source link

Extension stopped working (manual substitutions) #380

Closed githubeumpenico closed 3 weeks ago

githubeumpenico commented 3 weeks ago

Hello;

I use FoxReplace daily for Manual Regex and Text substitutions (I have a whole .json file collection). Last time I used it was on Friday 11th October. This morning, 14th, it stopped working for Manual substitutions. Tried different versions of Firefox, same result.

I use this to automatically format and correct text for editing a website. In the backoffice we have a text field to paste the text, edit and format it (selecting text, applying bold and italic keys, for example). Now, when using the extension, it replaces the text OUTSIDE the field (for example, any text belonging to the backoffice interface) matching the parameters - but nothing happens INSIDE the field, where it should (and did previously). It did work inside the field before, up until this morning. Now, it doesn't.

Automatic substitutions on page load doesn't seem to be affected, but I can't use this function, since it will accumulate many replacements on top of one another, when I open the same article many times during work. This will destroy the formatting.

Firefox 131.0.2 (64 bits) snap on Ubuntu 24.04.1 LTS Firefox-ESR 128.3.1esr (64 bits) .deb on Ubuntu 24.04.1 LTS

Woundorf commented 3 weeks ago

Could it be a change in that backoffice? From your description I guess that the text field must be a textarea and substitutions continue working in textareas (you can try it right here in the response field). Furthermore, both manual and automatic substitutions call the same functions internally, there is no reason for one to work and the other not if the content is the same. Thus, maybe the backoffice has changed and is doing some strange things with Javascript. You should try to investigate if that's the case.

githubeumpenico commented 3 weeks ago

Out of the blue it started working again, but no changes to backoffice were made before or after...this is super weird. Closing.