DeepL无免费使用限额

去DeepL免费使用限额(无法调整翻译语言)

安裝腳本?
作者推薦腳本

您可能也會喜歡 南华早报查看更多

安裝腳本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         DeepL无免费使用限额
// @namespace    https://github.com/gui-ying233/MoreFreeDeepL
// @version      1.0.0
// @description  去DeepL免费使用限额(无法调整翻译语言)
// @author       鬼影233
// @license      MIT
// @match        https://www.deepl.com/*/translator
// @icon         https://www.deepl.com/favicon.ico
// @supportURL   https://github.com/gui-ying233/MoreFreeDeepL/issues
// ==/UserScript==

(() => {
	"use strict";
	setInterval(() => {
		document.body
			.querySelector('div[contenteditable="false"]')
			?.setAttribute("contenteditable", true);
		document.body
			.querySelector(
				"div[id|=headlessui-dialog-panel] button:not([class*=button-module--color_primaryAlt])"
			)
			?.click();
	}, 0);
	document.head.appendChild(
		Object.assign(document.createElement("style"), {
			textContent:
				'section[aria-labelledby="translation-source-heading"]>.absolute,div[id^="headlessui-dialog"]{display:none}',
		})
	);
})();