ReadFucker

ReadSpeakerくんを強引に使います

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         ReadFucker
// @version      0.1
// @namespace    https://readspeaker.jp
// @description  ReadSpeakerくんを強引に使います
// @author       Anonymous_456
// @match        https://readspeaker.jp/
// @grant        none
// @license      CC0
// ==/UserScript==

(function () {
    document.getElementById("readspeaker_button1").remove();
    const fucker = document.createElement("div");
    fucker.id = "fucker";
    const myStyle = 'margin:6px;border-radius:6px;border:inset 2px grey;padding:6px;background-color:white;';
    fucker.innerHTML = `<p>テキストを選択中に読み上げボタンを押すと選択中のテキストが読み上げられます</p><span><button id="fuck" style="${myStyle};font-weight:bold;">読み上げ</button></span><span>声<select id="voice" style="${myStyle}">${["Show", "Akira", "Takeru", "Risa"].map(e => `<option value="${e}">${e}</option>`).join("")}</select></span><span>速さ<input type="number" id="speed" min="50" max="400" value="100" style="${myStyle}"></span><br><textarea id="readarea" rows="32" cols="120" style="${myStyle}">拓也の射精 3000円</textarea>`;
    fucker.style.color = "black";
    fucker.style.backgroundColor = "#bfbfbf";
    fucker.style.padding = "12px";
    document.getElementById("home").prepend(fucker);
    document.getElementById("fuck").onclick = () => {
        const readthis = encodeURIComponent(window.btoa(unescape(encodeURIComponent(document.getSelection().toString().length == 0 ? document.getElementById("readarea").value : document.getSelection().toString()))));
        const str =
            `//app-eas.readspeaker.com/cgi-bin/rsent?customerid=5099&lang=ja_jp&voice=${document.getElementById("voice").value}&speed=${document.getElementById("speed").value}&url=&rsjs_ver=3.7.0_rev2198-wr&selectedhtml_base64=`;
        window.open(str + readthis);
    };
})()