Ghost Trappers - Loot Alerter

To be used with the Ghost Trappers Facebook game. This script will alert you when you received the loot you specify

当前为 2015-10-18 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Ghost Trappers - Loot Alerter
// @author       Rani Kheir
// @version      1.0
// @description  To be used with the Ghost Trappers Facebook game. This script will alert you when you received the loot you specify
// @include      *ghost-trappers.com*
// @icon         http://i44.photobucket.com/albums/f36/Rani-Kheir/ghosticon_zpsc395e1ce.png
// @copyright    2015+, Rani Kheir
// @namespace https://greasyfork.org/users/4271
// ==/UserScript==


////////////////////////////////////////////////////////////////////
/////
///// To use the script edit the text that says:
/////
/////    EDIT THIS TEXT HERE
/////
///// in this statement:
/////
/////    if (obtainFirstLog.match(/EDIT THIS TEXT HERE/i))
/////
////////////////////////////////////////////////////////////////////

var obtainFirstLog = document.getElementsByClassName('logText')[0].innerHTML;

if (obtainFirstLog.match(/EDIT THIS TEXT HERE/i))
            { alert("Congratulations!\n\nThe word or sentence you were looking for has been found!"); }