foxreplace icon indicating copy to clipboard operation
foxreplace copied to clipboard

pre-process replacement feature suggestion

Open GoogleCodeExporter opened this issue 10 years ago • 7 comments

What steps will reproduce the problem?
1. put \d as Input string, 0 as Output string in Substitution
2. active "Auto-replace on page load"
3. load a large webpage which contains numbers


What is the expected output? What do you see instead?
I expect that all numbers in the page are replaced by zero before the page
is processed and displayed by the browser.

As the webpage is large, so you can see the numbers in the page are
displayed in its original appearance firstly, after the whole page is
loaded by the browser, the add-on replace all number with zero.


What version of the product are you using? On what operating system?
latest versions of both firefox and the addon

Please provide any additional information below.
Thanks

Original issue reported on code.google.com by [email protected] on 18 Nov 2008 at 5:05

GoogleCodeExporter avatar Aug 21 '15 17:08 GoogleCodeExporter

Hello meokey2000, I see you also reported this in a review in 
addons.mozilla.org. The
case is that the replace is triggered by the page load event, which is not 
emited
until the page has loaded completely, but Firefox (and any other browser) 
renders the
page as it receives it.

To do this I should have to see what events are emited during the load and then
modify the replace behaviour to change only the newly loaded part (avoiding 
double
replace). I still don't know how to do this second part, which could also be 
useful
to make the automatic subtitutions work on AJAX pages.

I change the type to enhancement, and I will investigate on how to implement 
this.

Original comment by [email protected] on 22 Nov 2008 at 2:00

  • Changed state: Accepted
  • Added labels: Component-Logic, OpSys-All, Type-Enhancement
  • Removed labels: Type-Defect

GoogleCodeExporter avatar Aug 21 '15 17:08 GoogleCodeExporter

[deleted comment]

GoogleCodeExporter avatar Aug 21 '15 17:08 GoogleCodeExporter

[deleted comment]

GoogleCodeExporter avatar Aug 21 '15 17:08 GoogleCodeExporter

[deleted comment]

GoogleCodeExporter avatar Aug 21 '15 17:08 GoogleCodeExporter

[deleted comment]

GoogleCodeExporter avatar Aug 21 '15 17:08 GoogleCodeExporter

[deleted comment]

GoogleCodeExporter avatar Aug 21 '15 17:08 GoogleCodeExporter

Original comment by [email protected] on 22 Feb 2013 at 7:46

  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

GoogleCodeExporter avatar Aug 21 '15 17:08 GoogleCodeExporter