let me in

在文玩部落的隐藏贴自动回复

当前为 2018-03-09 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name let me in
  3. // @version 0.0.0.1
  4. // @description 在文玩部落的隐藏贴自动回复
  5. // @include /.*www.haohetao.com/thread-[0-9]*-[0-9]*-[0-9]*.html/
  6. // @author AkiyamaYummy
  7. // @namespace https://greasyfork.org/users/9356
  8. // ==/UserScript==
  9.  
  10. if(document.getElementsByClassName('locked').length > 0) {
  11. var tid = /[0-9]*(?=-[0-9]*-[0-9]*.html)/.exec(location.href)[0];
  12. setTimeout("showWindow('reply', 'http://www.haohetao.com/forum.php?mod=post&action=reply&tid=' + tid);",1000);
  13. setTimeout("postmessage.textContent = '自动回复脚本,由 [url=http://www.haohetao.com/home.php?mod=space&uid=500854]我[/url] 制作';postsubmit.click();",2000);
  14. setTimeout("fwin_dialog_submit.click();",3000)
  15. }