From e5311097518d86de094db6ad30d6751e66334631 Mon Sep 17 00:00:00 2001 From: Gitoffthelawn Date: Thu, 2 Jan 2020 16:10:33 -0800 Subject: Clarify description of Flash All Flash content, not only videos. --- js/redirect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/redirect.js') diff --git a/js/redirect.js b/js/redirect.js index 23ae409..116cc72 100644 --- a/js/redirect.js +++ b/js/redirect.js @@ -19,7 +19,7 @@ Redirect.requestTypes = { script : "Scripts", image : "Images", imageset: "Responsive Images in Firefox", - object : "Objects (e.g. Flash videos, Java applets)", + object : "Objects (e.g. Flash content, Java applets)", xmlhttprequest : "XMLHttpRequests (Ajax)", history : "HistoryState", other : "Other" -- cgit v1.2.3 From d7fc547af3cbe323f7d7921a8e3dfa7a1d80f096 Mon Sep 17 00:00:00 2001 From: Gitoffthelawn Date: Thu, 2 Jan 2020 16:15:53 -0800 Subject: Remove confusing quote mark and period To avoid confusion, best to show the result string without any added punctuation. --- js/redirect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/redirect.js') diff --git a/js/redirect.js b/js/redirect.js index 23ae409..821826f 100644 --- a/js/redirect.js +++ b/js/redirect.js @@ -157,7 +157,7 @@ Redirect.prototype = { } if (match.isMatch && !match.redirectTo.match(/^https?\:\/\//)) { - this.error = 'The redirect result must start with http:// or https://, current result is: "' + match.redirectTo + "."; + this.error = 'The redirect result must start with http:// or https://, current result is: ' + match.redirectTo; return; } if (!match.isMatch) { -- cgit v1.2.3