您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
triple touch to fullscreen for for mobile
// ==UserScript== // @name long touch to fullscreen // @namespace http://tampermonkey.net/ // @version 0.1.3 // @description triple touch to fullscreen for for mobile // @author amormaid // @run-at document-end // @match http(s)?://*/* // @include http://* // @include https://* // @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; // document.documentElement.requestFullscreen() let time_list = [] function fullscreen() { console.log('touch end') time_list = [...time_list.slice(-2) , +new Date()] const [a, b, c] = time_list if (a && c && c - a < 1500) { // 处理点击事件 document.documentElement.requestFullscreen() } } document.body.addEventListener('touchend', fullscreen ) })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址