add_line

Add line and focus textarea

// ==UserScript==
// @name        add_line
// @namespace   1
// @include     http://www.eador.com/B2/posting.php?mode=quote*
// @include     http://eador.com/B2/posting.php?mode=quote*
// @version     1
// @grant       none
// @description Add line and focus textarea
// ==/UserScript==

document.getElementsByName("message")[0].innerHTML = document.getElementsByName("message")[0].innerHTML + "\n";

document.getElementsByName("message")[0].focus();
长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元