From 62ca5cf04a400282f896e1213c850dbe7a437e3b Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Thu, 12 Apr 2018 16:18:04 -0400 Subject: [PALEMOON] Update handle-xul-text-link to deal with json source data --- application/palemoon/components/nsBrowserGlue.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/palemoon/components/nsBrowserGlue.js b/application/palemoon/components/nsBrowserGlue.js index aafdced9f..cdb0b7522 100644 --- a/application/palemoon/components/nsBrowserGlue.js +++ b/application/palemoon/components/nsBrowserGlue.js @@ -254,7 +254,8 @@ BrowserGlue.prototype = { if (!linkHandled.data) { let win = this.getMostRecentBrowserWindow(); if (win) { - win.openUILinkIn(data, "tab"); + data = JSON.parse(data); + win.openUILinkIn(data.href, "tab"); linkHandled.data = true; } } -- cgit v1.2.3