🏠 Home 

消える投稿(Feederチャット)

入力欄に文字を入れてボタンを押すと一定時間で消える投稿をしてくれます。

  1. // ==UserScript==
  2. // @name 消える投稿(Feederチャット)
  3. // @author 初投稿マン
  4. // @version 2.0
  5. // @description 入力欄に文字を入れてボタンを押すと一定時間で消える投稿をしてくれます。
  6. // @match *.x-feeder.info/*/
  7. // @exclude *.x-feeder.info/*/*/*
  8. // @namespace https://greasyfork.org/users/297030
  9. // @grant none
  10. // ==/UserScript==
  11. (() => {
  12. 'use strict'
  13. const func = () => {
  14. $("#post_form_single").val(hoge);
  15. $("#post_btn").click();
  16. setTimeout(() => {
  17. $(".remove_icon").first().click();
  18. window.confirm = () => {
  19. return true;
  20. };
  21. }, 500);
  22. };
  23. let hoge;
  24. $("<button>").text("消える投稿").prependTo($("#post_btn").parent()).click(func);
  25. $("<input>").attr('placeholder', '投稿したい内容').prependTo($("#post_btn").parent()).change(function () {
  26. hoge = $(this).val();
  27. });
  28. })();