Created
September 26, 2017 17:19
-
-
Save rhoaias2017/277c5099ad89e42fbb773abe90942dd4 to your computer and use it in GitHub Desktop.
十个字十个字
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name New Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match http://www.mitbbs.com/mwap/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
reply_submit = function() { | |
var board = $('#board').html(); | |
var groupid = $('#groupid').html(); | |
var title = $('#title').html(); | |
var re_content = $('#re_content').html(); | |
var searchableStr = document.URL + '&'; | |
var father_page = "http://www.mitbbs.com/mwap/forum/board.php?board=" + board; | |
var obj = document.getElementById("text_"+groupid); | |
var content = obj.value; | |
content = content+"\n"+re_content; | |
post_article(board, title, groupid, content, "0", father_page); | |
return false; | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment