Removing Games on Google

Article #:

Product:

Castle:

 

Guardian

All

Warning: This article requires enabling advanced functionality and should only be attempted by experienced users.

Summary:

This article describes what steps you must take in order to hide Games from appearing in the Google Search engine.

Problem:

When you search for certain games on Google (Pacman, Snake etc) they will give you a version to play even if Online Games category is blocked.

Solution:

In order to remove games from Google searches, you will first need to enable the hidden Advanced functionality of your Smoothwall device.

1. SSH onto your Smoothwall device — see https://help.smoothwall.net/Latest/Content/ui/admin/remote.htm
2. Execute the following command:
echo 1 > /modules/guardian3/settings/ui/blocklist/advanced
3. Next we must create a new category which will contain all Google domains:
a. Go to Guardian > Policy Objects > Categories.
b. Enter a name (for example, Google).
c. Expand the Advanced section.
d. Enter the following under URL patterns:
google\.\w{1,3}(?:\.\w{1,3})?
4. Now we must 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:
a. Go to Guardian > Content modification > Content modifications.
b. Enter a name (for example, Remove Google Games)
c. Expand the Advanced section.
d. Enter the following under Page modifications (be sure to include the quote marks):
"(<head>)"->"$1<style>.xpdopen.rYczAc, .duf3 { display: none !important; }</style>"
5. Finally, we need to create a content modification policy to apply our new content modification (Remove Google Games) to our new category (Google):
a. Go to Guardian > Content modification > Policy Wizard.
b. Create your new policy as follows:

Who: Everyone*

What: Google

Where: Everywhere*

Action: Apply Remove Google Games

* Change as appropriate

 

Once completed, it will take a few minutes for the changes to take effect — you may need to restart your browser in order to see the changes.

 

Before After

 

Attribution:

Last updated:

Author:

Contributions by:

7th December 2017

Jonathan McKeague

 

 


Copyright © 2000-2018 Smoothwall All rights reserved.