summaryrefslogtreecommitdiff
path: root/java-plugin-url.patch
diff options
context:
space:
mode:
Diffstat (limited to 'java-plugin-url.patch')
-rw-r--r--java-plugin-url.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/java-plugin-url.patch b/java-plugin-url.patch
new file mode 100644
index 0000000..4db0d5f
--- /dev/null
+++ b/java-plugin-url.patch
@@ -0,0 +1,25 @@
+--- mozilla-release/toolkit/mozapps/plugins/content/pluginInstallerWizard.js
++++ mozilla-release/toolkit/mozapps/plugins/content/pluginInstallerWizard.js
+@@ -315,6 +315,11 @@
+ xpiPlugins);
+ else
+ this.advancePage(null);
++}
++
++
++function endsWith(str, suffix) {
++ return str.indexOf(suffix, str.length - suffix.length) !== -1;
+ }
+
+ /*
+@@ -405,6 +410,9 @@
+
+ // manual install
+ if (aManualUrl) {
++ if (endsWith(aManualUrl, "use-java-plugin-to-view-interactive-content")) {
++ aManualUrl="http://icedtea.classpath.org/wiki/IcedTea-Web_On_Fedora_And_Rhel"
++ }
+ var myButton = document.createElement("button");
+
+ var manualInstallLabel = this.getString("pluginInstallationSummary.manualInstall.label");
+
bgstack15