Google Search Results Maximizer

Google disabled the option to display/show more than 10 results. This script allows you to get 100 Google search results per page again.

Tính đến 13-02-2025. Xem phiên bản mới nhất.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

Bạn sẽ cần cài đặt một tiện ích mở rộng như Tampermonkey hoặc Violentmonkey để cài đặt kịch bản này.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Google Search Results Maximizer
// @version      1.0
// @namespace    https://github.com/Purfview/Google-Search-Results-Maximizer
// @homepage     https://github.com/Purfview/Google-Search-Results-Maximizer
// @supportURL   https://github.com/Purfview/Google-Search-Results-Maximizer/issues
// @icon         https://www.google.com/s2/favicons?sz=64&domain=google.com
// @license      MIT
// @description  Google disabled the option to display/show more than 10 results. This script allows you to get 100 Google search results per page again.
// @match        *://*.google.com/search?*
// @grant        none
// @run-at       document-start
// ==/UserScript==

(function() {
    'use strict';

    function modifySearchURL() {
        let url = new URL(window.location.href);
        let params = url.searchParams;

        if (params.has('num') && params.get('num') !== '100') {
            params.set('num', '100');
        } else if (!params.has('num')) {
            params.append('num', '100');
        }

        let newUrl = url.toString();
        if (newUrl !== window.location.href) {
            window.location.replace(newUrl);
        }
    }

    modifySearchURL();
})();