|
72 | 72 | // @include http*://yui-nya.com/* |
73 | 73 | // @include http*://www.l-sj.cc/* |
74 | 74 | // @include http*://htacg.cc/* |
75 | | -// @version 3.21.11 |
| 75 | +// @version 3.21.12 |
76 | 76 | // @grant GM_notification |
77 | 77 | // @grant GM_xmlhttpRequest |
78 | 78 | // @grant GM_setClipboard |
| 79 | +// @grant GM_setValue |
| 80 | +// @grant GM_getValue |
79 | 81 | // @run-at document-end |
80 | 82 | // @require https://greasyfork.org/scripts/23522/code/od.js?version=163021 |
81 | 83 | // @require https://cdn.jsdelivr.net/crypto-js/3.1.2/components/core-min.js |
|
1305 | 1307 | var ttss=["有家,有爱,有欧派","未被穿过的胖次是没有价值的","巨乳只有下垂的未来","男人变态有什么错","为什么你会这么熟练啊","德国的科学技术是世界第一","在虚构的故事当中寻求真实感的人脑袋一定有问题"," 胸部什么的,明明只是装饰","勇士喜欢巨乳有什么错","哥哥让开!这样我杀不了那家伙","我们的宇宙充满了质子,中子,电子,还有奶子","有个能干的妹妹真好","玄不救非,氪不改命","只要可爱就算是男孩子也没关系","道歉時露出胸部是常識","我就是叫紫妈怎么了 有本事突然从我背后出现 把我的脸按在键盘上aqswdectfrvtghunijopioijohnuygbyfvtcdesxwedrfvtbguyhiumjiuyvftrssexrybtgnyuhm","反基复奶"]; |
1306 | 1308 | var ttsRand=Math.floor(Math.random()*ttss.length); |
1307 | 1309 | var tts=ttss[ttsRand]; |
1308 | | - var soundUrl = `http://tts.baidu.com/text2audio?lan=zh&ie=UTF-8&spd=5&text=${tts}`; |
| 1310 | + var soundUrl = "http://tts.baidu.com/text2audio?lan=zh&ie=UTF-8&spd=5&text="+tts;//`http://tts.baidu.com/text2audio?lan=zh&ie=UTF-8&spd=5&text=${tts}`; |
1309 | 1311 | var p = new Promise(function(resolve, reject) { |
1310 | 1312 | var ret = GM_xmlhttpRequest({ |
1311 | 1313 | method: "GET", |
|
1322 | 1324 | } |
1323 | 1325 | }); |
1324 | 1326 | }); |
1325 | | - p.then(playSound, function(e) { |
1326 | | - console.log(e); |
| 1327 | + if(!GM_getValue("hazukashii")){ |
| 1328 | + p.then(playSound, function(e) { |
| 1329 | + console.log(e); |
| 1330 | + }); |
| 1331 | + } |
| 1332 | + var command=[72,65,90,85,75,65,83,72,73,73],index=0;//"hazukashii" |
| 1333 | + document.addEventListener("keydown", function(e) { |
| 1334 | + if(e.keyCode == command[index]) { |
| 1335 | + if(index==command.length-1){ |
| 1336 | + index=0; |
| 1337 | + var nowValue=GM_getValue("hazukashii"); |
| 1338 | + GM_setValue("hazukashii", !nowValue); |
| 1339 | + if(nowValue){ |
| 1340 | + p.then(playSound, function(e) { |
| 1341 | + console.log(e); |
| 1342 | + }); |
| 1343 | + } |
| 1344 | + }else{ |
| 1345 | + index++; |
| 1346 | + } |
| 1347 | + }else{ |
| 1348 | + index=0; |
| 1349 | + } |
1327 | 1350 | }); |
1328 | 1351 | GM_notification(notificationDetails); |
1329 | 1352 | } |
|
0 commit comments