4 18

點擊按鈕。error 500 重整

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        4 18
// @icon        https://www.eyny.com/favicon.ico?iLj
// @namespace   eyny
// @match       https://www.eyny.com/forum-*
// @match       https://www.eyny.com/thread-*
// @match       https://www.eyny.com/forum.php?mod=*
// @grant       none
// @version     2024-09-04 10:26
// @author      qq
// @description 點擊按鈕。error 500 重整
// @license     MIT
// ==/UserScript==
setTimeout(function(){
  let thx = document.querySelector('input[value*="Yes, I am."]');
  if (!!thx) {
    thx.click();

  }

  let title = document.querySelector('head title');
  title.innerHTML= title.innerHTML.replace('H', '-');

  let error500 = document.querySelector('head title');
  if (error500.innerHTML.includes('500')) {
    location.reload();
  }

}, 1500);