您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Makes all Google queries act as if they were asked with your voice, and so answers them with its own voice.
// ==UserScript== // @name Make Google Speak // @description Makes all Google queries act as if they were asked with your voice, and so answers them with its own voice. // @include *://*.google.com*/search* // @exclude *#tts=1 // @exclude *#tts=0 // @exclude https://www.google.com.au/search?gs_ivs* // @run-at document-start // @grant none // @namespace https://greasyfork.org/users/153812 // @version 0.0.1.20170924063542 // ==/UserScript== var test_str = window.location.href; var start_pos = test_str.indexOf('=') + 1; var end_pos = test_str.indexOf('&',start_pos); var text_to_get = test_str.substring(start_pos,end_pos); window.location.replace ('https://www.google.com.au/search?gs_ivs=1&q=' + text_to_get + '#tts=1');