Get 100 Google Finds per Page Despite This Having Been Disabled in Google Search Settings

The two main reasons I've continued to use Google for searching the web are that it provides (1) the total number of finds, and (2) the ability to display 100 search finds per page. The company has inhibited both of these useful features recently, presumably trying to conceal the fact that it's grossly censoring and curating its search results. The total number of finds, I discovered, can still be displayed by clicking on "Tools". I fretted and fumed for a while about no longer being able to get 100 finds per search results page, but finally asked ChatGPT about it and received a workaround, which was to perform the search normally, add "&num=100" to the end of the resulting URL and hit return again. I didn't feel like fumbling around with this every time I did a search, so I put this into a macro triggered by hitting ctrl-7 (the ampersand key, for mnenomic) at the end of my search strings. This is only a minor nuisance and gives me the previously available 100 finds per page.

Web - Search Google with 100 Finds.kmmacros (3.2 KB)

1 Like

If you're using Safari or a Chromium-based browser you only need the one action:

1 Like

Thanks. This works in Chrome but apparently not in Brave, so I guess I'll have to keep using what I have.

Here's an alternative approach that only runs the search once:

Download Macro(s): Google 100.kmmacros (3.8 KB)

Macro screenshot

Macro notes
  • Macros are always disabled when imported into the Keyboard Maestro Editor.
    • The user must ensure the macro is enabled.
    • The user must also ensure the macro's parent macro-group is enabled.
System information
  • macOS 14.5
  • Keyboard Maestro v11.0.3

To use, type your search terms in, then press Control-7. The macro prepends and appends the necessary bits of Google's search URL to return 100 results and runs the search. (It also wipes out the bits it adds to the pasteboard to keep that clean of cruft.) The format for the results is pretty simple:

https://www.google.com/search?q=your search terms&num=100

This way, you only send Google your personal data one time :).

-rob.

Very nice, thanks! I've disabled mine and am using yours.

P.S. I've now gone back to my original macro, because it works both in the browser address line and in Google search text fields. I don't mind the screen redraw because it tells me the macro is working.

I don't even know what a Google search text field is :), but if your original works, that's great!

-rob.

griffman:

I don't even know what a Google search text field is :),

Good for you.

but if your original works, that's great!

Thanks. I somehow had the impression it wasn't working earlier today, but now it is and I don't know what that was.

Ah, OK - I never use those on any search engine, and hadn't heard that term before :), because I hardly ever load a search engine directly. I run all my queries from my Quick Web Search macro, but that's probably overkill for your needs.

But maybe something as easy as this could save you some time loading Google's page:

Download Macro(s): Search Google.kmmacros (2.6 KB)

Macro screenshot

Macro notes
  • Macros are always disabled when imported into the Keyboard Maestro Editor.
    • The user must ensure the macro is enabled.
    • The user must also ensure the macro's parent macro-group is enabled.
System information
  • macOS 14.5
  • Keyboard Maestro v11.0.3

Assign it to a hot key, type in your search term, and the URL will be sent to Google, taking you right to the results page.

-rob.

griffman:

But maybe something as easy as this could save you some time loading Google's page

Right, I like it, thanks. My hesitation to use this is the same as my hesitation to use a separate app rather than a browser tab for ChatGPT: namely, I like to have a bank of tabs in a single browser window of the sites I use for a certain purpose. (I use macros to set these up; can send example on request.) There are advantages to this; I don't afterwards have to get rid of the window concerned, for example. But I do have to manually click on the tab or cmd-opt-left/right arrow to get to it, which prompts me to use your macro and robotically cmd-w out of the resulting Google search window when I'm done (though I'd still have it in the tab – maybe that's another consideration).

It's taken me a while to understand the "Filter: Encode for URL" step. It would have helped if the filter had been named "Percent-Encode" with a hyphen rather than a space, as then I would have immediately understood that there is such a thing as percent-encoding and could have found out what it was more quickly. But how do you get the step to display at its top as "Filter: Encode for URL"? When I search the actions on "Filter" and create a step using that, it displays in the macro not as "Filter: Encode for URL" but as e.g.

Filter Variable "Search Terms" with Percent Encode for URL

Do we maybe have different KM versions, or what?

I just now answered my own question about why

Display Text "%Variable%Search Terms%" in Window

didn't show me the presumable content of the variable.

What was wrong with this was that I didn't realize that "local__" was part of the variable name. I thought it was some kind of separate identifier.

Yea, that's a bit of "insider" knowledge on how to make Prompt With List variables appear in a clean way in the dialog: Anything before two underscores doesn't appear. And I almost always use local variables, which are automatically deleted at the end of a macro run. So local__Search Terms as my variable name gives you an input box labeled just "Search Terms."

Edit: Insider knowledge gleaned from the Prompt for User Input wiki page, that is :):

It can be a good idea to have a common prefix in all of the variables used by the same macro. This clearly identifies the macro that uses these variables, and groups them together in the Variables section of the Keyboard Maestro Preferences. But you may not want to expose this prefix to the user running the macro.

So, you can hide the prefix if the variable name starts with a prefix followed by two underscores. Then the label will show only the latter part of the variable name.
ㅤㅤ
Similarly, you can use Instance or Local variables, and the “Instance” or “Local” will be removed from the variable name when displayed in the form.

For example, variables named “MyMacro__Text Message”, “Instance Text Message” or “Local Text Message” will all display the label “Text Message” in the form. The actual variable used will be the full variable name.

-rob.

Every action in a macro has "Rename" in its Options menu. This can be helpful -- you can give your actions more meaningful names for their context -- but it can also cause confusion to others when they try to find the customised action!

My guess is that @griffman has got this, and a bunch of other pre-set Filter actions, saved as Favourites. That lets him quickly add a particular Filter to a macro without having to scroll through the various options to find what he wants.

Yep, exactly that—sorry! I try to add the generic versions when building macros for posting here, but obviously one of my faves snuck in.

-rob.

1 Like

Nige_S:

Every action in a macro has "Rename" in its Options menu. This can be helpful -- you can give your actions more meaningful names for their context -- but it can also cause confusion to others when they try to find the customised action!

Thanks. I imagine you can use this to supplant the Comment action. If the comment follows the normal name of the action, I don't think anyone would be confused.