From 863a13ba70441b531b0427634f090f78d7c915de Mon Sep 17 00:00:00 2001 From: Paul Turner Date: Wed, 8 Feb 2017 16:18:16 -0800 Subject: [PATCH] Update background.js navigate to URL with ? token Previously NavigateToUrl would navigate to "https://developer.android.com/index.html#q=QUERY" Seems the developer docs have changed to use "https://developer.android.com/index.html?q=QUERY" --- extension/background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/background.js b/extension/background.js index 2afcbc1..4ad5444 100644 --- a/extension/background.js +++ b/extension/background.js @@ -260,7 +260,7 @@ function onScriptsLoaded() { if (text.match(/^https?\:/)) { navigateToUrl(text); } else { - navigateToUrl('https://developer.android.com/index.html#q=' + + navigateToUrl('https://developer.android.com/index.html?q=' + encodeURIComponent(text)); } });