Skip to content

Instantly share code, notes, and snippets.

@jld
Created June 30, 2017 00:25
Show Gist options
  • Select an option

  • Save jld/f60fa7bdff7680e567e8a0b4275386bc to your computer and use it in GitHub Desktop.

Select an option

Save jld/f60fa7bdff7680e567e8a0b4275386bc to your computer and use it in GitHub Desktop.
diff --git a/browser/components/about/AboutRedirector.cpp b/browser/components/about/AboutRedirector.cpp
--- a/browser/components/about/AboutRedirector.cpp
+++ b/browser/components/about/AboutRedirector.cpp
@@ -153,7 +153,7 @@ AboutRedirector::NewChannel(nsIURI* aURI
if (!strcmp(path.get(), redir.id)) {
nsAutoCString url;
- if (path.EqualsLiteral("newtab")) {
+ if (false && path.EqualsLiteral("newtab")) {
// let the aboutNewTabService decide where to redirect
nsCOMPtr<nsIAboutNewTabService> aboutNewTabService =
do_GetService("@mozilla.org/browser/aboutnewtab-service;1", &rv);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment