SHARE
TWEET

Untitled

a guest May 23rd, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         (MAGICSHoP)
  3. // @namespace    g
  4. // @version      1.0
  5. // @description  Automatically highlights profitable items in Neopets stores.
  6. // @author       Me
  7. // @match        http://www.neopets.com/objects.phtml?type=shop&obj_type=2
  8. // @grant        none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12.  
  13.     var patterns = [], classes = [];
  14.  
  15.     /*    The following define the classes of words.  If the first
  16.     character of the specification is "=", the match will be
  17.     case-sensitive, otherwise it will be case-insensitive.
  18.     The specification is a regular expression, and should
  19.     contain metacharacters to handle variant spellings and
  20.     plurals.  Any grouping within these patterns *must* be done
  21.     with a (?: ... ) specification to avoid messing up the
  22.     capture from the text string.
  23.  
  24.     You may add additional categories as you wish, but be sure to
  25.     declare their rendering in the style definition below.  */
  26.  
  27.     //    Rendering styles for our various word classes
  28.  
  29.     addGlobalStyle('span.blank { background-color: #ffffff; color: #ffffff } ' +
  30.            'span.yellow { background-color: #000000; color: #fdff00; border-style: dotted; font-size: 13px; } ' +
  31.            'span.green { background-color:  #FFA500; color: #ffffff; border-style: dotted; border-color: black; font-size: 25px; } ' +
  32.                  'span.red { background-color: #ff1a00; color: #000000; border-style: dotted; font-size: 18px; } ' +
  33.                  'span.purple { background-color: #FF00FF; color: #FFFFFF; border-style: dotted; font-size: 27px; } ' );
  34.  
  35.     // PURPLE items. Items in this list will appear as white on white and be functionally invisible.
  36.     defwords([
  37.         "Ice Hissi Morphing Potion",
  38. "Baby Draik Morphing Potion",
  39. "8-bit Power-Up Potion",
  40. "Stealthy Grarrl Morphing Potion",
  41. "Desert Lutari Morphing Potion",
  42. "Maraquan Grarrl Morphing Potion",
  43. "Plushie Aisha Morphing Potion",
  44. "Plushie Cybunny Morphing Potion",
  45. "Faerie Krawk Morphing Potion",
  46. "Wraith Draik Morphing Potion",
  47. "Maraquan Gelert Morphing Potion",
  48. "Halloween Hissi Morphing Potion",
  49. "Strange Potion",
  50. "Faerie Lupe Morphing Potion",
  51. "Plushie Hissi Morphing Potion",
  52. "Plushie Poogle Morphing Potion",
  53. "Stealthy Lutari Morphing Potion",
  54. "Darigan Eyrie Morphing Potion",
  55. "Halloween Aisha Morphing Potion",
  56. "Plushie Bori Morphing Potion",
  57. "Maraquan Ixi Morphing Potion",
  58. "Maraquan Kacheek Morphing Potion",
  59. "Plushie Gnorbu Morphing Potion",
  60. "Royal Boy Kyrii Morphing Potion",
  61. "Baby Kacheek Morphing Potion",
  62. "Island Lutari Morphing Potion",
  63. "Spotted Gelert Morphing Potion",
  64. "Woodland Uni Morphing Potion",
  65. "Royal Girl Kyrii Morphing Potion",
  66. "Stealthy Blumaroo Morphing Potion",
  67. "Darigan Draik Morphing Potion",
  68. "Faerie Bruce Morphing Potion",
  69. "Faerie Ixi Morphing Potion",
  70. "Halloween Cybunny Morphing Potion",
  71. "Pink Lutari Morphing Potion",
  72. "Pirate Lutari Morphing Potion",
  73. "Stealthy Krawk Morphing Potion",
  74. "Halloween Eyrie Morphing Potion",
  75. "Faerie Grundo Morphing Potion",
  76. "Faerie Ruki Morphing Potion",
  77. "Faerie Shoyru Morphing Potion",
  78. "Fire Blumaroo Morphing Potion",
  79. "Green Lutari Morphing Potion",
  80. "Maractite Hissi Morphing Potion",
  81. "Wraith Gelert Morphing Potion",
  82. "Wraith Krawk Morphing Potion",
  83. "Desert Aisha Morphing Potion",
  84. "Faerie Lutari Morphing Potion",
  85. "Faerie Peophin Morphing Potion",
  86. "Kauvaras Potion",
  87. "Faerie Draik Morphing Potion"
  88.         ], "purple");
  89.  
  90.     //     words. These items are black background with red text.
  91.     defwords([
  92. "Green JubJub Morphing Potion",
  93. "Green Skeith Morphing Potion",
  94. "Inflation Notice Spotted Bori Morphing Potion",
  95. "Spotted Bori Morphing Potion",
  96. "Starry Bori Morphing Potion",
  97. "Shadow Ogrin Morphing Potion",
  98. "Inflation Notice Speckled Kau Morphing Potion",
  99. "Speckled Kau Morphing Potion",
  100. "Checkered Bori Morphing Potion",
  101. "Fire Tuskaninny Morphing Potion",
  102. "Speckled Shoyru Morphing Potion",
  103. "Christmas Elephante Morphing Potion",
  104. "Yellow Buzz Morphing Potion",
  105. "Yellow Grarrl Morphing Potion",
  106. "Yellow Peophin Morphing Potion",
  107. "Yellow Grundo Morphing Potion",
  108. "Christmas Koi Morphing Potion",
  109. "Skunk Flotsam Morphing Potion",
  110. "Blue Nimmo Morphing Potion",
  111. "Brown Lenny Morphing Potion",
  112. "Pirate Pteri Morphing Potion",
  113. "Rainbow Korbat Morphing Potion",
  114. "Blue Buzz Morphing Potion",
  115. "Red Buzz Morphing Potion",
  116. "Red Kougra Morphing Potion",
  117. "Christmas Lenny Morphing Potion",
  118. "Cloud Peophin Morphing Potion",
  119. "Spotted Shoyru Morphing Potion",
  120. "Starry Xweetok Morphing Potion",
  121. "Pirate Bori Morphing Potion",
  122. "Green Aisha Morphing Potion",
  123. "Spotted Grundo Morphing Potion",
  124. "Christmas Gnorbu Morphing Potion",
  125. "Striped Scorchio Morphing Potion",
  126. "Desert Ogrin Morphing Potion",
  127. "Skunk Buzz Morphing Potion",
  128. "Striped Flotsam Morphing Potion",
  129. "Green Wocky Morphing Potion",
  130. "Yellow Wocky Morphing Potion",
  131. "Speckled Xweetok Morphing Potion",
  132. "Green Tonu Morphing Potion",
  133. "Red Wocky Morphing Potion",
  134. "Split Flotsam Morphing Potion",
  135. "Striped Nimmo Morphing Potion",
  136. "Yellow Kougra Morphing Potion",
  137. "Red Elephante Morphing Potion",
  138. "Starry Yurble Morphing Potion",
  139. "Cloud Grarrl Morphing Potion",
  140. "Brown Grundo Morphing Potion",
  141. "Green Nimmo Morphing Potion",
  142. "Purple Pteri Morphing Potion",
  143. "Zombie JubJub Morphing Potion",
  144. "Red Blumaroo Morphing Potion",
  145. "Red Blumaroo Morphing Potion",
  146. "Gold Tonu Morphing Potion",
  147. "Green Tuskaninny Morphing Potion",
  148. "Fire Pteri Morphing Potion",
  149. "Inflation Notice Green Ixi Morphing Potion",
  150. "Green Ixi Morphing Potion",
  151. "Snow Bori Morphing Potion",
  152. "Tyrannian Eyrie Morphing Potion",
  153. "Yellow Bori Morphing Potion",
  154. "Blue Koi Morphing Potion",
  155. "Pink Ogrin Morphing Potion",
  156. "Silver Shoyru Morphing Potion",
  157. "Tyrannian Bori Morphing Potion",
  158. "Blue Blumaroo Morphing Potion",
  159. "Brown Kougra Morphing Potion",
  160. "Green Kau Morphing Potion",
  161. "Orange Yurble Morphing Potion",
  162. "Pink Koi Morphing Potion",
  163. "Yellow Korbat Morphing Potion",
  164. "Blue Kau Morphing Potion",
  165. "Cloud Grundo Morphing Potion",
  166. "Spotted Blumaroo Morphing Potion",
  167. "Striped Tuskaninny Morphing Potion",
  168. "Red Korbat Morphing Potion",
  169. "Starry Uni Morphing Potion",
  170. "Yellow Shoyru Morphing Potion",
  171. "Cloud Elephante Morphing Potion",
  172. "Desert Tuskaninny Morphing Potion",
  173. "Glowing Poogle Morphing Potion",
  174. "Rainbow Gnorbu Morphing Potion",
  175. "Snow Techo Morphing Potion",
  176. "Striped Aisha Morphing Potion",
  177. "Red Kau Morphing Potion",
  178. "Red Peophin Morphing Potion",
  179. "Shadow Tonu Morphing Potion",
  180. "Starry Shoyru Morphing Potion",
  181. "Christmas JubJub Morphing Potion",
  182. "Glowing Korbat Morphing Potion",
  183. "Spotted Flotsam Morphing Potion",
  184. "Starry Grundo Morphing Potion",
  185. "Dimensional Moehog Morphing Potion",
  186. "Yellow Lenny Morphing Potion",
  187. "Fire Kau Morphing Potion",
  188. "Blue Grundo Morphing Potion",
  189. "Christmas Grundo Morphing Potion",
  190. "Tyrannian Ixi Morphing Potion",
  191. "Tyrannian Flotsam Morphing Potion",
  192. "Blue Quiggle Morphing Potion",
  193. "Yellow Nimmo Morphing Potion",
  194. "Rainbow Quiggle Morphing Potion",
  195. "Blue Uni Morphing Potion",
  196. "Rainbow Ogrin Morphing Potion",
  197. "Speckled Bori Morphing Potion",
  198. "Island Pteri Morphing Potion",
  199. "Red Aisha Morphing Potion",
  200. "Strawberry Techo Morphing Potion",
  201. "Electric Moehog Morphing Potion",
  202. "Green Kougra Morphing Potion",
  203. "Eventide Lenny Morphing Potion",
  204. "Blue Aisha Morphing Potion",
  205. "Christmas Magic Hat",
  206. "Green Lenny Morphing Potion",
  207. "Pirate Yurble Morphing Potion",
  208. "Ghost Gnorbu Morphing Potion",
  209. "Red Techo Morphing Potion",
  210. "Pirate Flotsam Morphing Potion",
  211. "Yellow Elephante Morphing Potion",
  212. "Yellow Kau Morphing Potion",
  213. "Striped Korbat Morphing Potion",
  214. "Pirate Ogrin Morphing Potion",
  215. "Camouflage Scorchio Morphing Potion",
  216. "Cloud Scorchio Morphing Potion",
  217. "Pink Kyrii Morphing Potion",
  218. "Skunk Kyrii Morphing Potion",
  219. "White Kyrii Morphing Potion",
  220. "Cloud Wocky Morphing Potion",
  221. "Christmas Ogrin Morphing Potion",
  222. "Yellow Yurble Morphing Potion",
  223. "Blue Grarrl Morphing Potion",
  224. "Strawberry Pteri Morphing Potion",
  225. "Ghost Ogrin Morphing Potion",
  226. "Camouflage JubJub Morphing Potion",
  227. "Yellow Tonu Morphing Potion",
  228. "Orange Tuskaninny Morphing Potion",
  229. "Strawberry Tuskaninny Morphing Potion",
  230. "Green Flotsam Morphing Potion",
  231. "Spotted Pteri Morphing Potion",
  232. "Blue Elephante Morphing Potion",
  233. "Strawberry Meerca Morphing Potion",
  234. "Yellow Quiggle Morphing Potion",
  235. "Blue Tonu Morphing Potion",
  236. "Red Koi Morphing Potion",
  237. "Yellow Aisha Morphing Potion",
  238. "Gold Scorchio Morphing Potion",
  239. "Camouflage Tuskaninny Morphing Potion",
  240. "Fire Buzz Morphing Potion",
  241. "Inflation Notice Green Korbat Morphing Potion",
  242. "Green Korbat Morphing Potion",
  243. "Blue Gnorbu Morphing Potion",
  244. "Blue Kougra Morphing Potion",
  245. "Green Buzz Morphing Potion",
  246. "Green Techo Morphing Potion",
  247. "Red Grarrl Morphing Potion",
  248. "Starry Tuskaninny Morphing Potion",
  249. "Tyrannian Ogrin Morphing Potion",
  250. "Yellow Gnorbu Morphing Potion",
  251. "Rainbow Tuskaninny Morphing Potion",
  252. "Blue Tuskaninny Morphing Potion",
  253. "Fire Techo Morphing Potion",
  254. "Inflation Notice Red Flotsam Morphing Potion",
  255. "Red Flotsam Morphing Potion",
  256. "Red Gnorbu Morphing Potion",
  257. "Red Tonu Morphing Potion",
  258. "Split Lenny Morphing Potion",
  259. "Spotted Nimmo Morphing Potion",
  260. "Red Quiggle Morphing Potion",
  261. "Yellow Mynci Morphing Potion",
  262. "Red Nimmo Morphing Potion",
  263. "Green Gnorbu Morphing Potion",
  264. "Glowing Koi Morphing Potion",
  265. "Starry Scorchio Morphing Potion",
  266. "Yellow Tuskaninny Morphing Potion",
  267. "Green Moehog Morphing Potion",
  268. "Fire Flotsam Morphing Potion",
  269. "Pirate Meerca Morphing Potion",
  270. "Blue Yurble Morphing Potion",
  271. "Fire Ogrin Morphing Potion",
  272. "Purple Techo Morphing Potion",
  273. "Camouflage Mynci Morphing Potion",
  274. "Red Kyrii Morphing Potion",
  275. "Snowy Flotsam Morphing Potion",
  276. "Starry Wocky Morphing Potion",
  277. "Electric Tuskaninny Morphing Potion",
  278. "Blue Meerca Morphing Potion",
  279. "Blue Techo Morphing Potion",
  280. "Skunk Mynci Morphing Potion",
  281. "Blue Scorchio Morphing Potion",
  282. "Green Vandagyre Morphing Potion",
  283. "Green Pteri Morphing Potion",
  284. "White Grarrl Morphing Potion",
  285. "Green Grarrl Morphing Potion",
  286. "Starry Pteri Morphing Potion",
  287. "Starry Korbat Morphing Potion",
  288. "Green Elephante Morphing Potion",
  289. "Spotted Korbat Morphing Potion",
  290. "Blue Flotsam Morphing Potion",
  291. "Chomby Staff",
  292. "Yellow Techo Morphing Potion",
  293. "Green Meerca Morphing Potion",
  294. "Red Eyrie Morphing Potion",
  295. "Purple Yurble Morphing Potion",
  296. "Split Grarrl Morphing Potion",
  297. "Red Yurble Morphing Potion",
  298. "Camouflage Kyrii Morphing Potion",
  299. "Green Yurble Morphing Potion",
  300. "Checkered Koi Morphing Potion",
  301. "Green Koi Morphing Potion",
  302. "Camouflage Wocky Morphing Potion",
  303. "Halloween Tonu Morphing Potion",
  304. "Spotted Grarrl Morphing Potion",
  305. "Spotted Scorchio Morphing Potion",
  306. "Starry Koi Morphing Potion",
  307. "Yellow Koi Morphing Potion",
  308. "Blue Eyrie Morphing Potion",
  309. "Tyrannian Nimmo Morphing Potion",
  310. "Zombie Flotsam Morphing Potion",
  311. "Red Tuskaninny Morphing Potion",
  312. "Starry Nimmo Morphing Potion",
  313. "Yellow JubJub Morphing Potion",
  314. "Camouflage Meerca Morphing Potion",
  315. "Blue Pteri Morphing Potion",
  316. "Cloud Pteri Morphing Potion",
  317. "Red Meerca Morphing Potion",
  318. "Starry Flotsam Morphing Potion",
  319. "Swamp Gas Techo Morphing Potion",
  320. "Inflation Notice Yellow Flotsam Morphing Potion",
  321. "Yellow Flotsam Morphing Potion",
  322. "Yellow Kyrii Morphing Potion",
  323. "Red Uni Morphing Potion",
  324. "Yellow Uni Morphing Potion",
  325. "Red Pteri Morphing Potion",
  326. "Red Scorchio Morphing Potion",
  327. "Yellow Vandagyre Morphing Potion",
  328. "Green Eyrie Morphing Potion",
  329. "Checkered Techo Morphing Potion",
  330. "Red JubJub Morphing Potion",
  331. "Yellow Eyrie Morphing Potion",
  332. "Yellow Moehog Morphing Potion",
  333. "Spotted Eyrie Morphing Potion",
  334. "Fire Grarrl Morphing Potion",
  335. "Illusen Day Elixir",
  336. "Yellow Pteri Morphing Potion",
  337. "Strawberry Mynci Morphing Potion",
  338. "Yellow Meerca Morphing Potion",
  339. "Starry Techo Morphing Potion",
  340. "Blue JubJub Morphing Potion",
  341. "Camouflage Techo Morphing Potion",
  342. "Brown Techo Morphing Potion",
  343. "Green Mynci Morphing Potion",
  344. "Inflation Notice Speckled Moehog Morphing Potion",
  345. "Speckled Moehog Morphing Potion",
  346. "Blue Mynci Morphing Potion",
  347. "Inflation Notice Carafe of Corruption",
  348. "Carafe of Corruption",
  349. "Blue Moehog Morphing Potion",
  350. "Red Poogle Morphing Potion",
  351. "Blue Kyrii Morphing Potion",
  352. "Potion of Pestilence",
  353. "Inflation Notice Brown Moehog Morphing Potion",
  354. "Brown Moehog Morphing Potion",
  355. "Vial of Vile",
  356. "Pirate Aisha Morphing Potion",
  357. "Decanter of Death",
  358. "Slorg Slime",
  359. "Bloodberry Elixir",
  360. "Brain Of Mirgle",
  361. "Pirate Eyrie Morphing Potion",
  362. "Red Moehog Morphing Potion",
  363. "Pirate Techo Morphing Potion",
  364. "Eye Of Mortog",
  365.  "Rainbow Bori Morphing Potion",
  366. "Blue Vandagyre Morphing Potion",
  367. "Red Xweetok Morphing Potion",
  368. "Yellow Xweetok Morphing Potion",
  369. "Red Vandagyre Morphing Potion",
  370. "Zombie Blumaroo Morphing Potion",
  371. "Green Xweetok Morphing Potion",
  372. "Orange Kougra Morphing Potion",
  373. "Green Uni Morphing Potion",
  374. "Strawberry Wocky Morphing Potion",
  375. "Ghost Buzz Morphing Potion",
  376. "Golden Elephante Morphing Potion",
  377. "Purple JubJub Morphing Potion",
  378. "Orange Koi Morphing Potion",
  379. "Split Mynci Morphing Potion",
  380. "Christmas Magic Wand",
  381. "Blue Xweetok Morphing Potion",
  382. "Starry Grarrl Morphing Potion",
  383. "Yellow Ogrin Morphing Potion",
  384. "Steam Jug",
  385. "Magic Hat",
  386. "Green Kyrii Morphing Potion",
  387. "Puce Elixir",
  388. "Green Ogrin Morphing Potion",
  389. "Red Ogrin Morphing Potion",
  390. "Blue Ogrin Morphing Potion",
  391. "Fire Jug",
  392. "Magic Vial",
  393. "Starlight Potion",
  394. "Stream of Light",
  395. "Nanka Bottle",
  396. "Firestorm Bottle",
  397. "Flamestrike Bottle",
  398. "Slippery Floor Potion",
  399. "Downpour Bottle",
  400. "Tornado in a Bottle",
  401. "Wet Snowball Wand",
  402. "Poison Snowball Wand",
  403. "Exploding Potion",
  404. "Magic Wand",
  405. "Evil Snowball Wand",
  406. "Pressurised Water",
  407. "Tears of the Water Faerie",
  408. "Bombaberry Elixir",
  409. "Zap Bottle",
  410. "Jar of Eyeballs",
  411. "Starburst Bottle",
  412. "Lutari Healing Potion",
  413. "Potion of Concealment",
  414. "Weak Bottled Light Faerie",
  415. "Unidentifiable Weak Bottled Faerie",
  416. "Weak Bottled Fire Faerie",
  417. "Weak Bottled Air Faerie",
  418. "Healing Springs Residue",
  419. "Weak Bottled Dark Faerie",
  420. "Weak Bottled Water Faerie",
  421. "Juicy Elixir",
  422. "Ubikiberry Elixir",
  423. "Lime Elixir",
  424. "Weak Bottled Earth Faerie",
  425. "Pale Elixir",
  426. "Nova",
  427. "Supernova"
  428.         ], "blank");
  429.  
  430.     //    RED words. These items are black background with red text.
  431.  
  432.     defwords([
  433.             "Fire Bruce Morphing Potion",
  434. "Halloween Kyrii Morphing Potion",
  435. "Inflation Notice Transparent Lenny Morphing Potion",
  436. "Transparent Lenny Morphing Potion",
  437. "Zombie Aisha Morphing Potion",
  438. "Wraith Ogrin Morphing Potion",
  439. "Zombie Usul Morphing Potion",
  440. "Ghost Hissi Morphing Potion",
  441. "Baby Koi Morphing Potion",
  442. "Blue Jetsam Morphing Potion",
  443. "Darigan Grundo Morphing Potion",
  444. "Desert Chomby Morphing Potion",
  445. "Fire Ruki Morphing Potion",
  446. "Island Aisha Morphing Potion",
  447. "Baby Poogle Morphing Potion",
  448. "Baby Usul Morphing Potion",
  449. "Christmas Kacheek Morphing Potion",
  450. "Rainbow Cybunny Morphing Potion",
  451. "Blue Kacheek Morphing Potion",
  452. "Halloween Xweetok Morphing Potion",
  453. "Island Uni Morphing Potion",
  454. "Plushie Ixi Morphing Potion",
  455. "Red Kacheek Morphing Potion",
  456. "Yellow Krawk Morphing Potion",
  457. "White Xweetok Morphing Potion",
  458. "Yellow Kacheek Morphing Potion",
  459. "Grey Zafara Morphing Potion",
  460. "Inflation Notice Transparent Korbat Morphing Potion",
  461. "Transparent Korbat Morphing Potion",
  462. "Inflation Notice Pirate Kougra Morphing Potion",
  463. "Pirate Kougra Morphing Potion",
  464. "Skunk Lupe Morphing Potion",
  465. "Speckled Cybunny Morphing Potion",
  466. "Inflation Notice Strawberry Kacheek Morphing Potion",
  467. "Strawberry Kacheek Morphing Potion",
  468. "Desert Blumaroo Morphing Potion",
  469. "Inflation Notice Wraith Korbat Morphing Potion",
  470. "Wraith Korbat Morphing Potion",
  471. "Eventide Kougra Morphing Potion",
  472. "Grey JubJub Morphing Potion",
  473. "Island Ixi Morphing Potion",
  474. "Inflation Notice Rainbow Kacheek Morphing Potion",
  475. "Rainbow Kacheek Morphing Potion",
  476. "Baby Kiko Morphing Potion",
  477. "Fire Chia Morphing Potion",
  478. "Island Grundo Morphing Potion",
  479. "Island Lupe Morphing Potion",
  480. "Inflation Notice Red Krawk Morphing Potion",
  481. "Red Krawk Morphing Potion",
  482. "Woodland Mynci Morphing Potion",
  483. "Ghost Tuskaninny Morphing Potion",
  484. "Wraith Pteri Morphing Potion",
  485. "Eventide Hissi Morphing Potion",
  486. "Green Krawk Morphing Potion",
  487. "Transparent Elephante Morphing Potion",
  488. "Blue Krawk Morphing Potion",
  489. "Rainbow Hissi Morphing Potion",
  490. "Halloween Blumaroo Morphing Potion",
  491. "Inflation Notice Pink Lenny Morphing Potion",
  492. "Pink Lenny Morphing Potion",
  493. "Inflation Notice Transparent Wocky Morphing Potion",
  494. "Transparent Wocky Morphing Potion",
  495. "Faerie Pteri Morphing Potion",
  496. "Inflation Notice Grey Mynci Morphing Potion",
  497. "Grey Mynci Morphing Potion",
  498. "Shadow Peophin Morphing Potion",
  499. "Grey Grarrl Morphing Potion",
  500. "Inflation Notice Zombie Eyrie Morphing Potion",
  501. "Zombie Eyrie Morphing Potion",
  502. "Fire Lupe Morphing Potion",
  503. "Island JubJub Morphing Potion",
  504. "Island Kiko Morphing Potion",
  505. "Plushie Yurble Morphing Potion",
  506. "Inflation Notice Brown Uni Morphing Potion",
  507. "Brown Uni Morphing Potion",
  508. "Eventide Poogle Morphing Potion",
  509. "Plushie Kougra Morphing Potion",
  510. "Dimensional Kougra Morphing Potion",
  511. "Faerie Aisha Morphing Potion",
  512. "Faerie Uni Morphing Potion",
  513. "Plushie Kau Morphing Potion",
  514. "Inflation Notice Shadow Hissi Morphing Potion",
  515. "Shadow Hissi Morphing Potion",
  516. "Cloud Ruki Morphing Potion",
  517. "Rainbow Lupe Morphing Potion",
  518. "Darigan Kyrii Morphing Potion",
  519. "Darigan Mynci Morphing Potion",
  520. "Disco Bruce Morphing Potion",
  521. "Fire Chomby Morphing Potion",
  522. "Green Lupe Morphing Potion",
  523. "Plushie Tuskaninny Morphing Potion",
  524. "Inflation Notice Faerie Kau Morphing Potion",
  525. "Faerie Kau Morphing Potion",
  526. "Island Buzz Morphing Potion",
  527. "Plushie Pteri Morphing Potion",
  528. "Rainbow Swirly Potion",
  529. "Inflation Notice Red Lupe Morphing Potion",
  530. "Red Lupe Morphing Potion",
  531. "Water Faerie Bubbles",
  532. "Clay Aisha Morphing Potion",
  533. "Inflation Notice Green Jetsam Morphing Potion",
  534. "Green Jetsam Morphing Potion",
  535. "Island Shoyru Morphing Potion",
  536. "Shadow Chomby Morphing Potion",
  537. "Starry Hissi Morphing Potion",
  538. "Yellow Lupe Morphing Potion",
  539. "Fire Kiko Morphing Potion",
  540. "Halloween Chia Morphing Potion",
  541. "Inflation Notice Maraquan Techo Morphing Potion",
  542. "Maraquan Techo Morphing Potion",
  543. "Inflation Notice Water Kyrii Morphing Potion",
  544. "Water Kyrii Morphing Potion",
  545. "Camouflage Chia Morphing Potion",
  546. "Christmas Zafara Morphing Potion",
  547. "Inflation Notice Desert Yurble Morphing Potion",
  548. "Desert Yurble Morphing Potion",
  549. "Grey Techo Morphing Potion",
  550. "Maraquan Buzz Morphing Potion",
  551. "Pirate Poogle Morphing Potion",
  552. "Plushie Jetsam Morphing Potion",
  553. "Rainbow Chomby Morphing Potion",
  554. "Red Zafara Morphing Potion",
  555. "Yellow Hissi Morphing Potion",
  556. "Island Mynci Morphing Potion",
  557. "Island Xweetok Morphing Potion",
  558. "Halloween Nimmo Morphing Potion",
  559. "Island Lenny Morphing Potion",
  560. "Island Poogle Morphing Potion",
  561. "Water Buzz Morphing Potion",
  562. "White Chomby Morphing Potion",
  563. "Yellow Zafara Morphing Potion",
  564. "Christmas Lupe Morphing Potion",
  565. "Darigan Quiggle Morphing Potion",
  566. "Desert Mynci Morphing Potion",
  567. "Purple Chia Morphing Potion",
  568. "Shadow Ruki Morphing Potion",
  569. "Green Zafara Morphing Potion",
  570. "Wraith Bruce Morphing Potion",
  571. "Yellow Jetsam Morphing Potion",
  572. "Christmas Ixi Morphing Potion",
  573. "Dimensional Aisha Morphing Potion",
  574. "Faerie Tuskaninny Morphing Potion",
  575. "Grey Yurble Morphing Potion",
  576. "Relic Chia Morphing Potion",
  577. "Inflation Notice Blue Lupe Morphing Potion",
  578. "Blue Lupe Morphing Potion",
  579. "Dimensional Jetsam Morphing Potion",
  580. "Disco Shoyru Morphing Potion",
  581. "Faerie Quiggle Morphing Potion",
  582. "Glowing Lupe Morphing Potion",
  583. "Plushie Flotsam Morphing Potion",
  584. "Stealthy Techo Morphing Potion",
  585. "Inflation Notice Pirate Wocky Morphing Potion",
  586. "Pirate Wocky Morphing Potion",
  587. "Plushie Korbat Morphing Potion",
  588. "Plushie Wocky Morphing Potion",
  589. "Shadow Uni Morphing Potion",
  590. "Strawberry Lupe Morphing Potion",
  591. "White Skeith Morphing Potion",
  592. "Desert Peophin Morphing Potion",
  593. "Polkadot Tonu Morphing Potion",
  594. "Inflation Notice Flaming Torch",
  595. "Flaming Torch",
  596. "Plushie Buzz Morphing Potion",
  597. "Split Lupe Morphing Potion",
  598. "Woodland Grundo Morphing Potion",
  599. "Light Faerie Dust",
  600. "Inflation Notice Pirate Hissi Morphing Potion",
  601. "Pirate Hissi Morphing Potion",
  602. "Rainbow Poogle Morphing Potion",
  603. "Tyrannian Peophin Morphing Potion",
  604. "Dimensional Poogle Morphing Potion",
  605. "Disco Chomby Morphing Potion",
  606. "Glowing Jetsam Morphing Potion",
  607. "Red Chomby Morphing Potion",
  608. "Blue Zafara Morphing Potion",
  609. "Electric Ixi Morphing Potion",
  610. "Plushie Mynci Morphing Potion",
  611. "Water Acara Morphing Potion",
  612. "Inflation Notice White Peophin Morphing Potion",
  613. "White Peophin Morphing Potion",
  614. "Halloween Techo Morphing Potion",
  615. "Inflation Notice Pirate Shoyru Morphing Potion",
  616. "Pirate Shoyru Morphing Potion",
  617. "Ghost Acara Morphing Potion",
  618. "Grey Lenny Morphing Potion",
  619. "Inflation Notice Island Tuskaninny Morphing Potion",
  620. "Island Tuskaninny Morphing Potion",
  621. "Pink Shoyru Morphing Potion",
  622. "Yellow Chia Morphing Potion",
  623. "Inflation Notice Checkered Aisha Morphing Potion",
  624. "Checkered Aisha Morphing Potion",
  625. "Green Hissi Morphing Potion",
  626. "Striped Jetsam Morphing Potion",
  627. "Inflation Notice Island Eyrie Morphing Potion",
  628. "Island Eyrie Morphing Potion",
  629. "Island Wocky Morphing Potion",
  630. "Woodland Koi Morphing Potion",
  631. "Faerie Nimmo Morphing Potion",
  632. "Starry Zafara Morphing Potion",
  633. "Spotted Jetsam Morphing Potion",
  634. "Inflation Notice Eventide Zafara Morphing Potion",
  635. "Eventide Zafara Morphing Potion",
  636. "Fire Shoyru Morphing Potion",
  637. "Pastel Gnorbu Morphing Potion",
  638. "Inflation Notice White Chia Morphing Potion",
  639. "White Chia Morphing Potion",
  640. "Inflation Notice Halloween Kau Morphing Potion",
  641. "Halloween Kau Morphing Potion",
  642. "Inflation Notice Darigan Techo Morphing Potion",
  643. "Darigan Techo Morphing Potion",
  644. "Fire Ixi Morphing Potion",
  645. "Inflation Notice Plushie Techo Morphing Potion",
  646. "Plushie Techo Morphing Potion",
  647. "Purple Zafara Morphing Potion",
  648. "Snow Wocky Morphing Potion",
  649. "Pink Uni Morphing Potion",
  650. "Brown Ixi Morphing Potion",
  651. "Inflation Notice Eventide Tonu Morphing Potion",
  652. "Eventide Tonu Morphing Potion",
  653. "Yellow Poogle Morphing Potion",
  654. "Darigan Buzz Morphing Potion",
  655. "Blue Ruki Morphing Potion",
  656. "Eventide Ixi Morphing Potion",
  657. "Striped Skeith Morphing Potion",
  658. "Ghost Grarrl Morphing Potion",
  659. "Red Chia Morphing Potion",
  660. "Inflation Notice Zombie Buzz Morphing Potion",
  661. "Zombie Buzz Morphing Potion",
  662. "Green Chomby Morphing Potion",
  663. "Island Usul Morphing Potion",
  664. "Woodland Skeith Morphing Potion",
  665. "Island Chomby Morphing Potion",
  666. "Snow Blumaroo Morphing Potion",
  667. "Disco Moehog Morphing Potion"
  668.                 ],
  669.     "red");
  670.  
  671.     //    YELLOW words. Black background, yellow text.
  672.  
  673.     defwords([
  674.         "z"
  675.          ],
  676.     "yellow");
  677.  
  678.         //    GREEN words. Black background, green text.
  679.  
  680.     defwords([
  681.         "Cloud Cybunny Morphing Potion",
  682. "Maractite Draik Morphing Potion",
  683. "Spotted Kau Morphing Potion",
  684. "Transparent Skeith Morphing Potion",
  685. "Faerie Hissi Morphing Potion",
  686. "Halloween Bori Morphing Potion",
  687. "Maraquan Krawk Morphing Potion",
  688. "Water Draik Morphing Potion",
  689. "Grey Draik Morphing Potion",
  690. "Darigan Aisha Morphing Potion",
  691. "Darigan Ixi Morphing Potion",
  692. "Darigan Wocky Morphing Potion",
  693. "Faerie Xweetok Morphing Potion",
  694. "Maractite Krawk Morphing Potion",
  695. "Darigan Zafara Morphing Potion",
  696. "Maraquan Cybunny Morphing Potion",
  697. "Woodland Wocky Morphing Potion",
  698. "Blue Draik Morphing Potion",
  699. "Halloween Grundo Morphing Potion",
  700. "Spotted Kougra Morphing Potion",
  701. "Spotted Lupe Morphing Potion",
  702. "Stealthy Kyrii Morphing Potion",
  703. "Wraith Grundo Morphing Potion",
  704. "Baby Kougra Morphing Potion",
  705. "Baby Lupe Morphing Potion",
  706. "Desert Hissi Morphing Potion",
  707. "Blue Gelert Morphing Potion",
  708. "Maraquan Acara Morphing Potion",
  709. "Island Peophin Morphing Potion",
  710. "Baby Uni Morphing Potion",
  711. "Baby Bruce Morphing Potion",
  712. "Halloween Ixi Morphing Potion",
  713. "Faerie Cybunny Morphing Potion",
  714. "Woodland Cybunny Morphing Potion",
  715. "Plushie Skeith Morphing Potion",
  716. "Wraith Shoyru Morphing Potion",
  717. "Island Cybunny Morphing Potion",
  718. "Baby Aisha Morphing Potion",
  719. "Fire Xweetok Morphing Potion",
  720. "Baby Chomby Morphing Potion",
  721. "Island Hissi Morphing Potion",
  722. "Plushie Grarrl Morphing Potion",
  723. "Darigan Bori Morphing Potion",
  724. "Island Krawk Morphing Potion",
  725. "Baby JubJub Morphing Potion",
  726. "Baby Korbat Morphing Potion",
  727. "Eventide Draik Morphing Potion",
  728. "Faerie Lenny Morphing Potion",
  729. "Halloween Meerca Morphing Potion",
  730. "Island Gelert Morphing Potion",
  731. "Darigan Blumaroo Morphing Potion",
  732. "Eventide Aisha Morphing Potion",
  733. "Pastel Xweetok Morphing Potion",
  734. "Yellow Draik Morphing Potion",
  735. "Red Draik Morphing Potion",
  736. "Plushie Kiko Morphing Potion",
  737. "Island Quiggle Morphing Potion",
  738. "Inflation Notice Plushie Ogrin Morphing Potion",
  739. "Plushie Ogrin Morphing Potion",
  740. "Baby Buzz Morphing Potion",
  741. "Ghost Gelert Morphing Potion",
  742. "Baby Jetsam Morphing Potion",
  743. "Water Usul Morphing Potion",
  744. "Baby Kau Morphing Potion",
  745. "Blue Cybunny Morphing Potion",
  746. "Camouflage Cybunny Morphing Potion",
  747. "Grey Ixi Morphing Potion",
  748. "Desert Krawk Morphing Potion",
  749. "Woodland Draik Morphing Potion",
  750. "Pink Draik Morphing Potion",
  751. "Baby Chia Morphing Potion",
  752. "Faerie Bori Morphing Potion",
  753. "Inflation Notice Island Blumaroo Morphing Potion",
  754. "Island Blumaroo Morphing Potion",
  755. "Purple Draik Morphing Potion",
  756. "Rainbow JubJub Morphing Potion",
  757. "Green Gelert Morphing Potion",
  758. "Maractite Peophin Morphing Potion",
  759. "Desert Flotsam Morphing Potion",
  760. "Halloween Grarrl Morphing Potion",
  761. "Baby Gnorbu Morphing Potion",
  762. "Baby Hissi Morphing Potion",
  763. "Halloween Uni Morphing Potion",
  764. "Wraith Scorchio Morphing Potion",
  765. "Grey Cybunny Morphing Potion",
  766. "Red Gelert Morphing Potion",
  767. "Faerie Meerca Morphing Potion",
  768. "Skunk Draik Morphing Potion",
  769. "Faerie Usul Morphing Potion",
  770. "Christmas Gelert Morphing Potion",
  771. "Plushie Grundo Morphing Potion",
  772. "Red Cybunny Morphing Potion",
  773. "Disco Kacheek Morphing Potion",
  774. "Faerie Blumaroo Morphing Potion",
  775. "Eventide Gelert Morphing Potion",
  776. "Faerie Poogle Morphing Potion",
  777. "Inflation Notice White Ixi Morphing Potion",
  778. "White Ixi Morphing Potion",
  779. "Camouflage Krawk Morphing Potion",
  780. "Christmas Cybunny Morphing Potion",
  781. "Faerie Techo Morphing Potion",
  782. "Ghost Draik Morphing Potion",
  783. "Green Cybunny Morphing Potion",
  784. "Grey Korbat Morphing Potion",
  785. "Starry Cybunny Morphing Potion",
  786. "Red Jetsam Morphing Potion",
  787. "Island Kacheek Morphing Potion",
  788. "Desert Ixi Morphing Potion",
  789. "Plushie Chomby Morphing Potion",
  790. "Shadow Blumaroo Morphing Potion",
  791. "Starry Draik Morphing Potion",
  792. "Faerie Acara Morphing Potion",
  793. "Cloud Gelert Morphing Potion",
  794. "Halloween Lenny Morphing Potion",
  795. "Maraquan Hissi Morphing Potion",
  796. "Faerie Yurble Morphing Potion",
  797. "Pirate Cybunny Morphing Potion",
  798. "Inflation Notice Darigan Acara Morphing Potion",
  799. "Darigan Acara Morphing Potion",
  800. "Maraquan Korbat Morphing Potion",
  801. "Pink Ruki Morphing Potion",
  802. "Baby Meerca Morphing Potion",
  803. "Baby Shoyru Morphing Potion",
  804. "Spotted Hissi Morphing Potion",
  805. "Baby Acara Morphing Potion",
  806. "Green Draik Morphing Potion",
  807. "Striped Xweetok Morphing Potion",
  808. "Woodland Bori Morphing Potion",
  809. "Water Gnorbu Morphing Potion",
  810. "Maractite Aisha Morphing Potion",
  811. "Island Bruce Morphing Potion",
  812. "Plushie Scorchio Morphing Potion",
  813. "Baby Blumaroo Morphing Potion",
  814. "Baby Scorchio Morphing Potion",
  815. "Darigan Grarrl Morphing Potion",
  816. "Green Kacheek Morphing Potion",
  817. "Baby Peophin Morphing Potion",
  818. "Desert Elephante Morphing Potion",
  819. "Maraquan Usul Morphing Potion",
  820. "Inflation Notice Plushie Usul Morphing Potion",
  821. "Plushie Usul Morphing Potion",
  822. "Spotted Koi Morphing Potion",
  823. "Inflation Notice Yellow Gelert Morphing Potion",
  824. "Yellow Gelert Morphing Potion",
  825. "Inflation Notice Island Zafara Morphing Potion",
  826. "Island Zafara Morphing Potion",
  827. "Shadow Cybunny Morphing Potion",
  828. "Starry Kacheek Morphing Potion",
  829. "Desert Poogle Morphing Potion",
  830. "Baby Grundo Morphing Potion",
  831. "Island Bori Morphing Potion",
  832. "Darigan Kau Morphing Potion",
  833. "Fire Draik Morphing Potion",
  834. "Invisible Wocky Morphing Potion",
  835. "Inflation Notice Maraquan Meerca Morphing Potion",
  836. "Maraquan Meerca Morphing Potion",
  837. "Maraquan Mynci Morphing Potion",
  838. "Pirate Kacheek Morphing Potion",
  839. "Fire Kacheek Morphing Potion",
  840. "Plushie Bruce Morphing Potion",
  841. "Zombie Cybunny Morphing Potion",
  842. "Faerie JubJub Morphing Potion",
  843. "Inflation Notice"
  844.          ],
  845.     "green");
  846.  
  847.     //    Add one or more words to the dictionary with a specified class
  848.  
  849.     function defwords(words, which_class) {
  850.     for (var i = 0; i < words.length; i++) {
  851.         var w = words[i].replace(/^=/, "");
  852.         patterns.push(new RegExp("([^a-zA-Z])(" + w + ")([^a-zA-Z])",
  853.         words[i].match(/^=/) ? "g" : "gi"));
  854.         classes.push(which_class);
  855.     }
  856.     }
  857.  
  858.     //    Quote HTML metacharacters in body text
  859.  
  860.     function quoteHTML(s) {
  861.     s = s.replace(/&/g, "&amp;");
  862.     s = s.replace(/</g, "&lt;");
  863.     s = s.replace(/>/g, "&gt;");
  864.     return s;
  865.     }
  866.  
  867.     //    Add one or more CSS style rules to the document
  868.  
  869.     function addGlobalStyle(css) {
  870.     var head, style;
  871.     head = document.getElementsByTagName('head')[0];
  872.     if (!head) {
  873.         return;
  874.     }
  875.     style = document.createElement('style');
  876.     style.type = 'text/css';
  877.     style.innerHTML = css;
  878.     head.appendChild(style);
  879.     }
  880.  
  881.     //    Apply highlighting replacements to a text sequence
  882.  
  883.     var curpat;             // Hidden argument to repmatch()
  884.     var changes;            // Number of changes made by repmatch()
  885.  
  886.     function repmatch(matched, before, word, after) {
  887.     changes++;
  888.     return before + '<span class="' + classes[curpat] + '">' + word + '</span>' + after;
  889.     }
  890.  
  891.     function highlight(s) {
  892.     s = " " + s;
  893.     for (curpat = 0; curpat < patterns.length; curpat++) {
  894.         s = s.replace(patterns[curpat],
  895.             repmatch);
  896.     }
  897.     return s.substring(1);
  898.     }
  899.  
  900.     //    We only modify HTML/XHTML documents
  901.     if (document.contentType &&
  902.         (!(document.contentType.match(/html/i)))) {
  903.         return;
  904.     }
  905.  
  906.     // Highlight words in body copy
  907.  
  908.     var textnodes = document.evaluate("//body//text()", document, null,
  909.         XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  910.  
  911.     for (var i = 0; i < textnodes.snapshotLength; i++) {
  912.     var node = textnodes.snapshotItem(i);
  913.     /* Test whether this text node appears within a
  914.        <style>, <script>, or <textarea> container.
  915.        If so, it is not actual body text and must
  916.        be left alone to avoid wrecking the page. */
  917.     if (node.parentNode.tagName != "STYLE" &&
  918.         node.parentNode.tagName != "TEXTAREA" &&
  919.         node.parentNode.tagName != "SCRIPT") {
  920.         /* Many documents have large numbers of empty text nodes.
  921.            By testing for them, we avoid running all of our
  922.            regular expressions over a target which they can't
  923.            possibly match. */
  924.         if (!(node.data.match(/^\s*$/))) {
  925.         var s = " " + node.data + " ";
  926.         changes = 0;
  927.         var d = highlight(quoteHTML(s));
  928.         if (changes > 0) {
  929.             var rep = document.createElement("span");
  930.             rep.innerHTML = d; //.substring(1, d.length - 1);
  931.             node.parentNode.replaceChild(rep, node);
  932.         }
  933.         }
  934.     }
  935.     }
  936.  
  937. })();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top