Hello Bug

让你的网页充满更多恶搞!(蛤蛤(?))

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name        Hello Bug
// @namespace   Violentmonkey Scripts
// @match       *://*/*
// @grant       none
// @version     3.0
// @author      L.W.Kevin0wvf
// @description 让你的网页充满更多恶搞!(蛤蛤(?))
// @license MIT
// ==/UserScript==
(async function(){
    console.log("Hello Bug");
    var q = new String("Hello Bug!");
    alert(q);
    async function runBug()
    {
      var i = 0;
      try
      {
        do{
          i > q.length - 1 ? i = 0 : null;
          alert(q[i]+" - bug");
          i++;
        }while(true);
      }
      catch(e)
      {
        console.error(e+e.stack)
        console.error("Hello Bug!");
      }
      return true;
    }
    alert("Trick or treat!");
    runBug();
})();