4 18

點擊按鈕。error 500 重整

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==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);