Index: subscriptionLink.postload.js |
diff --git a/subscriptionLink.postload.js b/subscriptionLink.postload.js |
index 7212d635eae05f1a2c6746a03c50209da7b79310..fba7c9123088ac9d73f247fcba23a77f3d4fce11 100644 |
--- a/subscriptionLink.postload.js |
+++ b/subscriptionLink.postload.js |
@@ -55,8 +55,9 @@ if ("ext" in window && document instanceof HTMLDocument) |
event.preventDefault(); |
event.stopPropagation(); |
- // Decode URL parameters |
- var params = link.search.substr(1).split("&"); |
+ // Decode URL parameters (Note: Old versions of Chrome (30) don't populate |
+ // link.search here so we have to grab the search part of the URL manually.) |
+ var params = link.href.substr(link.href.indexOf("?") + 1).split("&"); |
var title = null; |
var url = null; |
for (var i = 0; i < params.length; i++) |