From a65be8a3eb37e37072f0e6d14fd8a3b82ca10da5 Mon Sep 17 00:00:00 2001 From: Alex Shubert Date: Fri, 17 Aug 2012 23:44:00 +0400 Subject: [PATCH] separating wowhead js from readme file --- readme.txt | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/readme.txt b/readme.txt index 44a8cae..9a1d0ef 100644 --- a/readme.txt +++ b/readme.txt @@ -13,22 +13,5 @@ May turn in quests with rewards and choose most expensive one for future selling that's all for now. If you feel yourself in a mood to make localization to another language, let me know through -curseforge site. - - -Short script to extract quests name from wowhead.com. Just open the list with the quest and run it through Firefox web development console. -============================ -var quests={}, _result="", x; -var area = $("div.comment-edit-body textarea"); -$("table.listview-mode-default tr").find("td:first div a").each(function (){ - if ($(this).text() != "") quests[$(this).text()]= ""; -}); -for(x in quests) { - _result += "['"+x+"']=\"\",\n" -} -if (area.length) { - area.removeAttr("disabled").val(_result); -} else { - $("body").append(''); -} -============================== \ No newline at end of file +curseforge site. If in need to populate configs with some particular quests take a look at wowhead.js. +This script used in Firefox allow to grab quests from search form. \ No newline at end of file -- 1.7.9.5