[Trisquel-devel] [PATCH] fixed issue #10528 bad link in the help button when abrowser start up slow

Massimo Pucci isleofmax at gmail.com
Thu Feb 6 01:28:12 CET 2014

Patch for the issue https://trisquel.info/it/issues/10528
When abrowser start up slow a popup window at the bottom
appear. If you click the help button you are redirected
to this webpage: https://support.mozilla.org/es/kb/reset-abrowser-easily-fix-most-problems.
A user suggested to point to the firefox webpage with a lot more informations.
The new webpage is https://support.mozilla.org/es/kb/reset-firefox-easily-fix-most-problems
 helpers/make-firefox |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/helpers/make-firefox b/helpers/make-firefox
index 453c748..feef502 100644
--- a/helpers/make-firefox
+++ b/helpers/make-firefox
@@ -17,7 +17,7 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 . ./config
@@ -259,6 +259,12 @@ sed '/Provides/s/abrowser-locale/firefox-locale/' -i debian/control.langpacks
 # Restore useragent to Firefox
 sed '/MOZILLA_UAVERSION/ s:Abrowser/:Firefox/:' -i netwerk/protocol/http/nsHttpHandler.cpp
+# https://trisquel.info/it/issues/10528
+# there is a bad link when you click the help
+# button when abrowser starts up slow.
+# This new link points to the firefox webpage
+sed "s%https://support.mozilla.org/kb/reset-abrowser-easily-fix-most-problems%https://support.mozilla.org/en-US/kb/reset-firefox-easily-fix-most-problems%" -i browser/components/nsBrowserGlue.js
 # Set migrator scripts
 cp browser/components/migration/src/FirefoxProfileMigrator.js browser/components/migration/src/AbrowserProfileMigrator.js
 sed 's/Abrowser/Firefox/g; s/abrowser/firefox/g' -i browser/components/migration/src/FirefoxProfileMigrator.js

More information about the Trisquel-devel mailing list