Firefox – How to make ctrl-k display plain Google homepage in Firefox

firefox

Pressing ctrl-k used to take me to the plain vanilla version of Google's homepage. Apparently, this has changed, as of Firefox 31. Pressing ctrl-k now gets me to some sort of Firefox-branded wrapper around the Google search box. Is there a way to change this new behavior back to the old behavior?

Best Answer

I solved this by changing the about:home page itself. This is a "hacky" solution that will probably need to be re-applied on every upgrade, but here goes:

Locate the omni.ja file, mine was in c:\Program Files (x86)\Mozilla Firefox\browser. Note that there are several.

Edit the file chrome\browser\content\browser\abouthome\aboutHome.xhtml. To do this, you need to unpack omni.ja, do the edit, and then re-pack omni.ja again.

I put this instead of the original file content:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<script>

window.location.href = "https://www.google.se/";

</script>

</head>

<body />

</html>

Related Question