I\'ve found what I believe to be a bug with Firefox and I\'m wondering if this actually is a bug, as well as any workarounds for this.
If you create a basic webpage
As mentioned before you need to add autocomplete="off"
to your buttons.
Here is a sh
+perl
snippet to automate this in the case of s in your HTML files/templates (under some assumptions):
find /path/to/html/templates -type f -name '*.html' -exec perl -pi -e \
's/(?<=
The assumptions are:
Opening tags begin and end on the same line. If this is not the case (i.e. they might be split over several lines) then replacing
/g
with /gs
should help (the s modifier causes .
to match newlines as well)
Valid HTML (e.g. there are no funny characters between <
and >
) and no unescaped greater than (>
) inside the opening tag.