您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
移动网站谷歌搜索自动查看更多。
当前为
- // ==UserScript==
- // @name ACT.Google.MO.Auto-Seemore
- // @name:zh-CN ACT.谷歌.MO.自动查看更多
- // @description Mobile google search See more automatically.
- // @description:zh-CN 移动网站谷歌搜索自动查看更多。
- // @author ACTCD
- // @version 20220326.1
- // @license GPL-3.0-or-later
- // @namespace ACTCD/Userscripts
- // @supportURL https://github.com/ACTCD/Userscripts#contact
- // @homepageURL https://github.com/ACTCD/Userscripts
- // @match *://*.google.com/*
- // @match *://*.google.com.hk/*
- // @grant none
- // @run-at document-start
- // ==/UserScript==
- (function () {
- 'use strict';
- window.addEventListener('scroll', () => {
- if ((window.pageYOffset + window.innerHeight * 2) < document.body.clientHeight) return;
- let button = document.querySelector("a[aria-label='See more'],a[aria-label='查看更多']");
- if (button?.style.display != "none") button?.click();
- });
- })();