Google has always been a powerful search engine, but it’s getting even more so with the addition of multi-column results. This means that you can search for a specific term in multiple columns, and Google will give you the best results for that term in each column. To enable this feature, you first need to create a user script that will do the work for you. Here’s an example: #!/usr/bin/env python3 import google_api import time # Create an instance of GoogleSearchSession class GoogleSearchSession(GoogleSearchSession): def init(self, session_id, user_agent, query): self.session_id = session_id self.user_agent = user_agent self.query = query def start(self): global time if name == “main”: googlesearch = google_api.get(“https://www.googleapis.com/auth/search?q=%s&callback=true") print(“Google Search Session started”)


Note: This user script may conflict with the AutoPager extension if you have it installed in your favorite browser.

Before

Here is the standard single column view of search results at Google. Not too bad but the available space could certainly be better utilized.

Note: For the purposes of our example we are using Google Chrome but this user script can be easily added to other browsers.

After

If you have never installed a user script in Chrome before it is just as simple as the regular extensions at the official Google website. Here you can see the details for the user script we are installing. Notice that you can view the source code if desired. To add the user script to Chrome click on “Install”.

Once you start the install process you will see an intermediary message asking if you wish to continue in the lower left corner of your browser. Click “Continue” to move to the next step in the install process.

From this point on the install process is practically identical to the official extensions. You can see the final confirmation window here…click “Install” to finish adding the user script to Chrome.

As with regular extensions you will see a post-install message in the upper right corner.

So, what does a user script look like in the “Extensions Page”? You can see the user script entry here…outside of an icon it looks rather identical to a normal extension.

After refreshing the search page shown above we now have two columns of search results (default setting). This looks much much better than a single column view and there is little to no page scrolling required now.

To switch to a three column view simply use the keyboard shortcut “Alt + 3”. To return to a single column view use “Alt + 1” and for the default two column view use “Alt + 2”. Three keyboard shortcuts for three different views…definitely a good thing.

Note: On our test system we needed to use the number keys at the top of our keyboard to switch views…this is most likely the result of unique settings on our test system.

Conclusion

If you are wanting a better viewing experience when conducting searches at Google then this user script will make a very nice addition to your favorite browser.

For those using Firefox you can add user scripts with the Greasemonkey & Stylish extensions. Using Opera Browser? See our how-to for adding user scripts to Opera here.

Links

Install the Multi-Column View of Google Search Results User Script