Orchid's Post Helper

Adds additional phrases that can be used in posts as a symbol for something else. This script is written by xerotic, Mr Kewl, updated by xadamxk

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
 
// ==UserScript==
// @name            Orchid's Post Helper
// @namespace       Post Helper
// @description     Adds additional phrases that can be used in posts as a symbol for something else. This script is written by xerotic, Mr Kewl, updated by xadamxk
// @include         http://www.hackforums.net/*
// @include         http://hackforums.net/*
// @version         1.0
// ==/UserScript==

function form_submit(event) {
   var form = event ? event.target : this;
   var arTextareas = form.getElementsByTagName('textarea');
   for (var i = arTextareas.length - 1; i >= 0; i--) {
	   var elmTextarea = arTextareas[i];
		//Start making regexes and formatting them....
		//##Template:
		// elmTextarea.value = elmTextarea.value.replace(regex,replace);
		

		elmTextarea.value = elmTextarea.value.replace("<3","&#9829;");
 re = /\[Adware\]/gi;
		elmTextarea.value = elmTextarea.value.replace(re,"[b][color=#FF0000][font=Tahoma][size=large]Adware Removal[/font][/color][/b][/size]\n\n\n\n[color=#00BFFF][u]Adwcleaner[/u][/color]\n[list=1]\n[*]Download [url=http://www.bleepingcomputer.com/download/adwcleaner/][b]Adwcleaner[/b][/url] and save it to your desktop.\n[*]Once Adwcleaner is open press 'scan'\n[*]When the scan is finished press 'clean' which should be on the right hand side of 'scan.'\n[/list]\n\n\n[color=#00BFFF][u]Junkware Removal Tool[/u][/color]\n[list=1]\n[*]Download [url=http://www.bleepingcomputer.com/download/junkware-removal-tool/][b]Junkware Removal Tool[/b][/url] and save it to your desktop.\n[*]A window will open that looks like CMD, press any key to start a full scan of your PC.\n[*]Let the program run until is creates a log on your desktop. \n[/list]\n\n\n[size=xx-small][color=#FFFFFF]If you need further help PM me.[/color][/size]");

  }

   form._submit();
}

window.addEventListener('submit',form_submit, true);
HTMLFormElement.prototype._submit = HTMLFormElement.prototype.submit;
HTMLFormElement.prototype.submit = form_submit;