Removing Google Translate from search results

Article #:







This article describes what steps you must take to hide Google Translate from appearing in the Google search engine results.


When searching for “Hello in Japanese” Google Translate results will show up within the search results page even if the Translation category is blocked.


This article will explain how to hide Google Translate results from Google search engine, if you want to block all Translation services you should also block the Translation category.

In order to remove Google Translate results from Google searches, first enable the hidden Advanced functionality of your Smoothwall device.

SSH onto your Smoothwall device — see

Execute the following command:

echo 1 > /modules/guardian3/settings/ui/blocklist/advanced

Next create a new category which contains all Google domains:

Go to Guardian > Policy Objects > Categories

Enter a name (for example, Google)

Expand the Advanced section

Enter the following under URL patterns:


Now you need to create a new content modification which will inject some CSS into the head of the page which will be responsible for hiding the adverts on Google:

Go to Guardian > Content modification > Content modifications.

Enter a name (for example, Remove Google Translate results)

Expand the Advanced section.

Enter the following under Page modifications (be sure to include the quote marks):

"(<head>)"->"$1<style>#tw-container, ._vm._Min { display: none !important; }</style>"

Finally, we need to create a content modification policy to apply our new content modification (Remove Google Translate results) to our new category (Google):

Go to Guardian > Content modification > Policy Wizard.

Create your new policy as follows:
Who: Everyone *What: GoogleWhere: Everywhere *Action: Apply Remove Google Translate results
* Change as Appropriate

Once you’ve finished it will take a few minutes for the changes to take effect — you may need to restart your browser to see the changes.

Before After
GoogleTranslateresults.png GoogleTranslatedissappear.png



Last updated:


Contributions by:

14 July 2017

Jonathan McKeague




Copyright © 2000-2018 Smoothwall All rights reserved.